Koozali.org: home of the SME Server

Repeated Emails

ztasevski

Repeated Emails
« on: July 14, 2006, 09:13:30 AM »
Hi Everyone,

Setup: ISP forward MX to SME7 rc2 forwards to Exchange 2003

I do not know if it is just a horrible coincidence but we have had a few instances of repeted emails coming through to the Exchange server. Previously running SME6 and the issue only started happening after upgrade to SME7.

Anyone had a similar problem?

Zoran

Offline ldkeen

  • *
  • 405
  • +0/-0
Repeated Emails
« Reply #1 on: July 14, 2006, 11:29:41 AM »
Hey Zoran,
How have you been?? Could it possibly be this:
http://bugs.contribs.org/show_bug.cgi?id=735
If so, here is the workaround:

Code: [Select]
rm /etc/e-smith/templates-user-custom/.qmail/e-smithForward20
signal-event post-upgrade
signal-event reboot

Regards Lloyd

ztasevski

Repeated Emails
« Reply #2 on: July 15, 2006, 12:02:03 AM »
G'day Lloyd,

You are right I did not search bugzilla :-(

Been flat chat actually looking forward to some holidays soon. How about about you?

I just checked and there's no files in:

[root@tricky templates-user-custom]# pwd
/etc/e-smith/templates-user-custom
[root@tricky templates-user-custom]# ls -laR
.:
total 8
drwxr-xr-x   2 root root 4096 Mar  2 17:26 .
drwxr-xr-x  17 root root 4096 Jul 12 18:21 ..
[root@tricky templates-user-custom]#

By the way this is a clean install no upgrade or restore from desktop. The mailbox that it's happening to does not even have an account on the server only on the exchange. Hhhmmm

Offline mmccarn

  • *
  • 2,656
  • +10/-0
Repeated Emails
« Reply #3 on: July 16, 2006, 03:28:42 PM »
I read something somewhere (sorry to be so unhelpful) about either qpsmtpd+spamd or greylisting causing duplicate emails as follows:

- sender connects, sends message, SME performs spam check before returning "250 OK" message - sender gives up before getting "250 OK" and re-sends the same message.

From this description it would have to be qpsmtpd+spamd causing problems.  Sadly, I was reading as much as I could about greylisting, qpsmtpd, etc, etc last week and can't remember where I saw this; the description above is my best guess at what I remember, so could be complete garbage!  Wherever I saw it, the "solution" was to specifically white-list the hosts that are generating duplicates (hopefully a small number) so that their emails don't get the full treatment from qpsmtpd...

ztasevski

Repeated Emails
« Reply #4 on: July 24, 2006, 03:10:31 AM »
Hi,

For those following the thread. Resolved the problem by upgrading the server to SME7 final. I think it might have been a qmail error as mmccarn suggested as it only happened to the automated emails.

Thanks for your help guys.