On Fri, Aug 30, 2013 at 2:44 PM, Wietse Venema <wie...@porcupine.org> wrote:
> Jean-S?bastien Nicaise: > > I'm verifying the sender email (mail from:) of mails sent from local > users, > > not the recipient email (rcpt to:). > > In that case. > > /etc/postfix/main.cf: > smtpd_reject_unlisted_sender = yes > > This turns on "used unknown" tests for for MAIL FROM addresses. > > Wietse > This does look like what I need, although it is not working. Mail still goes through. Aug 30 15:11:15 mail01 postfix/qmgr[18491]: E05B660373: from=< t...@yasdsdfdf.net>, size=2755, nrcpt=1 (queue active) Aug 30 15:11:16 mail01 postfix/smtp[18536]: E05B660373: to=<*REMOVED*>, relay=gmail-smtp-in.l.google.com[173.194.74.27]:25, delay=0.95, delays=0.02/0.01/0.3/0.62, dsn=2.0.0, status=sent (250 2.0.0 OK 1377889894 g8si4772232qam.41 - gsmtp)