[exim] Same smart host, different account per domain

Inizio della pagina
Delete this message
Reply to this message
Autore: Age Bosma
Data:  
To: exim-users
Oggetto: [exim] Same smart host, different account per domain
Hi,

I'd like to set up exim4 to use gmail's smtp servers. My server hosts
different domains though. Tutorials like
http://wiki.debian.org/GmailAndExim4 only talk about adding account
details to passwd.client for just one account. I would like to be able
to use different accounts using one and the same smtp server based on
the domain.

Example:
*domainX.com*
smtp server: smtp.gmail.com
account: userX, passwordX

*domainY.com*
smtp server: smtp.gmail.com
account: userY, passwordY

Is this possible? Does it require the same approach as mentioned in
the tutorial or should it be done completely different?