Any Sendmail guru's?
rdls at rdls.net
Tue Aug 29 09:04:52 BST 2000
Kirill Ponomarew wrote:
> On Sun, 27 Aug 2000, Dan Cuthbert wrote:
> |anyone out there fantastic with sendmail?
> |i have setup sendmail 8.11, configured it as said in the howto, yet
> |when i send a mail it uses the hostname and domain name of my box, not
> |the mailaddress (afx.org.uk)
> |this is what i changed as per instructed...
> |# my official domain name
> |# ... define this only if sendmail cannot automatically determine your
> |# "Smart" relay host (may be null)
> |# who I masquerade as (null for no masquerading) (see also $=M)
> |hmm this has me stumped!
> |Cheers for any help!
> did you use your .mc file ?
> If you want to change your domain name - try MASQUERADE feature
> add the following line in your .mc file
> rebuild .mc file with m4
> m4 sendmail.cf< sendmail.mc
If you want outgoing mail to be rewritten as if from `afx.org.uk', you
will need to add:
to your .mc file. The file `/usr/src/etc/sendmail/freebsd.mc' is a good
starting point. To compile it you need something like:
/usr/src/contrib/sendmail/cf/m4/cf.m4 your.mc > sendmail.cf
The file `/usr/src/contrib/sendmail/cf/README' is a good reference.
More information about the Ukfreebsd