RE: Sendmail Config
Hi Jeremy,
my main problem is that sendmail doesn't change my 'From:' line. I don't
want to use a smart host
for mail delivery so the domain from my 'From:' line must be resolvable.
These are the -I think- important lines from my /etc/mail/sendmail.mc.
LOCAL_CONFIG
Cwmail.shadow.local
FEATURE(`use_cw_file')dnl
FEATURE(`use_ct_file')dnl
FEATURE(`nouucp', `reject')dnl
FEATURE(`smrsh')dnl
FEATURE(`allmasquerade')dnl
FEATURE(`always_add_domain')dnl
FEATURE(`masquerade_envelope')dnl
FEATURE(`genericstable', `hash -o /etc/mail/genericstable.db')dnl
GENERICS_DOMAIN_FILE(`/etc/mail/genericdomain')dnl
LOCAL_DOMAIN(`shadow.local')dnl
MASQUERADE_AS(`shadow.local')dnl
EXPOSED_USER(root uucp)dnl
MAILER_DEFINITIONS
MAILER(local)dnl
MAILER(smtp)dnl
The last lines are only for the cyrus mailer.
This configuration should run on my server. My client -also sendmail- is
configured to forward
all mails to this machine (FEATURE(`nullclient', `mail.shadow.local')).
I hope these are enough information for helping me. ;-)
Thanks in advance.
Bye
Sven
--
+--------------------------------------------------------------------+
| Please reply only to sgaerner@gmx.net |
| Other email addresses may no longer be valid... |
| |
| Do not send HTML mails, they may not be read... |
+--------------------------------------------------------------------+
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net
Reply to: