Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: exim: users

Smarthost and Virtualhost

 

 

exim users RSS feed   Index | Next | Previous | View Threaded


farzad.sehat at gmail

Nov 21, 2009, 2:55 AM

Post #1 of 2 (425 views)
Permalink
Smarthost and Virtualhost

Hi all,
I'm French so excuse my english level :)

I'have a web server with several virtual host made by apache which
corresponds to several internat domain.
For instance :

- www.domain1.com hosted in my server at /var/www/www.domain1.com
- www.domain2.com hosted in my server at /var/www/www.domain2.com
- ...

I want to use Exim4 just for sending mail via Gmail and NOT to recieve mails
on my server.
So I set up /etc/exim4/passwd.client and I can send mail very well.

The problem is that all mails for all virtual domains are sent by the only
account configured in passwd.client.
The question is that:

- When I am in /var/www/www.*domain**1*.com and I use the mail function
of php I want mails to be sent via *the first account* configured in
passwd.client
- When I am in /var/www/www.*domain**2*.com and I use the mail function
of php I want mails to be sent via *another second account* configured in
passwd.client

How to have several distinct gmail accounts configured in Exim4 for several
distinct virtual host configured in apache ?

Thanks

M. Farzad Sehat
farzad.sehat [at] gmail
--
## List details at http://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/


exim-users at spodhuis

Nov 21, 2009, 6:34 PM

Post #2 of 2 (394 views)
Permalink
Re: Smarthost and Virtualhost [In reply to]

On 2009-11-21 at 11:55 +0100, Farzad Sehat wrote:
> I want to use Exim4 just for sending mail via Gmail and NOT to recieve mails
> on my server.
> So I set up /etc/exim4/passwd.client and I can send mail very well.

/etc/exim4/passwd.client is a Debian-specific file, managed by Debian
logic.

You will probably get better answers by going to
http://wiki.debian.org/PkgExim4 and reading the guidelines there and
then perhaps asking on the Debian mailing-list for Exim:
http://lists.alioth.debian.org/mailman/listinfo/pkg-exim4-users

Regards,
-Phil

--
## List details at http://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/

exim users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.