In
this example, the mailing lists are handled on a machine different from that on which
outside mail is received. On the receiving machine, you would put lines such as these
in your access database:
board@our.domain 550 Outside access to private mailing list banned
accounting@our.domain 550 Outside access to private mailing list banned
401k-help@our.domain 550 Outside access to private mailing list banned
By declaring this FEATURE(blacklist_recipients), these addresses will be prevented
from receiving outside mail.
All forms of addresses in the access database can be used for this recipient rejection.
Consider:
To:badguy@ ERROR:550 Mailbox disabled for this user
To:host.our.domain ERROR:550 This machine bans email
To:123.45.67.89 ERROR:550 Printers cannot receive email
Be careful when rejecting recipients based on the username alone, as in the first line
in this example, because the username is rejected for both the envelope sender and
the envelope recipient. Thus, this line will reject mail to both badguy locally, and
from badguy at all other sites in the world.
7.5.6 Accept and Reject per Recipient
When a connection is made to your site by another, the access database is checked to
reject unwanted connections.* It is checked again when the SMTP MAIL From: command
is given to accept or reject the envelope sender. It is checked a third time when
the SMTP RCPT To: command is given to accept or reject the envelope recipient, and
prevent unwanted relaying.
Pages:
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527