----- Original Message ----- From: "Giorgos Keramidas" <[EMAIL PROTECTED]> To: "antenneX" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, June 24, 2004 2:08 PM Subject: Re: Using sendmail
> [-- Format recovered from broken Outlook wrapping --] > > On 2004-06-24 13:18, antenneX <[EMAIL PROTECTED]> wrote: > > Giorgos Keramidas <[EMAIL PROTECTED]> wrote: > > > On 2004-06-24 11:33, antenneX <[EMAIL PROTECTED]> wrote: > > > > ....oops! I should have said please send any config examples > > > > needed to do this...?? > > > > > > Look at the file /usr/share/sendmail/cf/README near line 794: > > > > > > : mailertable Include a "mailer table" which can be used to override > > > : [snip] > > > > > > You might also want to check out the rest of this file, [...] > > > > Okay, I know I still have messed it up. Tried the setup below, but something > > is wrong because of the errors shown and is not delivered to server #2. > > > > Server #1 - IP 200.200.200.101 > > - DNS for mail.server2.net points here (was to 200.200.200.102 and OK on > > normal delivery) > > I hope you don't mean that the name "mail.server2.net" now points to > 200.200.200.101. Only the MX records for server2.net need to point to > the first host, so that mail for the domain is delivered to this host. > > > - mail.server2.net in local-host-names > > IIRC, this isn't right. You should only list mail.server2.net in the > local-host-names of 200.200.200.102. > > > - In mailertable = mail.server2.net esmtp:mail.server2.net > > This seems ok. > > > Server #2 - IP 200.200.200.102 > > - has sendmail & pop3 > > - mail.server2.net in local-host-names > > - has user "william" > > This seems ok too. > > > Send test mail: [EMAIL PROTECTED] > > ....get error: > > SYSERR(root): mail.server2.net. config error: mail loops back to me (MX > > problem?) > > That's because mail.server2.net points to the address 200.200.200.101. > When sendmail on that host tries to deliver the message as per the > instructions of your mailertable, it discovers that the message is sent > back to itself! A loop... > > - Giorgos Giorgos: Thanks for your review of my setup & I did change the IP for server2 back to 200.200.200.102 -- however, now the emails go straight though the firewall port on server1 to sendmail on server2 and apparently bypasses sendmail on server1. If it bypasses sendmail on server1, I cannot use greylisting to filter the emails before being sent over to server2. I'm still missing something here..... _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"