Re: [exim] help creating a rule for virtual accounts

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Evgeniy Berdnikov
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [exim] help creating a rule for virtual accounts
On Tue, May 30, 2017 at 11:56:41AM -0500, Dan Liles via Exim-users wrote:
> What I'm trying to do is an lsearch condition to look for a delivery address
> in the passwd file for acceptance.
>
> condition = {$lookup {passwd {$local_part@$domain}}}


Syntax is incorrect. Test with "-be" command line option.

> my hope is that if
> George.sammy@??? <mailto:George.sammy@thedomain.com> would be try
> if the email was to this person and it would do a local delivery.


If user "george.sammy" is registered in /etc/passwd, and Exim is configured
for local delivery for "thedomain.com" domain, then mail to address
<George.sammy@???> have to be delivered locally.
By default via the "appendfile" transport.

> Is there something else I can use to pull the address in its entirety? ( my
> passwd file has it email address as the user id ).


Check whether Exim configuration assign target domain for local delivery.
Check address with "-bt" command line option.
Add "-d-all+route" option to debug.
--
Eugene Berdnikov