Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Showing results for 
Search instead for 
Did you mean: 

sendmail problem

Ralf Buchhold
Regular Advisor

sendmail problem


in /var/adm/syslog/mail.log is the following message (and no mails are delievered)

message queued for future delivery

What can I do ?
Thankd Ralf
Honored Contributor

Re: sendmail problem

Run mailq and check if the mail is sitting there. This should give some idea what it is doing.

Also if you are using smart relay, are there any problems with that.

There is no substitute to HARDWORK
Steven E. Protter
Exalted Contributor

Re: sendmail problem

Mail is not getting off your system.

verify with this command:


verify and find out why with this command:

sendmail -v -q

That will try and process the queue and tell you the problem.

Two main areas of possible cause:

1) DNS resolution doesn't work, can't resolve host name, mail doesn't go anywhere. Look at /etc/resolv.conf and make sure nslookup or dig actually gives you valid answer.

2) Mail forwarding: set your mail to relay off an smtp/exhange/whatever server. DS directive



[ ip address of relay server]

/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start

Re-run prior steps and watch the mail get delivered.

Note: the target server in th DS directive must be explicitly set to allow you to relay mail. Handle that yourself or with the server admin before you start.

Because the relay configuration can be limited to a single IP address it is not a spam relay risk.

Steven E Protter
Owner of ISN Corporation