I sure would appreciate anyone making any suggestion here.
Okay, I had another thought, I sent an email from my Scalix user (
matt@gallowayfore.com) to one of my resources (
fc@gallowayfore.com) and I got a bounce back as described above. I then tried to send an email to a user that actually
didn't exists (in other words that was truly "User unknown"). I also got a bounce back for User unknown but it is in a
different format.
Here is the message I got from a actual unknown user:
Code: Select all
Date: Wed, 29 Aug 2007 13:06:10 -0500
From: MAIL-SYSTEM <MAIL-SYSTEM>
To: Matt Galloway <matt@gallowayfore.com>
In-Reply-To: <22347474.1451188410769436.JavaMail.root@mail.gallowayfore.com>
Subject: Returned Mail: Message Could Not Be Delivered
MIME-Version: 1.0
Message could not be delivered to the following recipient:
jkals@gallowayfore.com
because: Recipient name not found at destination
Supplementary Information:
550 5.1.1 <jkals@gallowayfore.com>... User unknown
As you can see, this message appears to be coming from the Scalix MAIL-SYSTEM where the other message appears to be from sendmail. Here's the header when the bounce is for a valid
resource[i]:
Code: Select all
Return-Path: <MAILER-DAEMON@mail.gallowayfore.com>
Received: from mail.gallowayfore.com (localhost.localdomain [127.0.0.1])
by mail.gallowayfore.com (8.13.8/8.13.5) with ESMTP id l7TI3hhq008454
for <matt@gallowayfore.com>; Wed, 29 Aug 2007 13:03:44 -0500
Received: from localhost (localhost)
by mail.gallowayfore.com (8.13.8/8.13.8/Submit) id l7TI3hMa008453;
Wed, 29 Aug 2007 13:03:44 -0500
Date: Wed, 29 Aug 2007 13:03:44 -0500
From: Mail Delivery Subsystem <MAILER-DAEMON@mail.gallowayfore.com>
To: Matt Galloway <matt@gallowayfore.com>
Message-ID: <200708291803.l7TI3hMa008453@mail.gallowayfore.com>
Subject: Returned mail: see transcript for details
Auto-Submitted: auto-generated (failure)
Once I discovered this difference, I began looking at /var/logs/maillog. It looks like when I mail something to a resource ("fc@gallowayfore.com" is the email address for a resource), it is handed from Scalix to sendmail and then when sendmail tries to deliver it back to Scalix the "User unknown" error occurs at which point sendmail creates the bounce message. This can be seen here:
Code: Select all
Aug 29 13:03:43 mail sendmail[8453]: l7TI3hMZ008453: from=<matt@gallowayfore.com>, size=1408, class=0, nrcpts=1, msgid=<20408668.1361188410623718.JavaMail.root@mail.gallowayfore.com>, proto=ESMTP, relay=root@localhost
Aug 29 13:03:44 mail sendmail[8454]: l7TI3hho008454: <fc@gallowayfore.com>... User unknown
Aug 29 13:03:44 mail sendmail[8453]: l7TI3hMZ008453: to=<fc@gallowayfore.com>, delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=31408, relay=[127.0.0.1] [127.0.0.1], dsn=5.1.1, stat=User unknown
Aug 29 13:03:44 mail sendmail[8454]: l7TI3hho008454: from=<matt@gallowayfore.com>, size=1408, class=0, nrcpts=0, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Aug 29 13:03:44 mail sendmail[8453]: l7TI3hMZ008453: l7TI3hMa008453: DSN: User unknown
Aug 29 13:03:44 mail sendmail[8454]: l7TI3hhq008454: from=<>, size=3340, class=0, nrcpts=1, msgid=<200708291803.l7TI3hMa008453@mail.gallowayfore.com>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Aug 29 13:03:44 mail sendmail[8453]: l7TI3hMa008453: to=<matt@gallowayfore.com>, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=32432, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (l7TI3hhq008454 Message accepted for delivery)
Aug 29 13:03:44 mail sendmail[8462]: l7TI3hhq008454: to=<matt@gallowayfore.com>, delay=00:00:00, xdelay=00:00:00, mailer=scalix_mime, pri=123340, relay=mail, dsn=2.0.0, stat=Sent (Ok)
When I send mail to a real invalid user(there is no "jkals@gallowayfore.com" in the system), it looks like sendmail doesn't even accept the message which is why, I'm guessing, Scalix (instead of sendmail) generates the bounce email. Here' the maillog:
Code: Select all
Aug 29 13:06:10 mail sendmail[8607]: l7TI69dU008607: <jkals@gallowayfore.com>... User unknown
Aug 29 13:06:10 mail sendmail[8607]: l7TI69dU008607: from=<matt@gallowayfore.com>, size=0, class=0, nrcpts=0, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Please, does anyone have any suggestions at all?
Thanks in advance.