|
|
|
|
||||||
| comp.mail.sendmail Configuring and using the BSD sendmail agent. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
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/ |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
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/ |
|
![]() |
| Outils de la discussion | |
|
|