Find the answer to your Linux question:
Results 1 to 5 of 5
I finally gave up on Sendmail, what a nightmare for the beginner!! i have dowloaded and installed Postfix. The configuration seems a lot simpler than Sendmail. I tweaked the main.cf ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined! PsychoJock's Avatar
    Join Date
    May 2008
    Location
    Ashford, kent
    Posts
    23

    Exclamation Bye Bye Sendmail, Hello Postfix


    I finally gave up on Sendmail, what a nightmare for the beginner!! i have dowloaded and installed Postfix. The configuration seems a lot simpler than Sendmail. I tweaked the main.cf and the server failed to start. I copied back in a 'Vanilla' main.cf and the server STILL fails to start, the maillog file lists this :-

    May 27 05:07:52 mailweb sendmail[10821]: gethostbyaddr(192.168.0.99) failed: 1
    May 27 05:07:52 mailweb sendmail[10821]: NOQUEUE: SYSERR(root): No local mailer defined
    May 27 05:07:52 mailweb sendmail[10821]: NOQUEUE: SYSERR(root): QueueDirectory (Q) option must be set

    I am perplexed as to why it says sendmail when I'm using postfix. The sendmail server IS stopped.

    This seems to me a lot closer to being running than I get with sendmail, can anyone help?

    ps Thanks for the sendmail help lakshmipathi but it got the better of me in the end!!

  2. #2
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,763

    Smile

    Quote Originally Posted by PsychoJock View Post
    ps Thanks for the sendmail help lakshmipathi but it got the better of me in the end!!
    But i think it's a wise decision ...i configured sendmail because i got no other options (as ppl rejected my suggestion to use postfix or qmail which was lot easier than sendmail)

    All the best PsychoJock

    Ps: I got no idea abt postfix,If find anything useful links i'll let you know ..bye
    First they ignore you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -----
    FOSS India Award winning ext3fs Undelete tool www.giis.co.in. Online Linux Terminal http://www.webminal.org

  3. #3
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    Location
    North Carolina
    Posts
    1,077
    Code:
    May 27 05:07:52 mailweb sendmail[10821]: gethostbyaddr(192.168.0.99) failed: 1
    that looks like a sendmail error, and a sendmail process.

    If you are switching, I would stop sendmail and uninstall it.
    what distro are you using and how did you install?

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined! PsychoJock's Avatar
    Join Date
    May 2008
    Location
    Ashford, kent
    Posts
    23

    Talking

    Jledhead,
    thanks for the reply, it would appear that the problem has cured itself as I now have Postfix running!! I didn't changed anything, just left it alone for a few hours and then Lo and Behold the service started successfully!! WEIRD!

    Just for info I am running Fedora Core 5 (planning to update to Fedora 8 when I get some better hardware) and it was installed thus:-

    yum install postfix

    Take it easy!!

  6. #5
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    Location
    North Carolina
    Posts
    1,077
    its possible that those logs you were seeing were from sendmail when you were using sendmail, since sendmail and postfix share some of the same log files.

    the best way to get an idea of what its currently doing is
    Code:
    tail -f name_of_log_file
    a running tail.

Posting Permissions

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