Discussion:
server sending duplicate emails?
Kirk Rogers
2014-02-24 22:58:12 UTC
Permalink
im getting some recipients complaining that they are receiving 2
duplicate emails from our server. the log files are showing this:

2014-02-24 14:44:03.969951500 status: local 0/10 remote 0/250
2014-02-24 14:44:05.972037500 starting delivery 5421506: msg 394351 to
remote ***@erhome.com
2014-02-24 14:44:05.972045500 status: local 0/10 remote 1/250
2014-02-24 14:44:05.972098500 starting delivery 5421507: msg 394351 to
remote ***@erhome.com
2014-02-24 14:44:05.972100500 status: local 0/10 remote 2/250
2014-02-24 14:44:09.976205500 starting delivery 5421508: msg 394923 to
remote ***@lyPD.com
2014-02-24 14:44:09.976216500 status: local 0/10 remote 3/250
2014-02-24 14:44:09.976266500 starting delivery 5421509: msg 394923 to
remote ***@lyPD.com
2014-02-24 14:44:09.976267500 status: local 0/10 remote 4/250

when i send a test to myself, i dont see any dups. are the log file
entry from above showing the server is in fact sending 2 emails to each
recipient?

k
Andy Bradford
2014-02-25 03:18:44 UTC
Permalink
Post by Kirk Rogers
2014-02-24 14:44:03.969951500 status: local 0/10 remote 0/250
2014-02-24 14:44:05.972037500 starting delivery 5421506: msg 394351 to
2014-02-24 14:44:05.972045500 status: local 0/10 remote 1/250
2014-02-24 14:44:05.972098500 starting delivery 5421507: msg 394351 to
This certainly could be normal if ***@erhome.com was listed twice in
the recipient list. It's hard to tell from this log since it only
represents the local delivery.

You could turn on SMTP session capturing using recordio (if they are
injected via SMTP), or you could simply turn off qmail-send and look at
the recipient list in /var/qmail/queue/intd/XXX and see if there are two
listed there.

At any rate, you need more information to determine if there is actually
a problem.

Andy
--
TAI64 timestamp: 40000000530c0bb7
Thibault Richard
2014-02-25 08:04:30 UTC
Permalink
Hello,

You can find a sample of mail debugging in
http://qmailrocks.thibs.com/tracking.php and
http://qmailrocks.thibs.com/maybe-recordio.php

Best Regards

Thibault



-----Original Message-----
From: Andy Bradford
[mailto:amb-sendok-***@bradfords.org]
Sent: Tuesday 25 February 2014 04:19
To: Kirk Rogers
Cc: qmail list
Subject: Re: server sending duplicate emails?
Post by Kirk Rogers
2014-02-24 14:44:03.969951500 status: local 0/10 remote 0/250
2014-02-24 14:44:05.972037500 starting delivery 5421506: msg 394351 to
2014-02-24 14:44:05.972045500 status: local 0/10 remote 1/250
2014-02-24 14:44:05.972098500 starting delivery 5421507: msg 394351 to
This certainly could be normal if ***@erhome.com was listed twice in the
recipient list. It's hard to tell from this log since it only
represents the local delivery.

You could turn on SMTP session capturing using recordio (if they are
injected via SMTP), or you could simply turn off qmail-send and look at the
recipient list in /var/qmail/queue/intd/XXX and see if there are two listed
there.

At any rate, you need more information to determine if there is actually a
problem.

Andy
--
TAI64 timestamp: 40000000530c0bb7
Erwin Hoffmann
2014-02-25 08:24:32 UTC
Permalink
Hi,

assuming only one recipients per mail, duplicate mails are an indication
that the filesystem is corrupted, thus qmail-queue can't unlink the files
properly.
Post by Kirk Rogers
im getting some recipients complaining that they are receiving 2
2014-02-24 14:44:03.969951500 status: local 0/10 remote 0/250
2014-02-24 14:44:05.972037500 starting delivery 5421506: msg 394351 to
2014-02-24 14:44:05.972045500 status: local 0/10 remote 1/250
2014-02-24 14:44:05.972098500 starting delivery 5421507: msg 394351 to
2014-02-24 14:44:05.972100500 status: local 0/10 remote 2/250
2014-02-24 14:44:09.976205500 starting delivery 5421508: msg 394923 to
2014-02-24 14:44:09.976216500 status: local 0/10 remote 3/250
2014-02-24 14:44:09.976266500 starting delivery 5421509: msg 394923 to
2014-02-24 14:44:09.976267500 status: local 0/10 remote 4/250
when i send a test to myself, i dont see any dups. are the log file
entry from above showing the server is in fact sending 2 emails to each
recipient?
It would certainly a good idea to bring the server down for a short period
and perform a fschk on /var (or wherever your queue is located).

regards.
--eh.
Post by Kirk Rogers
k
--
Dr. Erwin Hoffmann | FEHCom | http://www.fehcom.de/ | PGP-Key-Id: 7E4034BE
Loading...