This is a discussion on Postfix - rejecting unknown local users. within the alt.comp.mail.postfix forums, part of the Mail Servers and Related category; Hi, I believe there is a simple solution to my problem however I possibly can't find it :/ What I ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi,
I believe there is a simple solution to my problem however I possibly can't find it :/ What I want is to have postfix accept mail for non-existent local recipient and then in the second phase reject it with a proper info to local sender. Default postfix behaviour is to block such messages when one's trying to send them. Here's what I've found in docs: (..) To disable the local_recipient_maps feature, specify: /etc/postfix/main.cf: local_recipient_maps = With this setting, the Postfix SMTP server will not reject mail for unknown local recipients. (..) Well, it ain't work. I've also tried combinations with luser_relay setting such as: luser_relay = $user@local.domain.com or luser_relay = $recipient@local.domain.com No luck, here. Maybe this got sth to do with my sasl config, but I couldn't google it out: smtpd_client_restrictions = hash:/etc/mail/access smtpd_sasl_auth_enable = yes broken_sasl_auth_clients = yes smtpd_sasl_security_options = noanonymous smtpd_recipient_restrictions = permit_mynetworks, reject_maps_rbl, check_client_access hash:/etc/mail/access, check_sender_access hash:/etc/mail/access, permit_sasl_authenticated, check_relay_domains smtpd_sender_restrictions = reject_unknown_sender_domain, check_sender_access hash:/etc/mail/access Thanks for any clues. PeDe |
![]() |
| Thread Tools | |
| Display Modes | |
|
|