PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Logiciels d'hébergement > comp.mail.sendmail > Can Local Delivery Be Made To Obey access.db?
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.mail.sendmail Configuring and using the BSD sendmail agent.

Can Local Delivery Be Made To Obey access.db?

Réponse
 
LinkBack Outils de la discussion
Vieux 20/10/2006, 23h22   #1
Tim Daneliuk
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Can Local Delivery Be Made To Obey access.db?

Suppose you're running a single domain, bar.com, and you want to disable
mail to a particular user whose mailbox is too large. I want to do this
by adding this to the sendmail access file:


foo@bar.com 451 User's Mailbox Is Full - Try Again Later

This is fine when the mail comes from *outside* the box (a FreeBSD 4.11-stable
machine). But ... when mail originates *on* the box - say from a shell
account - the mail is delivered locally and appears to bypass sendmail
access processing. Is there a way to force the locally initiated mail to
work the same way as remotely initiated mail?

TIA,
--
----------------------------------------------------------------------------
Tim Daneliuk tundra@tundraware.com
PGP Key: http://www.tundraware.com/PGP/
  Réponse avec citation
Vieux 20/10/2006, 23h44   #2
Andrzej Adam Filip
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Can Local Delivery Be Made To Obey access.db?

Tim Daneliuk <tundra@tundraware.com> writes:

> Suppose you're running a single domain, bar.com, and you want to disable
> mail to a particular user whose mailbox is too large. I want to do this
> by adding this to the sendmail access file:
>
>
> foo@bar.com 451 User's Mailbox Is Full - Try Again Later
>
> This is fine when the mail comes from *outside* the box (a FreeBSD 4.11-stable
> machine). But ... when mail originates *on* the box - say from a shell
> account - the mail is delivered locally and appears to bypass sendmail
> access processing. Is there a way to force the locally initiated mail to
> work the same way as remotely initiated mail?


Which sendmail version do you use?

In sendmail 8.12.0+ installed as not set root id (default) message sent
locally to such "tmp blocked" address stays in client queue.

http://www.sendmail.org/security/secure-install.php

--
[pl2en: Andrew] Andrzej Adam Filip : anfi@priv.onet.pl : anfi@xl.wp.pl
  Réponse avec citation
Vieux 21/10/2006, 06h10   #3
Tim Daneliuk
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Can Local Delivery Be Made To Obey access.db?

Andrzej Adam Filip wrote:
> Tim Daneliuk <tundra@tundraware.com> writes:
>
>> Suppose you're running a single domain, bar.com, and you want to disable
>> mail to a particular user whose mailbox is too large. I want to do this
>> by adding this to the sendmail access file:
>>
>>
>> foo@bar.com 451 User's Mailbox Is Full - Try Again Later
>>
>> This is fine when the mail comes from *outside* the box (a FreeBSD 4.11-stable
>> machine). But ... when mail originates *on* the box - say from a shell
>> account - the mail is delivered locally and appears to bypass sendmail
>> access processing. Is there a way to force the locally initiated mail to
>> work the same way as remotely initiated mail?

>
> Which sendmail version do you use?


8.13.8 not running set root id.

>
> In sendmail 8.12.0+ installed as not set root id (default) message sent
> locally to such "tmp blocked" address stays in client queue.
>
> http://www.sendmail.org/security/secure-install.php



Hmmm ... that's not the behavior I am seeing. Upon further investigation
I discovered that the line above needed to be changed to:

foo@ 451 User's Mailbox Is Full ....


That's because mail initiated locally is actually sent to foo@localmachinename.bar.com
which the first rule misses but the second one catches.

However, in no circumstance did I see the behavior you describe - i.e., A message
rejected by an access database rule getting left in the inbound queue.

Does this make sense to you?

Thanks for your time,
----------------------------------------------------------------------------
Tim Daneliuk tundra@tundraware.com
PGP Key: http://www.tundraware.com/PGP/
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 22h37.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,10752 seconds with 11 queries