Re: [exim] detecting a bcc message

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Karl Fischer
Ημερομηνία:  
Προς: oliverj
Υ/ο: exim-users
Αντικείμενο: Re: [exim] detecting a bcc message
oliver howe wrote:

> i get several users saying they received a message that did not contain
> their email address in the 'To' field. i am presuming that the message
> was sent to them as a 'bcc'. is there any way to tell if this was the
> case either from the mail headers or from the exim log files?



add something like this early to your acl_check_mail AND acl_check_rcpt:

warn
logwrite = DEBUG: $sender_host_address:$sender_host_port sent: $smtp_command


Then you will get log entries showing the envelope-receipient addresses:

2006-11-17 13:04:05 DEBUG: 131.111.8.41:2409 sent: MAIL FROM:<exim-users-bounces+exim-users=ficos.de@???>
2006-11-17 13:04:05 DEBUG: 131.111.8.41:2409 sent: RCPT TO:<exim-users@???>


- Karl