Re: exmh(exim) problem
On Mon, Nov 06, 2000 at 11:40:44PM -0600, Lance Hoffmeyer wrote:
>
> I am having problems getting Exmh to enter the correct sender
> in my header. It keeps putting lance@lance instead of
> lance@augustmail.com
>
> In exim.conf I wrote a rewrite script
>
> ^(root|postmailer|mailer-daemon)@* $1@augustmail.com Ffr
>
> but it did not work. Is there something wrong with the rewrite script?
>
> What should I do so write exim and/or Exmh correctly exhibits my email address?
>
This works for me:
In /etc/exim.conf:
######################################################################
# REWRITE CONFIGURATION #
######################################################################
# There are no rewriting specifications in this default configuration file.
# This is an example of a useful rewriting rule---it looks up the real
# address of all local users in a file
*@localhost ${lookup{$1}lsearch{/etc/email-addresses}\
{$value}fail} bcfrF
# End of Exim configuration
# file
and in your situation the file /etc/email-addresses must contain:
lance lance@augustmail.com
Marcelo.
--
______________________________________________________
______ _____________
Marcelo Ramos | \/ __ |
Debian 2.2 GNU/Linux 2.2.17 | |_/ /
Linux registered user #118109 | \
mramos@montevideo.com.uy |_____|\/|_____|\_____\
Firma la peticion de drivers para Linux en :
http://www.libranet.com/petition.spanish.html
Reply to: