[exim] Same smart host, different account per domain

Top Page
Delete this message
Reply to this message
Author: Age Bosma
Date:  
To: exim-users
Subject: [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?