mirror of
https://github.com/vdukhovni/postfix
synced 2025-08-30 13:48:06 +00:00
snapshot-19990912
This commit is contained in:
@@ -42,18 +42,9 @@ That should stop a lot of the mail to non-existent recipients. It
|
|||||||
won't stop mail to broken aliases or to users with broken .forward
|
won't stop mail to broken aliases or to users with broken .forward
|
||||||
files, though.
|
files, though.
|
||||||
|
|
||||||
For a relaying site, the best we can do is something like:
|
For a relaying site, a good configuration with permit_recipient_map
|
||||||
|
still needs to be found. Something that permits relaying to all
|
||||||
smtpd_recipient_restrictions =
|
sites except $mydestination.
|
||||||
permit_mynetworks
|
|
||||||
reject_unauth_destination
|
|
||||||
reject_unknown_sender_domain
|
|
||||||
...other checks to reject non-FQDN, RBL, access maps...
|
|
||||||
permit_recipient_map unix:passwd.byname
|
|
||||||
permit_recipient_map hash:/etc/canonical
|
|
||||||
permit_recipient_map hash:/etc/postfix/virtual
|
|
||||||
permit_recipient_map hash:/etc/aliases
|
|
||||||
reject
|
|
||||||
|
|
||||||
Unfortunately, permit_recipient_map does not combine well with
|
Unfortunately, permit_recipient_map does not combine well with
|
||||||
permit_mynetworks, because permit_mynetworks accepts mail for
|
permit_mynetworks, because permit_mynetworks accepts mail for
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
* Version of this program.
|
* Version of this program.
|
||||||
*/
|
*/
|
||||||
#define VAR_MAIL_VERSION "mail_version"
|
#define VAR_MAIL_VERSION "mail_version"
|
||||||
#define DEF_MAIL_VERSION "Snapshot-19990911"
|
#define DEF_MAIL_VERSION "Snapshot-19990912"
|
||||||
extern char *var_mail_version;
|
extern char *var_mail_version;
|
||||||
|
|
||||||
/* LICENSE
|
/* LICENSE
|
||||||
|
Reference in New Issue
Block a user