[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re[2]: sendmail user masquerading
Ira Abramov <lists-linux-il@ira.scso.com> wrote:
> On Tue, 11 Jan 2000, Ohad M. Somjen wrote:
>
> > hi,
> > i'm trying to configure sendmmail.
> > got it up and running, i use fetchmail to get the mail and sendmail to
> > deliver it locally. now the problem is that when i send mail it does not
> > rewrite the FROM so i get an illegel mail address that no one can reply to
> > - or worse, someone else will get the answer.
>
> it is not the job of the MTA to fix the MUA's overlooks.
IMO, tuning a (single) MTA is better than configuring each and every MUA for
each and every user. But more important is, that many MTA simply refuse to talk
to a peer with no valid DNS entry.
> fix the client
> and you should be fine. do not attempt to fix the sendmail.cf unless you
> have a 10 day vacation from work coming.
Actually, it's rather simple using the m4 macros (the default way of configuring
sendmail these days). The .mc file should contain
MASQUERADE_AS(your.isp.provider.domain)
FEATURE(allmasquerade)
FEATURE(masquerade_envelope)
This should be enough if the local usernames coinside with those @isp.
Otherwise, one should use the genericstable feature.
Regards,
Evgeny
--
____________________________________________________________
/ Evgeny Stambulchik <fnevgeny@plasma-gate.weizmann.ac.il> \
/ Plasma Laboratory, Weizmann Institute of Science, Israel \ \
| Phone : (972)8-934-3610 == | == FAX : (972)8-934-3491 | |
| URL : http://plasma-gate.weizmann.ac.il/~fnevgeny/ | |
| Finger for PGP key >=====================================+ |
|______________________________________________________________|
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il