[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sending mail out (only)
On Thu, 1 Aug 2002, William L Anderson wrote:
> However, I'm having trouble configuring either sendmail or exim to
> produce a legal outgoing address; it always produces
> root@sigmund.localdomain
>
> I'd like to force this to be my real ISP email address.
with exim, you could either go by setting qualify_domain to the domain
you want to use, then send the messages with sender being unqualified;
exim will qualify it to what you've specified there (also read up on
sender_unqalified_hosts and basically on all the *qualif* options as
well!)
alternatively (for some reason, i like this one more), you could use
address rewriting, probably something like
*@sigmund.localdomain $1@isp.dom.ain bcfrF
or even
*@* $1@isp.dom.ain bcfrF
(untested and off the top of my head).
chapter 34 of the exim specification (v3; v4 should be around there as
well) deals with address rewriting extensively.
while i fully agree with Ben that hosed dns should be fixed first and
foremost, exim (i'm sure sendmail too, i just don't quite know how
anymore) can be used to circumvent the problem (in parts, at least).
--
[-]