Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'sendmail sending mail...how to receive?' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
sendmail sending mail...how to receive?
Authored by: robh on Aug 16, '01 04:36:19PM

I've been using sendmail for both incoming and outgoing email for months now.

From what I've seen, sendmail uses the email aliases setup by NetInfo. Anything in /etc/mail/aliases is ignored. You can import an existing aliases file into NetInfo with "niload aliases ."

For the record, my /etc/hostcofig has these:

HOSTNAME=chad
ROUTER=10.1.2.1
MAILSERVER=-YES-

(if you're a newbie, DON'T copy "chad" - my machine name, or "10.1.2.1" - my LAN router IP)

I have an /etc/mail/local-host-names file that tells sendmail the names of the domains that I use AND OWN, and an /etc/mail/relay-domains containing the same domains - this is to stop spammers using my machine to relay their spam to any other domain.

I also have an /etc/mail/sendmail.cf, but I don't remember if it came with OSX or if I copied it there from my old FreeBSD box.
% wc sendmail.cf
1214 5788 35103 sendmail.cf
I know I didn't need to alter the sendmail.cf

I hope that helps someone.



[ Reply to This | # ]