Per Jessen wrote:
Koenraad Lelong wrote:
On 10-05-12 15:49, The_Ace wrote:
On Thu, May 10, 2012 at 3:42 PM, Koenraad Lelong
wrote: [snip] Anyway, change the smtpd_recipient_restrictions to : smtpd_recipient_restrictions = reject_non_fqdn_sender, permit_mynetworks,permit_sasl_authenticated, check_policy_service unix:postgrey/socket,reject_unauth_destination,reject_rbl_client zen.spamhaus.org and see if that rectifies the problem.
Hi,
I hadn't time to respond, but it's not working. I'll append the new postconf.
I'm not 100% sure, but I don't think reject_non_fqdn_sender will reject emails coming from <@example.com>, i.e. with empty user. 'fqdn' = fully qualified domain name. Instead, the rejection mighthappen when the mail is attempted delivered to an unknown mailbox.
Ignore that last bit, I was obviously not thinking. Anyway, I've tested my setup with a sender address of <@example.com> and it is also let through, but afaict only because something (probably postfix) changes the address to <""@example.com>. If you really want to reject such addresses, I think you need to look at using smtpd_sender_restrictions:check_sender_access A sender_access table to check for <@example.com> could be: ----- @ REJECT ----- I'm not sure that works, but it's worth a try. Alternatively, use a PCRE table: ----- /^@[^@]+$/ REJECT ----- (this one works, I've tested it). -- Per Jessen, Zürich (15.4°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org