Main Stories
Slash Boxes

Slash Open Source Project

Slashcode Log In

Log In

[ Create a new account ]

Sendmail Relaying Problems Solved

posted by Krow on 07:40 AM April 14th, 2001   Printer-friendly   Email story
nwetters writes "I have just solved a nasty little problem with my Slashsite (running bender). The nightly headlines, and new passwords were getting mailed out to users who had email accounts on the local machine, but were being rejected by Sendmail for everyone else. At first I didn't realise I had a problem, until I signed up a friend with a remote mail address. The mail log file (/var/log/maillog) contained lots of messages of the form:

Apr 9 13:09:26 ns sendmail[879]: f39C9Qb00879: ruleset=check_rcpt, arg1=<username@domain.com>, relay=localhost [127.0.0.1], reject=550 5.7.1 <username@domain.com>... Relaying denied

The problem was solved by changing the smtp_server (in Variables) from localhost to the IP address of my machine. I also added the file /etc/mail/relay-domains with my domain names - for an unknown reason, this file was not included in my distro. After sendmail and apache restarts, mailing was working perfectly."

This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login
Loading... please wait.
  • Oh my goodness that project is SCARY! What on earth posessed them to attemp a port to ASP/SQL Server? How exactly is Apache and mod_perl and MySQL inadequate???
    --

    Yoder Internet Development [yoderdev.com]: Honest and Affordable Web Solutions
  • by Anonymous Coward
    Good question.
  • Fortunately it's still in "Stage 1 -- Planning" which is SourceForge speak for "it will never be done".
    --

    Yoder Internet Development [yoderdev.com]: Honest and Affordable Web Solutions
  • In fairness, mod_perl on Windows is pretty unusable. However, if I understand correctly, porting to ASP would essentially be a rewrite, as you would be putting perl in with your content. There are other mod_perl-like alternatives from ActiveState that I think might be better, but I dunno. If it were me, I would say "screw it" and spend the thousands of dollars it would take to develop it (in man-hours) and buy a good Linux box. But it isn't me.