smart_host on sendmail min config
Giorgos Keramidas
keramida at ceid.upatras.gr
Mon Dec 10 13:43:44 PST 2007
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?
More information about the freebsd-questions
mailing list