[exim] Re: Exim, virtual users, and usernames

Top Page
Delete this message
Reply to this message
Author: Andrew C Aitchison
Date:  
To: Cam Ellison
CC: exim-users
Subject: [exim] Re: Exim, virtual users, and usernames
On Thu, 8 Aug 2024, Cam Ellison via Exim-users wrote:

> On 2024-08-08 09:47, Cam Ellison via Exim-users wrote:
>> Status update:
>>
> As is often the case, I spoke too soon. SMTP works for emails between virtual
> users, but does not work for outgoing mail.
>
> The local_part of the sender name is missing, though the domain is present.
>
> I have tried this (immediately before acl_check_data:)
>
> acl_check_smtp:
>
>     accept
>
> condition = ${if eq{$sender_address}{${lookup mysql{SELECT
> CONCAT(email_username,'@',domain) FROM league WHERE \      
> email_username='${quote_mysql:$local_part}' AND status='ACTIVE'}}}}
>
> to no avail.


Should domain be defined in that condition ?


> There obviously is a way to get exim to verify and include the sender; I
> certainly can't find it.


-- 
Andrew C. Aitchison                      Kendal, UK
                    andrew@???


--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/