[Exim] virtual domains deliver locally

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Jeremy C. Reed
Date:  
À: exim-users
Sujet: [Exim] virtual domains deliver locally
I am trying to set up virtual emails but I can't get it to deliver
locally. For example, I want all email that doesn't match to deliver
locally to user "reed."

It seems to add my qualify_domain to the unqualified address.

So my question is: how can I get it to try to deliver locally if it
doesn't have a domain address?

I added to my /etc/exim.conf

virtual:
driver = aliasfile
domains = lsearch;/etc/mail/local_domains
no_more
rewrite = false
file = /etc/mail/domains/${lc:${length_1:${domain}}/${domain}}
search_type = lsearch*


terribilis:/etc/mail/domains/r# cat /etc/mail/domains/r/reedmedia.net
sales:  reed@???
*:      reed



terribilis:/etc/mail/domains/r# sendmail -d3 -bv JUNK@???
Exim version 2.05 debug level 3 uid=0 gid=0
probably Berkeley DB version 1.8x (native mode)
virtual director: lsearch key=junk
file="/etc/mail/domains/r/reedmedia.net"
virtual director generated reed@???
<MORE CLIPPED>

Thanks,

Jeremy C. Reed
------------------------------------------------------------