Simply add this mailproc.tab file to any SERVER2 accounts :

"smtprelay"[TAB]"SERVER1_fqdn_or_ip"

(you can add automaticaly this file using your sync batch on each server2
created account)

Alternate solution easier to 'sync' :
Don't create 'mailboxes' on server2 when doing sync with server1 but create
'cmdaliases' files with same content as the 'mailproc.tab' file above, ie :

For the mailbox [EMAIL PROTECTED] on Server1, create file

<mailroot>/cmdaliases/mydomain.com/myuser.tab

containing only this line :

"smtprelay"[TAB]"SERVER1_fqdn_or_ip"[NEWLINE]

So only a single file per user to add or delete to keep server2 in sync with
server1 :)

Francis



-----Message d'origine-----
De: [EMAIL PROTECTED]
A: xmail@xmailserver.org
Date: 07/05/08 17:36
Objet: [xmail] Different server for sending emails

Hi all,
 

Here is my setup:

 

SERVER1: This server is used only for POP3

 

SERVER2: I want this server to handle SMTP outgoing emails from SERVER1
users.

 

I have managed to replicate SERVER1 user base to SERVER2 so I can set my
clients with SMTP-auth. But if I set my clients to use SERVER2 as the
SMTP
server, it doesn't get out of SERVER2 since SERVER2 has the domain and
username in its user base.

 

Is there a way to tell XMAIL to send out the emails even if they could
be
delivered locally, bypassing local delivery? Or having XMAIL check MX
records instead of it's domain base.

 

Thank you

 

-fred

 

 


-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]

Reply via email to