On 06/05/2009 02:25 AM Peter Smith wrote:
> Hi,
> 
> I know this is well documented and is now the default in postfix, but I'm
> tearing my hair out trying to figure out why it won't work with my setup.
> 
> If I telnet to my mail server, anyth...@mydomain.com is accepted. If I
> turn up the logging verbosity, I see:

How do you telnet to your server?
`telnet localhost 25`?

> maps_find: virtual_alias_maps: @mydomain.com: not found
> mail_addr_find: sdf...@mydomain.com -> (not found)
> generic_checks: name=reject_unlisted_recipient status=0
> 
> So it's not finding the recipient user, but the reject_unlisted_recipient
> check is returning false ... correct?
> 
> I didn't want to post the full 400 line output of postconf unsolicited,
> but hopefully the following are the important bits:

Please provide the `postconf -n` output.

> 
> smtpd_recipient_restrictions = permit_mynetworks,
> permit_sasl_authenticated, ,reject_unauth_destination,
> reject_non_fqdn_sender, reject_invalid_hostname,
> reject_unknown_sender_domain, reject_rbl_client bl.spamcop.net,
> reject_rbl_client sbl.spamhaus.org, reject_unlisted_recipient

If you are connecting via the loopback device or LAN connection
`permit_mynetworks` may match. (show: postconf -n)
You should also move 'reject_unlisted_recipient' before RBL checks, to
avoid expensive and useless checks


Regards,
Pascal
-- 
The trapper recommends today: c01dcafe.0915...@localdomain.org

Reply via email to