Operating System - Linux
1832855 Members
2838 Online
110047 Solutions
New Discussion

Re: Regarding SMTP log file

 
SOLVED
Go to solution
monu_1
Regular Advisor

Regarding SMTP log file

God Day,

Please give me suggetion where i can get SMTP log file in Linus Fedora.

Basically I am using Linux based Mail Server.

Plz suggeast me as soon as possible coz i am a new commer on linux platform.


With Bregds,
Manoj
13 REPLIES 13
Vitaly Karasik_1
Honored Contributor
Solution

Re: Regarding SMTP log file

/var/log/maillog
Ivan Krastev
Honored Contributor

Re: Regarding SMTP log file

Also check /etc/syslog* files for mail settings - you may have additional logging enabled.

regards,
ivan
monu_1
Regular Advisor

Re: Regarding SMTP log file

Thanks Vitaly

So that mean maillog and SMTP log is samething.
Plz clearify too m waiting for your response

Thanks again for reply.

With Bregds,
Manoj
Vitaly Karasik_1
Honored Contributor

Re: Regarding SMTP log file

yes, it is the same.

SMTP is a protocol name, sendmail or postfix is mailserver, and in most RH linuxes mailserver sends its log to /var/log/maillog.
monu_1
Regular Advisor

Re: Regarding SMTP log file

Hi Ivan,

After entering the command sendmail -q
In /var/log/maillog/ ,it is showing to message accepted for delivery for remaining unsend mail in /var/spool/mqueue.

But It's still showing same number of unsend mail in /var/spool/mqueue/

Plz suggest me.

Regards,
Manoj
Vitaly Karasik_1
Honored Contributor

Re: Regarding SMTP log file

can you send us
1)last 20-30 lines from your /var/log/maillog
2) ps -ef|grep sendmail
output
monu_1
Regular Advisor

Re: Regarding SMTP log file

Hi ,

Oct 23 17:17:49 mail3 sendmail[9603]: k9ME3wlT026586: to=, delay=21:43:39, xdelay=00:00:00, mailer=esmtp, pri=2024122, relay=mail.ishimaship.com., dsn=4.0.0, stat=Deferred: Connection timed out with mail.ishimaship.com.
Oct 23 17:18:33 mail3 sendmail[9661]: k9NBmXlD009661: from=, size=2073, class=0, nrcpts=1, msgid=, proto=ESMTP, daemon=MTA, relay=[192.168.0.10]
Oct 23 17:18:35 mail3 sendmail[9663]: k9NBmXlD009661: to=, delay=00:00:02, xdelay=00:00:02, mailer=esmtp, pri=32073, relay=a.mx.newslinkservices.com. [69.12.116.4], dsn=2.0.0, stat=Sent (ok 1161604555 qp 79083)
Oct 23 17:18:49 mail3 sendmail[9603]: k9MEDGlb027653: to=, delay=21:35:13, xdelay=00:01:00, mailer=esmtp, pri=2029510, relay=mx105.linux-hosting.com. [74.52.22.154], dsn=4.0.0, stat=Deferred: Connection timed out with mx105.linux-hosting.com.
Oct 23 17:18:49 mail3 sendmail[9603]: k9ME8xmp027198: to=, delay=21:38:46, xdelay=00:00:00, mailer=esmtp, pri=2029510, relay=mail.ishimaship.com., dsn=4.0.0, stat=Deferred: Connection timed out with mail.ishimaship.com.
Oct 23 17:18:49 mail3 sendmail[9603]: k9MEBBmd027451: to=, delay=21:36:42, xdelay=00:00:00, mailer=esmtp, pri=2029510, relay=mx0.ewetel.de., dsn=4.0.0, stat=Deferred: Connection reset by mx0.ewetel.de.
Oct 23 17:18:56 mail3 sendmail[9666]: k9NBmulD009666: from=, size=2073, class=0, nrcpts=1, msgid=, proto=ESMTP, daemon=MTA, relay=[192.168.0.10]
Oct 23 17:19:01 mail3 sendmail[9668]: k9NBmulD009666: to=, delay=00:00:05, xdelay=00:00:05, mailer=esmtp, pri=32073, relay=a.mx.newslinkservices.com. [69.12.116.4], dsn=2.0.0, stat=Sent (ok 1161604581 qp 79776)


This is current /var/log/maillog status
Vitaly Karasik_1
Honored Contributor

Re: Regarding SMTP log file

In general your mail server seems to be OK.
We see several emails were send.
But there are two problematic emails:

brem.see@nwn.de
dmello.j@ishimaship.com

Just check this your correspondents that their email addresses are right.
monu_1
Regular Advisor

Re: Regarding SMTP log file

Hi ,

How it can be clearifying that there two mail id u mantioned have prob.

Regards,
Manoj
Vitaly Karasik_1
Honored Contributor

Re: Regarding SMTP log file

try to send email to these addresses from your yahoo, gmail and other web-based email accounts.
monu_1
Regular Advisor

Re: Regarding SMTP log file

Hi,

I used Gmail based web address and send the Messages to both the mail id u specified , but there is no failure delivery .

It seem like that message has been reached there.

But where is the prob i am still confused.

Regards,
Manoj
Ivan Krastev
Honored Contributor

Re: Regarding SMTP log file

For both unsuccessful emails try to see if domain/email address is ok - http://www.yuki-onna.co.uk/email/smtp.html


regards,
ivan

Vitaly Karasik_1
Honored Contributor

Re: Regarding SMTP log file

there are two possibility:
- these domains have prbolematic
mailservers and/or network connectivity

- they use too string antispam settings


You should be able to contact postmaster@problematic-domain.com and ask him if he received your gmail's emails and why his mailserver rejects emails from your sendmail server.