Quantcast
Channel: openSUSE Forums
Viewing all articles
Browse latest Browse all 40713

sendmail does not send emails!

$
0
0
I've been trying to get sendmail to work but have a lot of problems. It was hanging for 60 seconds every time I tried to use it, so I followed suggestions from others ( The sendmail 60 second delay | Symbiotix ) and changed "/etc/hostname" to have a FQDN and "/etc/hosts" to map the server's IP to that FQDN. This eliminated the 60 second hang, but it still does not send the emails!

I looked at my "/etc/sendmail.cf" and it has only:

Code:

0wlocalhost
I tried changing the "localhost" part to the FQDN from /etc/hostname" but this still does not work.

When I restart sendmail, I get:

Code:

$ sudo /etc/init.d/sendmail restart
 * Restarting Mail Transport Agent (MTA) sendmail                                                                                            hostname: Name or service not known
                                                                                                                                      [ OK ]

Does anyone know how to get this working?

Viewing all articles
Browse latest Browse all 40713

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>