Quote:
Originally Posted by SlackDaemon
Hi,
could you do the following:
tail -f /var/log/maillog
open another console and type:
echo "test message" | mail -s 'test' <username>
where <username> is any valid user on your machine. copy output from the maillog and post to this thread
echo "test message" | mail -s 'test' <username>@yahoo.com
Could be any anonymous email account. copy output from the maillog and post to this thread
finally paste the output from the command:
mailq
|
Here Ya Go:
[root@jjhserv ~]# tail -f /var/log/maillog
Jun 26 04:35:37 jjhserv sendmail[1846]: alias database /etc/aliases rebuilt by root
Jun 26 04:35:37 jjhserv sendmail[1846]: /etc/aliases: 78 aliases, longest 10 bytes, 802 bytes total
Jun 26 04:35:37 jjhserv sendmail[1851]: starting daemon (8.13.5): SMTP+queueing@01:00:00
Jun 26 04:35:38 jjhserv sm-msp-queue[1860]: starting daemon (8.13.5): queueing@01:00:00
Jun 26 04:35:42 jjhserv spamd[1869]: logger: removing stderr method
Jun 26 04:35:50 jjhserv spamd[1871]: spamd: server started on port 783/tcp (running version 3.1.0)
Jun 26 04:35:50 jjhserv spamd[1871]: spamd: server pid: 1871
Jun 26 04:35:50 jjhserv spamd[1871]: spamd: server successfully spawned child process, pid 1915
Jun 26 04:35:50 jjhserv spamd[1871]: spamd: server successfully spawned child process, pid 1916
Jun 26 04:35:50 jjhserv spamd[1871]: prefork: child states: II
Jun 26 07:59:36 jjhserv sendmail[30414]: k5QBxavR030414: from=root, size=42, class=0, nrcpts=1, msgid=<200606261159.k5QBxavR030414@jjhserv.jdubbhosting.org>, relay=root@localhost
Jun 26 07:59:36 jjhserv sendmail[30415]: k5QBxaf6030415: <JacksonJT@jjhserv.jdubbhosting.org>... User unknown
Jun 26 07:59:36 jjhserv sendmail[30414]: k5QBxavR030414: to=JacksonJT, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30042, relay=[127.0.0.1] [127.0.0.1], dsn=5.1.1, stat=User unknown
Jun 26 07:59:36 jjhserv sendmail[30415]: k5QBxaf6030415: from=<root@jjhserv.jdubbhosting.org>, size=42, class=0, nrcpts=0, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Jun 26 07:59:36 jjhserv sendmail[30414]: k5QBxavR030414: k5QBxavS030414: DSN: User unknown
Jun 26 07:59:36 jjhserv sendmail[30415]: k5QBxaf8030415: from=<>, size=2095, class=0, nrcpts=1, msgid=<200606261159.k5QBxavS030414@jjhserv.jdubbhosting.org>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Jun 26 07:59:36 jjhserv sendmail[30414]: k5QBxavS030414: to=root, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31066, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (k5QBxaf8030415 Message accepted for delivery)
Jun 26 07:59:36 jjhserv sendmail[30416]: k5QBxaf8030415: to=JacksonJT, ctladdr=<root@jjhserv.jdubbhosting.org> (8/0), delay=00:00:00, mailer=local, pri=122095, dsn=5.1.1, stat=User unknown
Jun 26 07:59:36 jjhserv sendmail[30416]: k5QBxaf8030415: to=JacksonJT, ctladdr=postmaster (8/0), delay=00:00:00, mailer=local, pri=32322, dsn=5.1.1, stat=User unknown
Jun 26 07:59:36 jjhserv sendmail[30416]: k5QBxaf8030415: k5QBxaf6030416: postmaster notify: User unknown
Jun 26 07:59:36 jjhserv sendmail[30416]: k5QBxaf6030416: to=JacksonJT, ctladdr=postmaster (8/0), delay=00:00:00, mailer=local, pri=3346, dsn=5.1.1, stat=User unknown
Jun 26 07:59:37 jjhserv sendmail[30416]: k5QBxaf6030416: to=JacksonJT, ctladdr=postmaster (8/0), delay=00:00:01, mailer=local, pri=3346, dsn=5.1.1, stat=User unknown
Jun 26 07:59:37 jjhserv sendmail[30416]: k5QBxaf6030416: k5QBxaf7030416: return to sender: User unknown
Jun 26 07:59:37 jjhserv sendmail[30416]: k5QBxaf7030416: to=JacksonJT, ctladdr=postmaster (8/0), delay=00:00:00, mailer=local, pri=4370, dsn=5.1.1, stat=User unknown
Jun 26 07:59:37 jjhserv sendmail[30416]: k5QBxaf6030416: Losing ./qfk5QBxaf6030416: savemail panic
Jun 26 07:59:37 jjhserv sendmail[30416]: k5QBxaf6030416: SYSERR(root): savemail: cannot save rejected email anywhere
Jun 26 08:01:12 jjhserv sendmail[30429]: k5QC1CK4030429: from=root, size=57, class=0, nrcpts=1, msgid=<200606261201.k5QC1CK4030429@jjhserv.jdubbhosting.org>, relay=root@localhost
Jun 26 08:01:12 jjhserv sendmail[30430]: k5QC1Cn7030430: from=<root@jjhserv.jdubbhosting.org>, size=370, class=0, nrcpts=1, msgid=<200606261201.k5QC1CK4030429@jjhserv.jdubbhosting.org>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Jun 26 08:01:12 jjhserv sendmail[30429]: k5QC1CK4030429: to=jarrelljackson@yahoo.com, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30057, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (k5QC1Cn7030430 Message accepted for delivery)
Jun 26 08:01:13 jjhserv sendmail[30432]: k5QC1Cn7030430: to=<jarrelljackson@yahoo.com>, ctladdr=<root@jjhserv.jdubbhosting.org> (0/0), delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=120370, relay=mx2.mail.yahoo.com. [67.28.113.70], dsn=2.0.0, stat=Sent (ok dirdel)
[root@jjhserv ~]# mailq
/var/spool/mqueue is empty
Total requests: 0
[root@jjhserv ~]#