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