Re: [exim] Virtual Hosting

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Shine, Gary
Date:  
À: 'Renaud Allard'
CC: exim-users
Sujet: Re: [exim] Virtual Hosting
Thanks. I will read it again.

I have a final job and then I think the server is ready.

How do I add in a catchall address so that everything except certain
addresses go to a catchall.

My pop aliases file from the old version looks like this

whatever1@domain1:    popbox1
whatever2@domain1:    popbox2
*@domain1:    popbox2


The first 2 lines work well with your config supplied earlier, so can you
extend it to deal with the catchalls.
virtual_aliases:
         driver          = redirect
         allow_fail
         allow_defer
         data =
${lookup{$local_part@$domain}lsearch{/usr/exim/pop3.aliases}}
         file_transport  = address_file
         pipe_transport  = address_pipe
         debug_print     = "R: virtual_aliases for $local_part@$domain"


i.e when no specific address exists it delivers the mail for that domain to
the catchall.

Many thanks
Gary




-----Original Message-----
From: Renaud Allard [mailto:renaud@llorien.org]
Sent: 26 January 2007 16:42
To: gshine@???
Cc: exim-users@???
Subject: Re: Virtual Hosting



Shine, Gary wrote:
> How exacvtly does this veryify the sender?
>
>  # Deny unless the sender address can be verified.
>   require verify        = sender 

>
> I cannot imagine it can very every e-mail address out there so is it
> something to do with verifyoing the headers or looking up on the
> receiving machine?
>
> Confused and documentation is vague.
>


You should read this:
http://www.exim.org/exim-html-4.66/doc/html/spec_html/ch40.html#SECTaddressv
erification
It's not so vague at all ("The first stage of address verification, which
always happens, is to run the address through the routers, in verify mode.")
It tests if routing can succeed, so if the domain doesn't even exist, it
won't be accepted for example.