Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General > Member Success Stories
User Name
Password Member Success Stories Just spent four hours configuring your favorite program? Just figured out a Linux problem that has been stumping you for months?
Post your Linux Success Stories here.


  Search this Thread
Old 06-04-2004, 10:51 PM   #1
Senior Member
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 374Reputation: 374Reputation: 374Reputation: 374
Qmail up and running

Not that it's a rousing success or anything, but I had some difficulty getting a mail server going.

At first, I tried using sendmail (which was included in the Red Hat distro). I modified the configuration to allow outside SMTP access (it was a line containing the "DAEMON_OPTIONS" in the file), re-ran the mc-to-cf script, and restarted sendmail. Local delivery worked, sending to external addresses worked, but receiving from external addresses was broken. The log kept saying "relaying denied", "reject=550", and suggesting an MX record error.

After a few hours of searching threads here and then on Google and coming up with absolutely nothing applicable (not even a definition of what an MX record is or where/how to correct it), I decided to try another MTA because I really, really disliked sendmail's modify-and-convert practice with the .mc and .cf files.

So I picked up qmail, and followed the instructions found in "Life with Qmail". Everything went smoothly, and then I ran through the tests. Again, local delivery was good, delivery to external hosts was good, but receiving from external hosts was broken. After more gnashing of teeth, I decided to stdy the "configuring" portion of the qmail instructions, and found the answer.

The problem was this: during configuration, the default domain the program accepts is given from the hostname command. On my system, hostname resolves to qmail defaults to accepting only mail explicitly sent to that full domain. However, my domain's DNS is listed as only When qmail received an email addressed to, it rejected it because it wasn't addressed to All that was necessary to fix the problem was add "" to /var/qmail/control/rcpthosts and /var/qmail/control/locals.

I would have to figure a similar configuration problem was the cause of sendmail's grief, but I'm not about to wipe my working qmail installation to go try


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
qmail /service/qmail-send: unable to open supervise mangueJOE Linux - Networking 20 04-20-2016 12:27 AM
running an Ipv6 qmail clueless_user Linux - Software 0 08-26-2004 10:40 AM
qmail +qmail-qfilter + problem countcobolt Linux - Networking 0 07-08-2004 12:29 PM
problem whit running qmail W0uter Linux - Software 0 05-27-2004 02:53 AM
qmail is running but not doing anything ereeno Linux - Software 6 01-29-2004 08:47 AM > Forums > Linux Forums > Linux - General > Member Success Stories

All times are GMT -5. The time now is 08:08 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration