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: f39C9Qb00879: ruleset=check_rcpt, arg1=<firstname.lastname@example.org>, relay=localhost [127.0.0.1], reject=550 5.7.1 <email@example.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."