On Sat Feb 06 2016 16:46:37 Wietse Venema       <[email protected]> said:
> 
> Use sender_bcc_maps if all you really want is to add an extra address.

Oh. I didn’t know about that. But there seems to be an underlying issue.

Here is the log with minimal munging for using either header_checks or 
check_sender_access:

Feb  6 17:04:08 mail submit-tls/smtpd[17045]: 3pyW1N4JB1zJMjC: *stuff*, 
sasl_method=PLAIN, sasl_username=kreme
Feb  6 17:04:08 mail postfix/cleanup[17047]: 3pyW1N4JB1zJMjC: redirect: header 
From: [email protected] from *stuff* from=<[email protected]> 
to=<[email protected]> proto=ESMTP helo=<[10.0.0.125]>: [email protected]
Feb  6 17:04:08 mail postfix/cleanup[17047]: 3pyW1N4JB1zJMjC: 
message-id=<[email protected]>
Feb  6 17:04:08 mail postfix/qmgr[16990]: 3pyW1N4JB1zJMjC: 
from=<[email protected]>, size=1165, nrcpt=2 (queue active)
Feb  6 17:04:08 mail postfix/pipe[17048]: 3pyW1N4JB1zJMjC: 
to=<[email protected]>, orig_to=<[email protected]>, relay=dovecot, delay=0.11, 
delays=0.08/0.01/0/0.02, dsn=5.1.1, status=bounced (user unknown)
Feb  6 17:04:08 mail postfix/bounce[17050]: 3pyW1N4JB1zJMjC: sender 
non-delivery notification: 3pyW1N4xXKzJMjH
Feb  6 17:04:08 mail postfix/qmgr[16990]: 3pyW1N4JB1zJMjC: removed


# postmap -q [email protected] hash:/etc/postfix/virtual 
[email protected],[email protected],[email protected]

The address I am redirecting to is getting sent to dovecot without hitting 
virtual. This happens if the redirect is done via sender_access.pcre or 
header_checks.pcre or sender_bcc_maps.

(Postfix 3.0.3)

-- 
WHO KNOWS WHAT EVIL LURKS IN THE HEART OF MEN?  The Death of Rats looked
up from the feast of potato. SQUEAK, he said. Death waved a hand
dismissively. WELL, YES, OBVIOUSLY *ME*, he said. I JUST WONDERED IF
THERE WAS ANYONE ELSE. --The Truth

Reply via email to