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 firstname.lastname@example.org to email@example.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 (firstname.lastname@example.org) are mapped to user names without the @ (email-domain.com), so every time I try to send mail, it says that email@example.com is not owned by firstname.lastname@example.org because it things email@example.com is owned by email-domain.com.
How can I fix this without having to completely re-install everything?
Thanks in advance,