Hi!
With sendmail 8.11.7p1+Sun on solaris 8, acting as a pure mail gateway,
I see that the header from and to have the hostname+domain name of the
sendmail box appended.
That is: the envelope Mail From and Rcpt To are correctly set (username,
@, domain name), and the From and the To in the headers only contain
usernames, no @-sign, no domains, when my sendmail box receives the
email from the internal mailserver.
Then it ads an @ followed by its own FQDN.
How can I avoid it doing that?
The sendmail.mc file in use:
include(`/usr/lib/mail/m4/cf.m4')
define(`confDEF_USER_ID',``1:1'')
OSTYPE(`solaris8')
undefine(`UUCP_RELAY')
undefine(`BITNET_RELAY')
define(`STATUS_FILE', `/var/adm/sendmail.st')dnl
define(`confMAX_MESSAGE_SIZE', `20000000')
define(`confTO_CONNECT', `1m')
define(`confTRY_NULL_MX_LIST',false)
define(`confDONT_PROBE_INTERFACES',true)
define(`confTO_IDENT', `15s')dnl
define(`confPRIVACY_FLAGS',`goaway')
define(`confSMTP_LOGIN_MSG', `')dnl
define(`confCW_FILE', `/etc/mail/local-host-names')
FEATURE(`use_cw_file')
FEATURE(`mailertable',`dbm /etc/mail/mailertable')dnl
FEATURE(redirect)
FEATURE(`access_db',`dbm /etc/mail/access')
FEATURE(`blacklist_recipients')
FEATURE(`delay_checks', `friend')
FEATURE(`virtusertable', `dbm /etc/mail/virtusertable')dnl
FEATURE(`accept_unresolvable_domains')
MAILER(smtp)
MAILER(local)
The mail is being received by an application in the other end, which
gets very confused when the To: and From: fields in the header of the
mail contains my host's FQDN after the usernames (From:
me@myhost.mydomain, To:you@myhost.mydomain).
Again: the envelope Mail From and Rcpt To are fine. But I would like sendmail not to
touch the From and To headers.
Thanks,
/Ole
|