Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sendmail daemon is not working

Status
Not open for further replies.

signalsys

Technical User
Sep 5, 2005
44
CN
lssrc -s sendmail" shows it is inoperative,
then i use "startsrc -s sendmail" and its' status turns to active.

But about 1 minutes later it turns to inoperative again.
What cause the problem?
Thx in advance

 
- enable mail.debug in /etc/syslog.conf (look at the back of the file, it should be commented how to enable this and which log file you can use, make sure the log file is created)
- restart syslog daemon (refresh -s syslogd)
- restart sendmail daemon (startsrc -s sendmail)
- look at the log file as specified for mail.debug above.

Also I think you need to add some flags/parameters to the startsrc -s sendmail command.

Remember to turn off the mail.debug syslogd parameters and restart syslogd when you have found out and repaired the problem.


HTH,

p5wizard
 
syslogd output the following info:
Jul 31 23:01:31 QC_P550_719 mail:crit sendmail[2122140]: My unqualified host name (QC_P550_719) unknown; sleeping for retry
Jul 31 23:02:00 QC_P550_719 mail:alert sendmail[2453880]: unable to qualify my own domain name (QC_P550_719) -- using short name
Jul 31 23:02:00 QC_P550_719 mail:info sendmail[2453880]: n6VF20EY2453880: from=daemon, size=1834, class=0, nrcpts=1, msgid=<200907311502.n6VF20EY2453880@QC_P550_719>, relay=daemon@localhost
Jul 31 23:02:00 QC_P550_719 mail:info sendmail[897238]: n6VF20EY2453880: to=wangguan, ctladdr=daemon (1/1), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=121834, dsn=2.0.0, stat=Sent
Jul 31 23:02:31 QC_P550_719 mail:alert sendmail[2122140]: unable to qualify my own domain name (QC_P550_719) -- using short name

By the way what flags should i added when using startsrc to start the sendmail daemon?
thx
 
distilled from /etc/rc.tcpip :

startsrc -s sendmail -a -bd -q30m

But it seems your sendmail configuration is far from complete...

HTH,

p5wizard
 
just a reminder - you only need to be running sendmail if you are receiving mail to that server. For security purposes, if you are just sending mail, the sendmail process does not need to be running.
 
Actually the correct form of the command is:

startsrc -s sendmail -a "-bd -q30m"

You don't mention if this ever worked, or you are trying to start sendmail for the first time? If it ever worked, what changed? If first time, and this is a new system, do you have dns working, resolv.conf, a default gateway or relay host, hostname in hosts file defined, and more.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top