[Exim] entries in /etc/email-addresses not used with exim-3.…

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Arjen Verweij
Fecha:  
A: exim-users
Asunto: [Exim] entries in /etc/email-addresses not used with exim-3.35-1
Hi,

I'm using the exim package in Debian woody, version 3.35-1. exim is setup
as a satelite system, and I have added sphere:john@??? in
/etc/email-addresses, but the address that is actually used in From: is
sphere@<host>, where host is the extension entered when asked for the
host where mail is normally read.

For now I have added a Reply-To: in my client, but I would prefer it if
the From: field woul actually read what I punched in into
/etc/email-addesses.

Maybe the parsing in the rewriting section of exim.conf is flakey, or I
completely misunderstood the purpose of /etc/email-addresses.


Thank you for reading.

Arjen


# This is /etc/email-addresses. It is part of the exim package
#
# 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@???
#otheruser: someoneelse@???
sphere :r.purgier@???


######################################################################
#                      REWRITE CONFIGURATION                         #
######################################################################


# These rewriters make sure the mail messages appear to have originated
# from the real mail-reading host.

^(?i)(root|postmaster|mailer-daemon)@laptop ${1}@??? Ffr
*@laptop ${1}@??? Ffr
^(?i)(root|postmaster|mailer-daemon)@localhost ${1}@??? Ffr
*@localhost ${1}@??? Ffr
*@in.limbo sphere@??? Ffr


# 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

*@laptop    ${lookup{$1}lsearch{/etc/email-addresses}\
                                                {$value}fail} frFs