SendMail Help!

Steve Bertrand iaccounts at ibctech.ca
Fri Mar 17 15:23:55 UTC 2006


>  What do I've to change so that:
> 
>  -My Domain Name (must be sub.dom.com)?

Don't quite understand what you are getting at here.

>  -Bind sendmail to an IP?

Here is a pretty good document I found that describes how to bind only
to loopback address, but I'm sure you could hack it to force it to
listen to a different address instead. It also explains rebuilding your
cf file from mc.

http://www.chinalinuxpub.com/doc/www.siliconvalleyccie.com/linux-hn/send
mail.htm

>  -Setup my sendmail to deliver the mails to another mail 
> server(dom.com)?

Check out the mailertable.sample file. I believe that it is there where
you will alias the subdomain to another location.

Create a new mailertable file, then whilst in your mail directory
(usually /etc/mail), just type make, or:

# makemap hash mailertable < mailertable

HTH,

Steve



More information about the freebsd-questions mailing list