Re: [EXIM] new user question

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Adam M Donahue
Date:  
À: Exim
Sujet: Re: [EXIM] new user question
Could anyone clarify the following error message?

Error message:

1998-11-15 21:25:59 0zfEMZ-0001cS-00 == test@???
D=virtual_specific defer (-10): </usr/local/exim/dumps/metainc.com-mail> -
bad address generated by virtual_specific director: missing domain\n
1998-11-15 21:25:59 0zfEMZ-0001cS-00 Frozen

Here is my virtual_specific director:

virtual_specific:
driver = smartuser
new_director = system_aliases
domains = "lsearch;/usr/local/exim/aliases/aliases.virtual"
new_address =
${lookup{$local_part@$domain}lsearch{/usr/local/exim/aliases/ali
ases.virtual} {$value} fail}


Adam


On Sun, 15 Nov 1998, Andromeda wrote:

> At 16:35 14/11/1998 -0500, you wrote:
> >instance. wrongaddress@??? would be bounced (for now; perhaps in
> >the future the customer will want all mail). Here's what I've set up to
> >handle this:
>
> Hi Adam,
>
> use this rather. This approach has helped me a great deal, and is so easy
> to maintain (add and modify as appropriate):
>
> Under the main configuration settings (in your configure file):
>
> local_domains = "domain1.com:mydomain.com:\
>               lsearch;/usr/exim/aliases/domains"

>
> Under transports:
>
> local_delivery:
> driver = appendfile;
> file = /var/spool/mail/${local_part}
>
> Under the directors settings:
>
> system_aliases:
> except_domains = "lsearch;/usr/exim/aliases/domains"
> driver = aliasfile;
> file = /etc/aliases,
> search_type = lsearch
>
> userforward:
> except_domains = "lsearch;/usr/exim/aliases/domains"
> no_verify,
> driver = forwardfile;
> file = .forward,
>
> localuser:
> except_domains = "lsearch;/usr/exim/aliases/domains"
> driver = localuser,
> transport = local_delivery;
>
> virtual:
> domains = "lsearch;/usr/exim/aliases/domains",
> driver = aliasfile,
> no_more;
> file = /usr/exim/aliases/$domain-aliases,
> search_type = lsearch
>
> Voila. Done. This requires the following files from you:
>
> 1. domains (contains the domains that you do virtual hosting for, in this
> case metainc.com). Its format is as follows:
>
> metainc.com
> domain2.com
> .
> .
> etc.
>
> 2. metainc.com-aliases (contains the addresses in metainc.com that you want
> to redirect). The format is as follows:
>
> bob: bob@???
> adam: adam@???
> .
> .
> etc.
>
> /usr/exim/aliases/ is my directory where I store those files to make it
> easier for administration.
>
> This way it works just fine, and mail to non-existent aliases gets bounced.
> :) - You can check whether selecting *: allows you to do a catch-all.
>
> If you want to allow people to use your server as relay, you can add this
> to your general settings:
>
> sender_address_relay = "partial-lsearch;/usr/exim/local/localdomains"
>
> where localdomains is the list of domains that CAN send mail via your
> servers (so you can even restrict which virtual domains are allowed to use
> your SMTP server to send email).
>
> Andromeda
>
> ==============================================================
> = The Andromeda HTML Workshop - http://www.htmlworkshop.com/ =
> =                Home of Search & Replace 98                 =
> ==============================================================

>
>



--
*** Exim information can be found at http://www.exim.org/ ***