Chapter 3. Installation & Initial Configuration Issues

Table of Contents
3.1 I use a dial-up connection to send my mail. Why is my mail bouncing or getting rejected all the time?
3.2 My account at my ISP is bobt@isp.net but my account on my Linux box is `me'. I'm having trouble getting my e-mail to work right. It keeps going out as though it is from `me' instead of from `bobt'. How do I fix this?
3.3 I'm using procmail to filter my mail and I keep getting a message about a suspicious rcfile. What do I need to do?
3.4 I'm using fetchmail to get mail from my ISP account and sendmail keeps rejecting the mail. How do I fix this?
3.5 I decided to make changes to my macro configuration file with m4. When I rebooted, my changes were gone. What's going on?
3.6 Sending mail to a user in my domain I get an error message. It says, “config error. mail loops back to me (MX problem?)”. How do I fix this?
3.7 How do I route all mail to unknown users to a single account?
3.8 I need to act as a secondary MX for a friend of mine's domain, but inbound mail for that domain gets rejected. How do I make this work?
3.9 I have users on my local LAN who need to use my box as their MTA. When they send mail from their client software it bounces. How do I fix this?
3.10 Sendmail seems to be working fine, but when my users try to connect to the mailhost to POP their mail, they can't connect. What's wrong?
3.11 I upgraded to the sendmail 8.9.3 RPMs from Red Hat Linux 6.x and majordomo has basically quit working now. How do I fix it?
3.12 I have tried to set up the mailertable per the FM, but when I uncomment the mailertable line in sendmail.cf I get: “/etc/sendmail.cf: line 133: readcf: map mailertable: class dbm not available”. How do I fix this?
3.13 I'm using the rbl but there's one domain which is blocked that I want to allow. How do I do this?
3.14 I have always used .forward files and now I'm getting an error which says: “sh: procmail not available for sendmail programs”. How can I fix this?
3.15 I think I accidentally goofed up the permissions on some of sendmail's directories. How do I fix this?
3.16 Can I use sendmail 8.9.3 as either IMAP or POP3 server?
3.17 How can I set up an auto-responder?
3.19 Why does my sendmail process hang on boot up?
3.20 Why does my sendmail process sometimes hang when connecting over a SLIP/PPP link?
3.21 Why do I get the error message unable to write /etc/mail/sendmail.pid?
3.20 How do I set up aliases so that no matter what happens whoever@domain.com will be delivered to one person?

3.1 I use a dial-up connection to send my mail. Why is my mail bouncing or getting rejected all the time?

You need to set sendmail up to masquerade the envelope properly and you need to relay through your ISP's SMTP host. See section 3.1 of the Red Hat Sendmail HOWTO for a thorough explanation and detailed instructions. Here are the critical components for your macro configuration file:

   define(`SMART_HOST',`mail.yourisp.net')dnl 
   MASQUERADE_AS(yourisp.net)dnl
   FEATURE(`allmasquerade')dnl 
   FEATURE(`masquerade_envelope')dnl