Full hostname in addresses..
mmarion at qualcomm.com
mmarion@qualcomm.com
Wed Apr 21 01:55:56 MEST 2004
I've only got one small pet peeve with tkrat right now that I'm trying to fix.
For historical reasons, our sendmail.cf strips out the domain (so that even in
headers, mail from someone is just username instead of
username@qualcomm.com).
What drives me nuts is that when I reply to people, the reply mail appends the
entire hostname to their username (i.e. username@miguelito.qualcomm.com).
This usually doesn't bother me, but some people have shown that they get this
entire hostname in their headers (I guess the sendmail.cf only strips things
that exactly match @qualcomm.com) and sometimes replies to me from outside
bounce because of this (why? I'm not sure, our MX records shouldn't allow this
to happen).
Anyway, I've been poking around in the source and trying to find a way to
override this so that it just puts @qualcomm.com on there, or adds nothing...
but can't figure out where it's happening. I thought I had it in ratAppInit
but my attempt to change it didn't work.
Before anyone asks, yes, I do have my full email of mmarion@qualcomm.com
listed in the preferences for from, as well as setting qualcomm.com as the
domain in the advanced settings for "Domain to add to unqualified addresses"
but it's still adding in the hostname too.
Am I missing something obvious here?
I realize that what I'm trying to do might actually break an rfc.. but I
pretty much need to do it since we already do funky things with mail
internally.
Oh, and this was with 2.1.2 and now 2.1.4 as well.
--
Mike Marion-Unix SysAdmin/Staff Engineer-http://www.qualcomm.com
UNIX - live it,love it,fork() it !
More information about the TkRat
mailing list