Hi All.

I am experiencing an issue with the following:

The scenario:
 
From: a...@site1.com
To:      b...@site2.com
CC:    m...@site3.com
 
After receiving the email CC at site 3, site 3 is sending out emails to 
everyone on the original, 
basically a duplicate email arrives to the sender and everyone in the headers.

>>a sends mail to b with me in cc.
>>m...@site3.com sends mail out to everyone in the FROM and CC upon receipt of 
>>the mail



I am asking how to stop this behavior.?


Site 3 logs and postconf follows

Logs

----------------------
Mar 14 10:27:41 mail postfix/cleanup[5265]: 10E7BE1C0A: 
message-id=<E72852EF80963148B21E9046E0C9BDC82863FEC1@mailbox-2010.SECEP.local>
Mar 14 10:27:41 mail postfix/smtpd[5269]: disconnect from localhost[127.0.0.1]
Mar 14 10:27:41 mail postfix/smtp[5266]: 44D90E014D: 
to=<edl...@cybered-corp.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=6.5, 
delays=1.7/0.02/0/4.7, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=03066-15, from 
MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 10E7BE1C0A)
Mar 14 10:27:41 mail postfix/qmgr[2179]: 44D90E014D: removed
Mar 14 10:27:41 mail postfix/smtp[5270]: 10E7BE1C0A: 
to=<edl...@cybered-corp.com>, relay=127.0.0.1[127.0.0.1]:10026, delay=0.05, 
delays=0.03/0.02/0/0, dsn=2.0.0, status=sent (250 Ok)
Mar 14 10:27:41 mail postfix/qmgr[2179]: 10E7BE1C0A: removed
Mar 14 10:27:41 mail postfix/smtpd[5272]: connect from localhost[127.0.0.1]
Mar 14 10:27:41 mail postfix/smtpd[5272]: 4B9A3E1C0A: 
client=localhost[127.0.0.1]
Mar 14 10:27:41 mail postfix/cleanup[5265]: 4B9A3E1C0A: 
message-id=<E72852EF80963148B21E9046E0C9BDC82863FEC1@mailbox-2010.SECEP.local>
Mar 14 10:27:41 mail postfix/qmgr[2179]: 4B9A3E1C0A: 
from=<avery.rob...@secep.net>, size=7049, nrcpt=3 (queue active)
Mar 14 10:27:41 mail postfix/smtpd[5272]: disconnect from localhost[127.0.0.1]
Mar 14 10:27:41 mail lmtpunix[5164]: accepted connection
Mar 14 10:27:41 mail lmtpunix[5164]: lmtp connection preauth'd as postman
Mar 14 10:27:41 mail master[5276]: about to exec /usr/lib/cyrus-imapd/lmtpd
Mar 14 10:27:41 mail lmtpunix[5276]: executed
Mar 14 10:27:41 mail lmtpunix[5164]: ptload(): fetched cache record 
(edl...@cybered-corp.com)(mark 1363263746, current 1363271261, limit 1363260461)
Mar 14 10:27:41 mail lmtpunix[5164]: ptload returning data
Mar 14 10:27:41 mail lmtpunix[5164]: using ptloaded value of: 
edl...@cybered-corp.com
Mar 14 10:27:41 mail lmtpunix[5164]: ptload(): fetched cache record 
(edl...@cybered-corp.com)(mark 1363263746, current 1363271261, limit 1363260461)
Mar 14 10:27:41 mail lmtpunix[5164]: ptload returning data
Mar 14 10:27:41 mail lmtpunix[5164]: using ptloaded value of: 
edl...@cybered-corp.com
Mar 14 10:27:41 mail lmtpunix[5164]: Delivered: 
<E72852EF80963148B21E9046E0C9BDC82863FEC1@mailbox-2010.SECEP.local> to mailbox: 
cybered-corp.com!user.edlang
Mar 14 10:27:41 mail lmtpunix[5164]: USAGE edlang user: 0.011998 sys: 0.016997
Mar 14 10:27:41 mail postfix/lmtp[5273]: 4B9A3E1C0A: 
to=<edl...@cybered-corp.com>, relay=mail.avnoc.com[/var/lib/imap/socket/lmtp], 
delay=0.15, delays=0.04/0.03/0/0.08, dsn=2.1.5, status=sent (250 2.1.5 Ok 
SESSIONID=<mail.avnoc.com-5164-1363271261-1>)

Here is where it looks like upon receipt of the original email we are sending 
mail back out

Mar 14 10:27:41 mail postfix/smtp[5274]: 4B9A3E1C0A: enabling PIX workarounds: 
disable_esmtp delay_dotcrlf for spamtrap1a.nps.k12.va.us[216.54.48.8]:25
Mar 14 10:27:41 mail postfix/smtp[5275]: 4B9A3E1C0A: 
to=<crawford.ch...@secep.net>, relay=mail.secep.net[216.54.45.133]:25, 
delay=0.42, delays=0.04/0.06/0.1/0.23, dsn=2.0.0, status=sent (250 Ok: queued 
as AD9CA2B8C073)
Mar 14 10:27:43 mail postfix/smtp[5274]: 4B9A3E1C0A: to=<rda...@nps.k12.va.us>, 
relay=spamtrap1a.nps.k12.va.us[216.54.48.8]:25, delay=2, 
delays=0.04/0.03/0.23/1.7, dsn=2.0.0, status=sent (250 2.0.0 r2EERf48009708 
Message accepted for delivery)
Mar 14 10:27:43 mail postfix/qmgr[2179]: 4B9A3E1C0A: removed


PostConf Output
----------------------------

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
html_directory = no
inet_interfaces = all
inet_protocols = all
local_recipient_maps = ldap:/etc/postfix/ldap/local_recipient_maps.cf
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = ldap:/etc/postfix/ldap/mydestination.cf
mynetworks = 127.0.0.0/8, 10.0.0.0/8
mynetworks_style = host
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES
sample_directory = /usr/share/doc/postfix-2.6.6/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_pipelining, 
reject_rbl_client zen.spamhaus.org, reject_non_fqdn_recipient, 
reject_invalid_helo_hostname, reject_unknown_recipient_domain, 
reject_unauth_destination, check_policy_service 
unix:private/recipient_policy_incoming, permit
smtpd_sender_restrictions = permit_mynetworks, check_policy_service 
unix:private/sender_policy_incoming
smtpd_tls_auth_only = yes
smtpd_tls_cert_file = /etc/pki/tls/private/localhost.pem
smtpd_tls_key_file = /etc/pki/tls/private/localhost.pem
transport_maps = ldap:/etc/postfix/ldap/transport_maps.cf
unknown_local_recipient_reject_code = 550
virtual_alias_maps = $alias_maps, ldap:/etc/postfix/ldap/virtual_alias_maps.cf, 
ldap:/etc/postfix/ldap/mailenabled_distgroups.cf, 
ldap:/etc/postfix/ldap/mailenabled_dynamic_distgroups.cf, 
hash:/etc/postfix/virtual







>________________________________
> From: Larry Stone <lston...@stonejongleux.com>
>To: "postfix-users@postfix.org Users" <postfix-users@postfix.org> 
>Sent: Tuesday, March 19, 2013 9:52 AM
>Subject: Re: Duplicate Emails Sent
> 
>On Tue, 19 Mar 2013, Ed wrote:
>
>> I have control over the site3 SMTP where the problem is. It is recent
>> installation, late last year.  Is there a rule in postfix that i
>> missed perhaps?
>
>Then please follow the directions you received when you joined the list and 
>include the "postconf -n" output from site3 as well as a log snippet showing 
>the problem. Include both the initial receipt of the message from site1 and 
>the sending of the message back out to the sender and all the recipients. At 
>this point, you should probably also restate your problem since many people do 
>not save every message and would not have your initial statement of the 
>problem.
>
>-- Larry Stone
>  lston...@stonejongleux.com
>
>

Reply via email to