Scappatura Rocco: > Hello. > > My mail server received unsollecited emails with header From: similar to > 'Heidi <info>'. > > Users perceive that email comes from our company as the header From: has been > rewrite in 'Heidi <[email protected]>'. > > Infact: > > myorigin = $mydomain > mydomain = host.domain.tld > > and > > append_at_myorigin = yes > local_header_rewrite_clients = permit_inet_interfaces > > Is there a way to block incoming e-mails whose 'Header From:' does not > specify valid email address? >
Perhaps the following will do the job: /etc/postfix/main.cf: remote_header_rewrite_domain = domain.invalid but it may have no effect on an smtpd_proy_filter based content filter. See also: http://www.postfix.org/postconf.5.html#remote_header_rewrite_domain http://www.postfix.org/postconf.5.html#local_header_rewrite_clients Wietse
