You need to add the domain name(s) to /etc/mail/sendmail.cw on the 192.168.1.6 box, so that it knows it's supposed to accept mail for that domain.
On 12 Nov 2002, James Pifer wrote: > Steve, > > Thanks. That fixed it. I appreciate the instructions. > > I do have a new problem you might be able to help me with. I seem to > have a routing problem. Here's the situation. I'm attempting to test > MailScanner using spam and antivirus. So I installed another Linux > machine and have all of that working. So I want to redirect my incoming > mail to this new server first, then forward it to my existing mail > server after it's gone through the filters. > > My original mail server is 192.168.1.2 and the new one is 192.168.1.6. > My MX record in DNS points to my external IP address. Mail from the > outside is forwarded though a Linksys router to 192.168.1.6. > > On 192.168.1.6 I used webmin to configure it to deliver SMTP mail for > the domain to 192.168.1.2 and ignore the MX record. I tried both SMTP > and SMTP Relay settings. > > When a message comes in from the outside it gets to 192.168.1.6 but then > fails saying there's a mail loop, possibly a problem with the MX record. > Root ends up getting the error message in its mailbox. > > Any suggestions? > James > > > On Tue, 2002-11-12 at 09:06, Cowles, Steve wrote: > > > -----Original Message----- > > > From: James Pifer > > > Subject: SMTP/AV/Spam Follow-Up > > > > > > I can send mail from the local machine, just not from any > > > clients. Using webmin if I go into the sendmail configuration, > > > user mailboxes, and compose a message from root, it gets sent ok. > > > > > > > Sounds like your using the default redhat sendmail.mc file that configures > > sendmail to only listen on localhost. netstat -nap | grep sendmail should > > verify this. > > > > If so, edit /etc/mail/sendmail.mc and comment the following line. Note: a > > comment line is dnl, not # > > > > dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA') > > > > Also, if this is going to be a production server, consider commenting the > > following line: > > > > dnl FEATURE(`accept_unresolvable_domains')dnl > > > > Then recreate sendmail.cf using m4 as shown in the .mc file and restart > > sendmail. > > > > Steve Cowles > > > > > > > > -- > > redhat-list mailing list > > unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe > > https://listman.redhat.com/mailman/listinfo/redhat-list > > > > > -- Mike Burger http://www.bubbanfriends.org Visit the Dog Pound II BBS telnet://dogpound2.citadel.org or http://dogpound2.citadel.org:2000 -- redhat-list mailing list unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list