-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
On 29/11/12 10:20, Han Boetes wrote:
> We have a webserver running suphp. Very nice since it's no longer
> apache sending emails but the actual user and now we really can
> block spamming. All outgoing mail -- even local mail -- is sent
> through a an antispam server and then delivered where it should.
>
> To find the authentication of users we have this recipe:
>
> auth_login: driver = plaintext public_name = LOGIN client_send = :
> ${extract{user}{${lookup{$sender_address}lsearch{/etc/exim_auth}}}}
> \ :
> ${extract{pass}{${lookup{$sender_address}lsearch{/etc/exim_auth}}}}
>
> And a lookup file which looks like this:
>
> [email protected]: [email protected] pass=somepassword
>
> Works great, except for one user: The bounce user. His emailaddress
> is empty.
>
> How can I change my recipe so that the bounce user can get a proper
> login?
Change all instances of:
$sender_address
To:
<$sender_address>
Then in your exim_auth file, surround all email addresses with angled
brackets. The bounce/null email address would be:
<>
- --
Mike Cardwell https://grepular.com/ http://cardwellit.com/
OpenPGP Key 35BC AF1D 3AA2 1F84 3DC3 B0CF 70A5 F512 0018 461F
XMPP OTR Key 8924 B06A 7917 AAF3 DBB1 BF1B 295C 3C78 3EF1 46B4
-----BEGIN PGP SIGNATURE-----
iQGGBAEBCgBwBQJQt1KsMBSAAAAAACAAB3ByZWZlcnJlZC1lbWFpbC1lbmNvZGlu
Z0BwZ3AuY29tcGdwbWltZTgUgAAAAAAVABpwa2EtYWRkcmVzc0BnbnVwZy5vcmdt
aWtlLmNhcmR3ZWxsQGdyZXB1bGFyLmNvbQAKCRCdJiMBwdHnBL3QCACjkXHPv2I/
bXH/54YI8j5xbUXFWakJaUB2FdrNBK1AAgCrIdy7D/NeeYclRpAsHB0tjRTThjJK
+qZ6caRGI4t2+P+rEYDcEQMPjJp4Q90rg2KwjB8sxh4SBFiZkCZbuKXCVwr7DRRw
FdJqZmWI+GNi54lnllEPlmnvyyBtTiAU7UjpDdv+Pkq4n5rh4BwnlBbyBd/CWg0T
ACViSPzgtHtIvLwv94Q6SKmi494I98mH2CKziMVfafEIAwk9CMl4a+Ow1QJfj1I0
SmJMP2UBcGDd9ErLIy27izXTH8cN+ETiY1MBsP9wn+s8YTZ29wZo9JyOXgOdZRFW
f0G3ltzYayOV
=I/kN
-----END PGP SIGNATURE-----
--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/