smart_host on sendmail min config

Aryeh M. Friedman aryeh.friedman at gmail.com
Mon Dec 10 19:00:59 PST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Giorgos Keramidas wrote:
> On 2007-12-10 15:08, "Aryeh M. Friedman" <aryeh.friedman at gmail.com>
> wrote:
>> Chuck Swiger wrote:
>>> On Dec 10, 2007, at 11:40 AM, Aryeh Friedman wrote:
>>>> What else do I need to add to this to make it work (i.e. send
>>>> all mail via mx1.optonline.net):
>>>>
>>>> OSTYPE(`freebsd6')dnl define(`SMART_HOST',
>>>> `mx2.optonline.net')dnl
>>> Look at /etc/mail/freebsd.mc and edit the SMART_HOST line as
>>> above. (Note that you can copy freebsd.mc to hostname.mc and
>>> use the latter filename in order to avoid modifying the generic
>>> template file.)
>> Just tried that the ISP just eats a test message (to the addr I
>> am sending this from) but a direct telnet to port 25 on the smart
>> host works fine
>
> If a direct telnet to port 25 works, then SMART_HOST should work
> too.
>
> Can you grab log messages from `/var/log/maillog', and post them?
>
>
Dec  9 09:15:38  newsyslog[587]: logfile first created
Dec  9 09:15:38  sm-mta[720]: starting daemon (8.14.2):
SMTP+queueing at 00:30:00
Dec  9 09:15:38  sm-msp-queue[724]: starting daemon (8.14.2):
queueing at 00:30:00
Dec  9 12:22:28  sm-mta[729]: starting daemon (8.14.2):
SMTP+queueing at 00:30:00
Dec  9 12:22:28  sm-msp-queue[733]: starting daemon (8.14.2):
queueing at 00:30:00

completely unchanged before and after I attempted to sendmail to my
self (after a reboot but not a restart of sendmail [I have a
handcrafted /etc/rc so I know it doesn't run sendmail on boot])
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHXbcTzIOMjAek4JIRAun7AJ45Ob3ud9v+9iSzpX4LbJfT664VHwCglfKr
/6kkyEAuM2iPbU/9EIbb6LU=
=XkM6
-----END PGP SIGNATURE-----



More information about the freebsd-questions mailing list