Re: Exim configuration on cable modem gateway
Phil Brutsche wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> A long time ago, in a galaxy far, far way, someone said...
>
> > I'd really like to get the system log summaries outside of a bounce
> > message. Ideally, I'd like the mail to get sent using the machine's
> > external host name as the address in the outgoing SMTP envelope. (And
> > I'd prefer not to set this explicitly, since I do get an IP address
> > and a host name via DHCP.) Failing this, I'd like to send mail out
> > through my provider's mail server, and use some address as the SMTP
> > sender. Can Exim deal with this setup, and if so, how? Would some
> > other SMTP daemon be a better choice here?
>
> I've had the same problem, and solved it with sender rewriting in
> exim. This is what I have at the end of /etc/exim.conf:
>
> # This rewriting rule is particularly useful for dialup users who
> # don't have their own domain, but could be useful for anyone.
> # It looks up the real address of all local users in a file
>
> *@fury.brutsche.com ${lookup{$1}lsearch{/etc/email-addresses}\
> {$value}fail} bcfrF
>
> # End of Exim configuration file
>
> The contents of /etc/email-addresses:
>
> # This file contains email addresses to use for outgoing mail. Any local
> # part not in here will be qualified by the system domain as normal.
> #
> # It should contain lines of the form:
> #
> #user: someone@isp.com
> #otheruser: someoneelse@anotherisp.com
> phil: pbrutsch@creighton.edu
>
I think the same effect could be achieved simply by changing
'qualify_domain' in exim.conf to 'creighton.edu', in this case. If I'm
understanding the problem correctly.
Reply to: