Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jul 2008 16:22:13 -0500
From:      Derek Ragona <derek@computinginnovations.com>
To:        "Bruno Joho" <zajoho@gmail.com>, freebsd-questions@freebsd.org
Subject:   Re: {Spam?} Re: Sendmail local LAN delivery
Message-ID:  <6.0.0.22.2.20080727161405.026938f8@mail.computinginnovations.com>
In-Reply-To: <e4d7aae40807271349v53e69c9fs8ac53a5e4663673a@mail.gmail.co m>
References:  <e4d7aae40807240430i5254e5b3re380670cf167429c@mail.gmail.com> <6.0.0.22.2.20080724135553.025d3660@mail.computinginnovations.com> <e4d7aae40807271349v53e69c9fs8ac53a5e4663673a@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
At 03:49 PM 7/27/2008, Bruno Joho wrote:
>Hi Derek
>
>thanks for the reply.
>My intention was to deliver the mails between the workstations on the
>LAN directly. Every Workstation
>on the LAN would have an appropriate cf file which forwards mails with
>a destination on the WAN - to the
>WAN-Smarthost, any mail going to a destination from inside the LAN
>would be delivered
>directly to the destination host without involving a (LAN) smarthost.
>Is that possible somehow?
>
>Thanks for your help
>
>Bruno

That scenario is possible, but you may still need DNS MX records to point 
to the smart host as well.  You can have multiple MX records for a domain 
(or subdomain) where the value field is higher for a farther away mail 
server, or for a secondary mail server.  Sendmail uses DNS to figure 
routing along with the internal configuration file UNLESS you specify to 
sendmail to NOT use DNS.

So you have some choices in how you configure sendmail and/or DNS.

Also it may help you to test things on one system and bump up the sendmail 
logging so the /var/log/maillog file has more information.  Use the option:
-O LogLevel=80
Or some other value than 80.  You can add these options to your sendmail 
flags in /etc/rc.conf

         -Derek

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.0.0.22.2.20080727161405.026938f8>