Re: Debugging address_data
Peter Thomassen via Exim-users <[email protected]>
| Newsgroups | gmane.mail.exim.user |
|---|---|
| Organization | a4a GmbH |
| Message-ID | <[email protected]> |
On 8/7/25 13:47, Jeremy Harris via Exim-users wrote:
> Exim has had a native SRS capability since 4.95, which would save
> you a whole bunch of complexity.
Yes. I was curious to learn why it broke.
> On 2025/08/07 12:11 PM, Peter Thomassen via Exim-users wrote:
>> The added X-SRS header contains the expression
>>
>> <${quote_local_part:${local_part:$address_data}}@${domain:$address_data}>
>>
>> which, in actual email, expands to: <""@>
>
> If you run it with debug enabled, what is the result of the readsocket expansion?
failed to connect to socket /tmp/srsd: No such file or directory
-->
:defer: SRS daemon failure
It turns out that Ubuntu 24.04 uses systemd with PrivateTmp=true, which mounts an overlay on top of /tmp/ for the service.
Installing the following file helps:
# cat /etc/systemd/system/exim4.service.d/override.conf
[Service]
PrivateTmp=false
Thanks for the debug pointer, I should have tried that. Anyway, perhaps the above is of use to someone.
Best,
Peter
--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## [email protected]
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/