Page 1 of 1

Issue with local delivery logs

Posted: Thu Sep 11, 2008 11:14 pm
by teeju
Hi,

I have set the local delivery logging option to "All message" and using Get Log i can see all the messages which i sent or received.
But the same when i check under /var/log/maillog, i dont get the proper information.
It works fine for Internet mail gateway.
Eg.
From: user1@scalix.com
To: user2@scalix.com
The logs can be seen correctly using Get Log option. But when i check the maillog file, it always shows the following information... (The To & From address show differently. For any message it says-> To:maanu@tim.ro and from: test1@sgavscxp01.o.izhub.com). Please advice.



[root@sgavscxp01 ~]# tail -f /var/log/maillog
Sep 12 10:30:44 sgavscxp01 sendmail[27928]: m8C2Ui0R027928: to=maanu@tim.ro, ctladdr=test1 (500/500), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30176, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (m8C2UiPd027942 Message accepted for delivery)

Sep 12 10:30:52 sgavscxp01 sendmail[27948]: m8C2UiPd027942: to=<maanu@tim.ro>, ctladdr=<test1@sgavscxp01.o.izhub.com> (500/500), delay=00:00:08, xdelay=00:00:08, mailer=esmtp, pri=120466, relay=relay-1.tim.ro. [85.204.149.12], dsn=5.1.8, stat=User unknown
Sep 12 10:30:52 sgavscxp01 sendmail[27948]: m8C2UiPd027942: m8C2UqPd027948: DSN: User unknown

Sep 12 10:30:52 sgavscxp01 sendmail[27948]: m8C2UqPd027948: to=<test1@sgavscxp01.o.izhub.com>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=31699, dsn=2.0.0, stat=Sent

Sep 12 10:36:30 sgavscxp01 sendmail[28456]: m8C2aU4d028456: from=test1, size=176, class=0, nrcpts=1, msgid=<200809120236.m8C2aU4d028456@sgavscxp01.o.izhub.com>, relay=test1@localhost

Sep 12 10:36:30 sgavscxp01 sendmail[28459]: m8C2aUxH028459: from=<test1@sgavscxp01.o.izhub.com>, size=466, class=0, nrcpts=1, msgid=<200809120236.m8C2aU4d028456@sgavscxp01.o.izhub.com>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]

Sep 12 10:36:30 sgavscxp01 sendmail[28456]: m8C2aU4d028456: to=maanu@tim.ro, ctladdr=test1 (500/500), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30176, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (m8C2aUxH028459 Message accepted for delivery)

Sep 12 10:36:38 sgavscxp01 sendmail[28465]: m8C2aUxH028459: to=<maanu@tim.ro>, ctladdr=<test1@sgavscxp01.o.izhub.com> (500/500), delay=00:00:08, xdelay=00:00:08, mailer=esmtp, pri=120466, relay=relay-1.tim.ro. [85.204.149.12], dsn=5.1.8, stat=User unknown

Sep 12 10:36:38 sgavscxp01 sendmail[28465]: m8C2aUxH028459: m8C2acxH028465: DSN: User unknown
Sep 12 10:36:38 sgavscxp01 sendmail[28465]: m8C2acxH028465: to=<test1@sgavscxp01.o.izhub.com>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=31699, dsn=2.0.0, stat=Sent

Posted: Fri Sep 12, 2008 2:14 pm
by schmoe90
I have set the local delivery logging option to "All message"


You mean auditing?

But the same when i check under /var/log/maillog, i dont get the proper information.


Local delivery has nothing to do with sendmail - if you send a message between your users, it wouldn't need to get logged by sendmail at all.

What exactly is your problem?

Posted: Tue Sep 16, 2008 2:08 am
by teeju
Hi,

I am trying to track the email transaction (internal and external).
I can get these logs using web administration. Can i find the same logs in the server directly?
I need to know the location from where i can get these transaction log information on the linux server (Scalix server).

Thanks
Teeju
[/img]

Posted: Tue Sep 16, 2008 4:16 am
by Valerion
Look for auditing in the forum. Lots of posts about it.

Enable auditing on the Service Router, the Internet Mail Gateway, Local Delivery and the SMTP Relay.