My sendmail failed to send email,
when i was updating the time
Quote:
from sendmail.cf
# time zone handling:
# if undefined, use system default
# if defined but null, use TZ envariable passed in
# if defined and non-null, use that info
#O TimeZoneSpec=
from sendmail.mc:
define(`confTIME_ZONE', `PST8PDT')dnl
|
Then i restart the services
Quote:
[root@mail ~]# service sendmail stop
Shutting down sendmail: [ OK ]
Shutting down sm-client: [FAILED]
***************************************
[root@mail ~]# tail /var/log/messages
Feb 26 18:55:01 mail crond(pam_unix)[1723]: session opened for user test by (uid=0)
Feb 26 18:55:01 mail crond(pam_unix)[1723]: session closed for user test
Feb 26 18:56:01 mail crond(pam_unix)[1730]: session opened for user test by (uid=0)
Feb 26 18:56:01 mail crond(pam_unix)[1730]: session closed for user test
Feb 26 18:57:01 mail crond(pam_unix)[1739]: session opened for user test by (uid=0)
Feb 26 18:57:01 mail crond(pam_unix)[1739]: session closed for user test
Feb 26 18:57:48 mail sendmail: sendmail shutdown succeeded
Feb 26 18:57:48 mail sendmail: sm-client shutdown failed
***************************************
[root@mail ~]# tail /var/log/maillog
Feb 26 18:59:41 mail sendmail[1856]: alias database /etc/aliases rebuilt by root
Feb 26 18:59:41 mail sendmail[1856]: /etc/aliases: 94 aliases, longest 71 bytes, 1399 bytes total
Feb 26 18:59:41 mail sendmail[1861]: starting daemon (8.13.1): SMTP+queueing@01:00:00
Feb 26 18:59:41 mail sendmail[1861]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: cannot listen: Address already in use
Feb 26 18:59:41 mail sendmail[1861]: daemon MTA: problem creating SMTP socket
Feb 26 18:59:41 mail sm-msp-queue[1871]: starting daemon (8.13.1): queueing@01:00:00
|
i think the error occurs when i edit the sendmail.cf and sendmail.mc are still running.
i just follow this steps. but still i cannot send.