[exim] setting exim with custom auth

Góra strony
Delete this message
Reply to this message
Autor: n-other@artel.kz
Data:  
Dla: exim-users
Temat: [exim] setting exim with custom auth
Hello all,

I'm trying to setup exim, which will accept relaying only if

1) sender is our local user and he has authorized himself
2) we have received mail from any source, which should be delivered locally

second part can be done easily, but I can't figure out how to do the first one.
the main problem that acl_smtp_mail does not accept 'domains' condition, so I
can't really know
which user from the message is coming. some people can say that these parts
can be
exchanged (i.e. accept message for local_domains and if it's not check
whatever user has authenticated),
but I want to be sure that if local user sends mail to any direction (local or
external)
he is the real one. Is there any trick, that can be used to solve the problem?


---
With Best Regards,
Roman Hlynovskiy