Mailing List Archive

server sending duplicate emails?
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 bfol@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 bfol@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 525@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 525@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
Re: server sending duplicate emails? [ In reply to ]
Thus said Kirk Rogers on Mon, 24 Feb 2014 14:58:12 -0800:

> 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 bfol@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 bfol@erhome.com

This certainly could be normal if bfol@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
RE: server sending duplicate emails? [ In reply to ]
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-1395890325.pgnnggdbbebdhocficom@bradfords.org]
Sent: Tuesday 25 February 2014 04:19
To: Kirk Rogers
Cc: qmail list
Subject: Re: server sending duplicate emails?

Thus said Kirk Rogers on Mon, 24 Feb 2014 14:58:12 -0800:

> 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 bfol@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 bfol@erhome.com

This certainly could be normal if bfol@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
Re: server sending duplicate emails? [ In reply to ]
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.

--On 24. Februar 2014 14:58:12 -0800 Kirk Rogers <kirk@icapsolutions.com>
wrote:

> 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 bfol@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 bfol@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 525@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 525@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?
>

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.

> k
>
>



--
Dr. Erwin Hoffmann | FEHCom | http://www.fehcom.de/ | PGP-Key-Id: 7E4034BE