Re: [Exim] how to check remote recipient

Inizio della pagina
Delete this message
Reply to this message
Autore: Alberto Tablado
Data:  
To: 'exim-users'
Oggetto: Re: [Exim] how to check remote recipient
El jue, 29-01-2004 a las 17:14, Balzi Andrea escribió:
> This message is in MIME format. Since your mail reader does not understand
> this format, some or all of this message may not be legible.
> --
> [ Picked text/plain from multipart/alternative ]
> Hi
>
> Sorry for HTML format of the mail, but is a exchange problem.
>
> In company we use exim and we have little experience.
> We use exim as relay and the mailbox are defined in to two server
> ms-exchange5.5.
> We would not to forward the mail to the exchange if the mailbox do not
> exist.


Which are the domains for both Exchange servers and value of
primary_domains list?

> We have tried to read the documentation but we do not understand where we
> mistake.
> The configuration file it was migrated through the tool from exim3 and after
> we add some line.
> Our ACL definition:
>
> begin acl
>
> #!!# ACL that is used after the RCPT command
> check_recipient:
>   # Exim 3 had no checking on -bs messages, so for compatibility
>   # we accept if the source is local SMTP (i.e. not over TCP/IP).
>   # We do this by testing for an empty sending host field.
> #  accept  hosts = :
>   accept  domains = +local_domains
>   accept  hosts = +relay_hosts
>           endpass
>           message = unknow mailbox
>           verify = recipient

    ^^^^^^^^^^^^^^^^^^^^^^^^^
This only checks if the recipient's address is routable. If you want to
test if the mailbox exists, try verify = recipient/callout.


>   accept  hosts = +auth_relay_hosts
>           endpass
>           message = authentication required
>           authenticated = *
>   deny    message = relay not permitted

>
> #!!# ACL that is used after the DATA command
> check_message:
>   deny    senders = :
>           message = A valid sender header is required for bounces
>           verify  = header_sender
>   accept

>
> #!!# ACL that is used after the VRFY command
> check_vrfy:
> accept
>
>
> Andrea Balzi
>
>
> Il primo agosto u.s ha preso ufficialmente avvio Arthis S.p.A. (Accenture e
> Rinascente Together In Services) a seguito del trasferimento da parte di
> Rinascente S.p.A. del già operante Centro Servizi interno. Arthis S.p.A. si
> sostituisce al precedentemente operante Centro Servizi nell'erogazione di
> tutte quelle attività prima a quest'ultimo afferenti.
>
>
> --
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>