Reject mails from "from:<>" (empty email address)

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
javii
Posts: 1
Joined: Thu Jan 18, 2018 12:06 pm

Reject mails from "from:<>" (empty email address)

Post by javii »

Hi, I'm trying to reject mails with empty email but I am not able to.

[root@access ~]# telnet xxxxxxxxxx 25
Connected to xxxxxxxxxxxx
Escape character is '^]'.
220 xxxxxxxxx ESMTP Postfix
ehlo example.com
250-xxxxxxxxxx
250-PIPELINING
250-SIZE 51200000
250-VRFY
250-ETRN
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN

mail from: <>
250 2.1.0 Ok

rcpt to: xxxxxxxxx@xxxxxxx.com
250 2.1.5 Ok

data
354 End data with <CR><LF>.<CR><LF>
.
250 2.0.0 Ok: queued as 8CC1A25C077B


Any idea? Kind regards.
User avatar
fs.schmidt
Outstanding Member
Outstanding Member
Posts: 278
Joined: Sat Sep 13, 2014 3:37 am
Location: Brazil
Contact:

Re: Reject mails from "from:<>" (empty email address)

Post by fs.schmidt »

Hi,

You could follow the example (some changes needed) given in this thread:

http://postfix.1071664.n5.nabble.com/re ... 83425.html
support@it-sakh.net
Posts: 5
Joined: Sun Jan 21, 2018 8:40 am

Re: Reject mails from "from:<>" (empty email address)

Post by support@it-sakh.net »

zmprov mcf zimbraMtaSmtpdRejectUnlistedRecipient yes
zmprov mcf zimbraMtaSmtpdRejectUnlistedSender yes
zmmtactl restart
zmconfigdctl restart

https://wiki.zimbra.com/wiki/Rejecting_ ... _addresses
Post Reply