> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://docs.clientexec.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Why is email piping with DirectAdmin sending the email twice?

 To fix this problem you need to remove or comment out "unseen" from your exim.conf.

 Example:

```html
virtual_aliases_nostar:
driver = redirect
allow_defer
allow_fail
data = ${if exists{/etc/virtual/$/aliases}{${lookup{$local_part}lsearch{/etc/virtual/$/aliases}}}}
file_transport = address_file
group = mail
pipe_transport = virtual_address_pipe
retry_use_local_part
#unseen
#include_domain = true
```

 Reference: [www.directadmin.com/forum/showthread.php?threadid=976](https://www.directadmin.com/forum/showthread.php?threadid=976) 