Sendmail problem (I think)
William Park
opengeometry-FFYn/CNdgSA at public.gmane.org
Wed Nov 16 08:02:55 UTC 2005
On Tue, Nov 15, 2005 at 08:55:24PM -0500, Madison Kelly wrote:
> William Park wrote:
> >On Mon, Nov 14, 2005 at 09:31:20PM -0500, Madison Kelly wrote:
> >
> >>Hi,
> >>
> >> I've recently merged a few different servers onto one new box. So far
> >>mail seems to be working (on Sendmail/Fedora Core 3). The problem is my
> >>boss (which makes this a big problem! :) ) is telling me that people are
> >>getting emails from him addressed at: user-3nIZrVSwZJRWVPTZF4YnfwC/G2K4zDHf at public.gmane.org instead of
> >>user-9IKiO1iGCm+Xj1p+fO2waQ at public.gmane.org
> >
> >
> >Are you saying, that he's sending email with
> > From: user-3nIZrVSwZJRWVPTZF4YnfwC/G2K4zDHf at public.gmane.org
> >when it should be
> > From: user-9IKiO1iGCm/QT0dZR+AlfA at public.gmane.org
> >? Or, is it the other way around?
>
> His client software is set to 'user-9IKiO1iGCm/QT0dZR+AlfA at public.gmane.org' but when he sends it the
> server seems to be messing with the header and changing the address to
> 'user-3nIZrVSwZJRWVPTZF4YnfwC/G2K4zDHf at public.gmane.org'. It hasn't done it today though after I added
> all users mapped to their respective domains in the 'virtusertable' file
> so maybe that fixed it?
Virtusertable is for incoming. For outgoing, it's
MASQUERADE_AS(`domain.com')
FEATURE(`masquerade_envelope')
or
FEATURE(`genericstable')
GENERICS_DOMAIN(`server.domain.com')
Then, in /etc/mail/genericstable,
user user-9IKiO1iGCm/QT0dZR+AlfA at public.gmane.org
Here, GENERICS_DOMAIN() is needed if email reader qualifies the
address, which it usually does.
If email reader puts something else in From: header, like
From: user-9IKiO1iGCm/QT0dZR+AlfA at public.gmane.org
then Sendmail should not touch it.
--
William Park <opengeometry-FFYn/CNdgSA at public.gmane.org>, Toronto, Canada
ThinFlash: Linux thin-client on USB key (flash) drive
http://home.eol.ca/~parkw/thinflash.html
BashDiff: Super Bash shell
http://freshmeat.net/projects/bashdiff/
--
The Toronto Linux Users Group. Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
More information about the Legacy
mailing list