[Exim] relay from local users

Etusivu
Poista viesti
Vastaa
Lähettäjä: Andre Grueneberg
Päiväys:  
Vastaanottaja: exim-users
Aihe: [Exim] relay from local users
Hi,

I'd like to allow users (with changing IP addresses) that are listed in
/etc/passwd (optionally PAM) to relay over an Exim MTA.
I've set
sender_address_relay = user1@domain : user1@*.domain ...
relay_match_host_or_sender = true
[I know, it's a spam leak]
but with an increasing number of users this isn't easy, even using a
file/dbm lookup.
Optimally I'd like to say something like <all users with UID > 1000>.

Will I have to use a perl lookup or how can I lookup the /etc/passwd?

Many thanks in advance.

Andre
--
Chewy: "I am *NOT* an animal! I am...well, not an animal!"