/ Forside / Teknologi / Internet / Sikkerhed / Nyhedsindlæg
Login
Glemt dit kodeord?
Brugernavn

Kodeord


Reklame
Top 10 brugere
Sikkerhed
#NavnPoint
stl_s 37026
arlet 26827
miritdk 20260
o.v.n. 12167
als 8951
refi 8694
tedd 8272
BjarneD 7338
Klaudi 7257
10  molokyle 6481
avoid masquerade of HS domain
Fra : Ole Michaelsen


Dato : 08-10-04 17:05

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

 
 
Søg
Reklame
Statistik
Spørgsmål : 177558
Tips : 31968
Nyheder : 719565
Indlæg : 6408925
Brugere : 218888

Månedens bedste
Årets bedste
Sidste års bedste