Hi, I’m hoping someone can help me figure this out. I’ve been working on it for a few hours and haven’t had any luck.
I’ve had some problems lately with someone sending e-mail to my domain with a from address from my domain. I was thinking the best way to prevent outside spam from email@domain.com to email@domain.com would be to enable the reject_sender_login_mismatch option. I set smtpd_sender_login_maps = hash:/etc/postfix/virtual, but there is a minor problem with the virtual file. All the addresses (email@domain.com) are mapped to user names without the @ (email-domain.com), so every time I try to send mail, it says that email@domain.com is not owned by email@domain.com because it things email@domain.com is owned by email-domain.com.
How can I fix this without having to completely re-install everything?
Thanks in advance,
Jeff