I do this but it only works for rejecting a forged envelope. It doesn't work if it's only a forged From header which the example shows.
Does anyone know of a way to handle this type of scenario, where the envelope From is valid and the From header is forged and typically matches the To header? Mike Wallace m...@mlrw.com On Jan 12, 2010, at 3:20 PM, Kai Schaetzl wrote: > Callum Millard wrote on Tue, 12 Jan 2010 18:17:44 +0000: > >> Postfix > > Postfix? Easy. > > smtpd_sender_restrictions = permit_mynetworks, permit_sasl_authenticated, > check_recipient_access hash:/etc/mail/allow_recipients, > reject_non_fqdn_sender, reject_unknown_sender_domain, check_sender_access > hash:/etc/mail/access, check_sender_access > hash:/etc/mail/disallow_my_domains > > Note the last one! > > > Kai > > -- > Get your web at Conactive Internet Services: http://www.conactive.com > > > > > > This message has been scanned for viruses and dangerous content by > MailScanner, and is believed to be clean. >