I'm not seeing a doubling up that could happen if two internal processes both write the email into Maildir. I'm seeing 4x deliveries for a single email in the /var/log/qmail/smtp/current logfile.
I've upgraded my qmail version today, and will run more tests to get the clean capture that Eric has asked for. On Wed, Aug 5, 2020 at 2:20 PM David Bray <da...@brayworth.com.au> wrote: > I've noticed this too > Could there be a bug in qmailadmin / mailfilter here > > By default there is no .qmail in a users folder and editing the account > does not create one .. but qmailadmin does maintain it. > > if you install dspam > > https://raw.githubusercontent.com/qmtoaster/dspam/ > > > it creates the .qmail as a result > > |/var/qmail/bin/preline /usr/bin/maildrop -A 'Content-Filter: > maildrop-toaster' /etc/mail/mailfilter > > > if you then edit the account > > |/var/qmail/bin/preline /usr/bin/maildrop -A 'Content-Filter: > maildrop-toaster' /etc/mail/mailfilter > /home/vpopmail/domains/brayworth.com/[user]/Maildir/ > <http://brayworth.com/%5Buser%5D/Maildir/> > > > which results in a double up of delivery ... > > David Bray > 0418 745334 > 2 ∞ & < > > > On Wed, 5 Aug 2020 at 08:53, Chris <boh...@gmail.com> wrote: > >> Working on extracting some clean logs. One thing I'm noticing is that >> the two repeats I've had recently were both from amazonses.com and were >> TLS encrypted. >> >> -Chris >> >> On Thu, Jul 30, 2020 at 6:44 AM Eric Broch <ebr...@whitehorsetc.com> >> wrote: >> >>> It's be nice to have the smtp log and the email header. >>> On 7/29/2020 12:40 PM, Chris wrote: >>> >>> I've had some recent repeats, but haven't had a chance to dig them out >>> of the logs yet. I'll try to find time to do that tonight. >>> >>> On Thu, Jul 30, 2020 at 2:14 AM Eric Broch <ebr...@whitehorsetc.com> >>> wrote: >>> >>>> Hi Chris, >>>> >>>> Did you save any of the SMTP logs for those messages that were >>>> re-delivered and email headers? >>>> >>>> Eric >>>> On 7/17/2020 7:09 PM, Chris wrote: >>>> >>>> As soon as I have something useful from recordio I'll post it. >>>> >>>> On Thu, Jul 16, 2020 at 6:54 AM Eric Broch <ebr...@whitehorsetc.com> >>>> wrote: >>>> >>>>> Can you tell me what the log shows for one of these messages? >>>>> On 7/15/2020 12:42 PM, Eric Broch wrote: >>>>> >>>>> And, what version of qmail? >>>>> On 7/15/2020 12:41 PM, Eric Broch wrote: >>>>> >>>>> Did you turn on recordio? >>>>> On 7/15/2020 11:33 AM, Boheme wrote: >>>>> >>>>> Nope. It’s insanely random. >>>>> >>>>> -Sent from my Pip-Boy 3000 >>>>> >>>>> On 16/07/2020, at 5:27 AM, Eric Broch <ebr...@whitehorsetc.com> >>>>> <ebr...@whitehorsetc.com> wrote: >>>>> >>>>> >>>>> >>>>> Can you repeat this error at will? >>>>> On 7/10/2020 2:15 AM, Chris wrote: >>>>> >>>>> I've disabled spamdyke, the source of the 421 timeout error; but I'm >>>>> still getting re-delivery of emails. Not as frequently, but I've received >>>>> the same two emails a dozen times today. >>>>> >>>>> Has anyone else experienced this before? >>>>> >>>>> -Chris >>>>> >>>>> On Tue, Jun 30, 2020 at 7:30 AM Chris <boh...@gmail.com> wrote: >>>>> >>>>>> A few nights ago I shut down the VM that my qmailtoaster runs on, >>>>>> bumped the memory up to 4g, and restarted it. First reboot in a long >>>>>> while, so I was nervous. Everything seemed fine. >>>>>> >>>>>> The next day I noticed that there were a couple of emails I had >>>>>> deleted that had re-appeared. I'd delete them again, and they'd come >>>>>> back >>>>>> again. My mail client shows date sent and date received, and they were >>>>>> definitely all the same sender time. Checking the logs, I see the same >>>>>> set >>>>>> of email being re-accepted in /var/log/qmail/smtp/current over and over. >>>>>> >>>>>> Finally I have a clue. Gmail sent me a delivery warning about one of >>>>>> the emails, as it was a test message from myself, and it says my server >>>>>> is >>>>>> responding with error: >>>>>> >>>>>> 421 Timeout. Talk faster next time. >>>>>> >>>>>> So it seems the email is getting accepted, but then the sending >>>>>> server is given an error 421, so it queues it up for re-delivery. >>>>>> >>>>>> Any suggestions on what I should be looking at to figure this out? >>>>>> >>>>>> -Chris >>>>>> >>>>>