Results 1 to 6 of 6

Thread: sendmail does not send emails!

  1. #1

    Default sendmail does not send emails!

    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?

  2. #2

    Default Re: sendmail does not send emails!

    Still not working (I never receive the emails that sendmail sends, for example at yahoo) even after I tried installing postfix. Anyone able to get this to work in a local environment?

  3. #3
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,157

    Default Re: sendmail does not send emails!

    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?
    Henk van Velden

  4. #4

    Default Re: sendmail does not send emails!

    Quote Originally Posted by hcvv View Post
    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?
    How do I tell that? Since I installed postfix, when I telnet to localhost I'm greeted by postfix and the command "sendmail -d0.4 -bv root" simply tells me that's invalid options.

  5. #5
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,631
    Blog Entries
    3

    Default Re: sendmail does not send emails!

    Quote Originally Posted by 6tr6tr View Post
    How do I tell that? Since I installed postfix, when I telnet to localhost I'm greeted by postfix and the command "sendmail -d0.4 -bv root" simply tells me that's invalid options.
    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.
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

  6. #6
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: sendmail does not send emails!

    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
    > environment?


    Are you really using sendmail? Or is it postfix, with the sendmail
    compatibility binary?

    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?

    Code:
    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)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •