Re: Avoid not authenticated forged mail
Carlos Acedo wrote:
Once in a while I receive spam "from my own" mail address, many users
send mails to themselfs, so what I would like is to allow only
authenticated mail to be able to send mails to themselfs. Is that
Thank you in advance.
Create a file /etc/postfix/filters/sender_checks.pcre like this:
#check the From field
/^(.*)pangea\.org$/ 550 please login first
/^(.*)smothersrealty\.com$/ 554 known spammer domain
Edit smtpd_recipient_restrictions from /etc/postfix/main.cf like this:
#this is the LINE
Also make sure that mynetworks is more restrictive.
Adrian Minta MA3173-RIPE, MA314-ROTLD
tel. 0212.022.660 0726.110.369