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:
I tried changing the “localhost” part to the FQDN from /etc/hostname" but this still does not work.
When I restart sendmail, I get:
$ sudo /etc/init.d/sendmail restart
* Restarting Mail Transport Agent (MTA) sendmail hostname: Name or service not known
While sendmail is a rather universal piece of software that runs on many Unix/Linx versions, it would be nice to give the people here an idea where you are running it on. openSUSE I presume, but which version?
I had interpreted that question as “which opensuse version”. You seem to be taking it to be “which postfix version”.
If you run Yast → Software Management
and search for “postfix”, that should tell you which version is installed. It will give the package version number, rather than the postfix version number, but that’s probably enough for anyone who needs to know your postfix version.
On 2013-08-23 03:26, 6tr6tr wrote:
> Still not working (I never receive the emails that sendmail sends, for
> example at yahoo) even after I tried ‘installing postfix’
> (http://tinyurl.com/ky7pa36). Anyone able to get this to work in a local
Are you really using sendmail? Or is it postfix, with the sendmail
I ask because you mention both, and it is not possible to have both,
they are not compatible. If what you have is a default openSUSE system,
you have postfix with a sendmail compatibility binary, and everything
you read in google about sendmail adjustments will be wrong for your setup.
So, what do you really have?
rpm -qa | grep -i "sendmail\|postfix"
Now, about sending emails outside, “for example at yahoo” - that will
never work, unless you have a fixed IP address, properly setup, or
instead of mailing to yahoo you email to YOUR ISP, and this one, after
you authenticate, forwards your email to yahoo.
Postfix or sendmail can both send directly to yahoo, but nobody will
accept your email, as simple as that. Blame spammers.
Cheers / Saludos,
Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)