[exim-dev] Router execute twice

Góra strony
Delete this message
Reply to this message
Autor: Lennart Svensson
Data:  
Dla: exim-dev
Stare tematy: [exim] Tainted filename for search in Exim 4.94-1
Temat: [exim-dev] Router execute twice
Sorry but I use wrong subject last time

----------------------------------------------------

I have written a router and tranport 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 withone deliver to maildir

/LeSve