relay host in sendmail?

Jack L. Stone jacks at
Sun Dec 9 05:33:15 PST 2007

At 01:45 PM 12.8.2007 -0800, jekillen wrote:
>On Dec 8, 2007, at 12:21 PM, Christian Walther wrote:
>> Hi,
>> On 08/12/2007, jekillen <jekillen at> wrote:
>>> Hello:
>>> I am using Absolute BSD, Second Ed.
>>> and am looking in the section on Sendmail.
>>> I cannot find where to specify a relay host.
>>> I have a hosts that originate mail to remote
>>> recipients but use a mail hub (Postfix) on
>>> another machine on local network to
>>> relay this mail to the outside. It is not spam.
>>> These messages will be used to verify web
>>> client supplied e-mail addresses.
>>> Thank you in advance;
>>> Jeff K
>> you can specify a smart host in (or the mc-file created
>> for your host). The macro you need is already in there, you just need
>> to uncomment it. It's something like:
>> dnl Dialup users should uncomment and define this appropriately
>> define(`SMART_HOST', `')
>This looks like it is for dial up modem connection to an isp's mail 
>But I do not see why it would not work for a relay host on the local 
>I have static ip addresses on DSL service. I will have to refresh my 
>on what is a smart host. This relay host would also relay the response 
>to an
>email verification message back to the originating host. And I am 
>that would be a virtual domain alias in the relay host. I am learning 
>as I go
>Thank you for your help. Much appreciated
>Jeff K

Consider using the mailertable for this. There is a sample file in /etc/mail.

Happy trails,
Jack L. Stone

System Admin

More information about the freebsd-questions mailing list