Re: [Exim] aliases

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Luke Pascoe
Data:  
Para: Raymond J. Raiani, exim-users
Assunto: Re: [Exim] aliases
I was playing around with this a little while ago and I came up with this
which pretty much emulates the sendmail configuraion, unfortunately it's for
exim 4 (also on debian/stable) - but it's not hard to build, and it really
is easier to configure.

You may be able to adjust it for v3 though.

== exim.conf ==
domainlist local_domains = /etc/exim/local-host-names
domainlist relay_to_domains = /etc/exim/relay-domains

# In Routers, below the dnslookup router
virtual_user:
driver = redirect
data = ${lookup{$local_part\@$domain}lsearch{/etc/exim/virtusertable}}
file_transport = address_file
pipe_transport = address_pipe

wildcard:
driver = redirect
data = ${lookup{\@$domain}lsearch{/etc/exim/virtusertable}}
file_transport = address_file
pipe_transport = address_pipe

----- Original Message -----
From: "Raymond J. Raiani" <ray@???>
To: <exim-users@???>
Sent: Wednesday, January 29, 2003 4:06 AM
Subject: [Exim] aliases


>
> If I have a system user named johnny
>
> Johnny recieves alot of spam addressed to johnny@???
> I would like to bouce all mail delivered to johnny@??? but deliver
> all mail addressed to john@??? as well as johnny@???.
>
> According to the documentation this can be accomplished with these 2 lines
> in /etc/aliases
>
> johnny@???: :unknown:
> john: johnny
>
> I would also like to know if it is possible to have mail that is returned
> (responded to with an undeliverable error) in this manner to be delivered
> anyway.
>
> I am running exim 3.35 on debian/stable
> This is the default debian compilation available via apt.
>
> Is there a rough approximation of the sendmail virtusertable I must use or
> do I just have the syntax wrong?
>
>
>
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim

details at http://www.exim.org/ ##
>
>
>