[exim-dev] The Router part execute twice

Top Page
Delete this message
Reply to this message
Author: lesve
Date:  
To: exim-dev
Old-Topics: [exim] Tainted filename for search in Exim 4.94-1
Subject: [exim-dev] The Router part execute twice


I have written a router and transport with the keyword unseen


The source is;

relay_by_vps:
  debug_print = "R: Relaying by vps for $domain"
  driver = manualroute
  domains = ! +local_domains
  same_domain_copy_routing = yes
  route_data = vps.lesve.org::587
  transport = remote_smtp_smarthost
  headers_remove = X-Interface: X-Remote: X-Helo
  unseen

save_to_mailbox:
  debug_print = "R: save_to_mailbox"
  driver = manualroute
  domains = ! +local_domains
  transport = maildir_lesve
  user = lesve
  route_data = lesve

maildir_lesve:
  debug_print = "T: maildir_home for user lesve"
  driver = appendfile
  directory = /home/lesve/Maildir/.Sent
  create_directory
  delivery_date_add
  envelope_to_add
  return_path_add
  maildir_format

So to the problem:

The email is copied twice to the maildir But when a try to debug it with the -d it will work with one delivery to maildir

/LeSve