[SOLVED] How to restrict senders at the "mail from" command?
Zimbra is great, but it have serious and annoying problems... :mad:
For example: I have one Zimbra server for the domain "mycompany.com", but any user of my system can send a e-mail as firstname.lastname@example.org or email@example.com through MY ZIMBRA MTA! This is so bad... SO BAD! It is terrible, any good mail server does not allow such things happen... never!
So, how do I restrict the "mail from" command to allow outgoing mails ONLY FROM the domains configured at MY ZIMBRA?!
I'm looking for smtpd_sender_restrictions option at the file zmmta.cf, I'm trying everything to block this behavior, without success...
Option "Allow sending email from any address" not working!
I have one Zimbra server for the domain "company.com.br", but any user of my system can send a e-mail as, for example, "firstname.lastname@example.org" or even "email@example.com" through my Zimbra MTA!!!
So, how do I restrict the "mail from: <>" command at the smtp time, to allow outgoing mails ONLY FROM the domains configured at my Zimbra Admin Panel?!
administrativo@vsrv67:~$ telnet vsrv69.company.com.br 25
Connected to vsrv69.company.com.br.
Escape character is '^]'.
220 vsrv69.company.com.br ESMTP Postfix
mail from: firstname.lastname@example.org
250 2.1.0 Ok
WRONG!!! This is NOT OKAY!
Only the domain "company.com.br" is ok here!
How to block this Zimbra behavior?
Please, I need to solve this today!!!
I guess the option "Allow sending email from any address" isn't working!