[exim] Duplicate Confirm RCPT (Autoreply)

Top Page
Delete this message
Reply to this message
Author: Silmar A. Marca
Date:  
To: exim-users
Subject: [exim] Duplicate Confirm RCPT (Autoreply)
I make a return_receipt_to, using "driver = autoreply", but if the name is a
alias of mysql system, the autoreply run 2x. It is a problem...
Have a clause of not duplicate this message?

begin routers
return_receipt_to:
  driver                = accept
  condition             = ${if or {{!eq
{$h_return-receipt-to:}{}}{!eq{$h_disposition-notification-to:}{}}{!eq
{$h_x-confirm-reading-to:}{}}}{true}fail}
  transport             = return_receipt_to
  senders               = !${domain}
  domains               = +local_domains
  unseen


domain_alias:
  driver                = redirect
  .....


....
begin transports
return_receipt_to:
  driver                = autoreply
  #once_repeat          = 1d
  #once                 = /var/spool/exim/db/receipt-to
  #once_file_size       = 5000K
  from                  = ${local_part}@${domain}
  to                    = ${if
def:header_return-receipt-to:{${local_part:$h_return-receipt-to:}@${domain:$h_return-receipt-to:}}{
\
                          ${if
def:header_disposition-notification-to:{${local_part:$h_disposition-notification-to:}
@${domain:$h_disposition-notification-to:}}{ \
                          ${if
def:header_x-confirm-reading-to:{${local_part:$h_x-confirm-reading-to:}@${domain:$h_x-confirm-reading-to:}}{
\
                          ${if
def:header_reply-to:{${local_part:$h_reply-to:}@${domain:$h_reply-to:}}{${local_part:$h_from:}
@${domain:$h_from:}}\
                          }}}}}}}
  subject               = ${if def:h_Subject: {Return Receipt:
${quote:${escape:$h_Subject:}}}{Return Receipt}}
  text                  =   "Your message was successfully delivered to a
distant mailbox <${local_part}@${domain}>\
                           \nThis not is a read confirmation. Please wait to
confirmation of open and read message by user!\


\n----------------------------------------------------------------------------------------------\n\n\
                            $message_headers"



Cordialmente, Silmar A. Marca
GrupoGSN - Desenvolvimento, Implantação e Verificação de Servidores
Profissionais baseados em Linux/Novell
http://www.grupogsn.com.br/~marca/
------------------------------------------------------------
Se algo não lhe faz mal (fisico, moral ou psicologicamente),
experimente! O máximo e você perder tempo! E tempo, e
o que você tem a vida toda pra perder.....
Mais vale um instante de prazer que uma eternidade fútil!
------------------------------------------------------------