[courier-users] Backup MX, alias

2007-04-21 Thread Bernd Plagge
Hi,

I have set up a server as Backup MX and it is working though not
perfectly.

The DNS definition for MX servers is like this:
  
 mail.domain1   10 mx
 mail02.domain1  20 mx

In courier I defined:

  hosteddomains:
   --
  mail02.domain1

  esmtpacceptmailfor:
   --
  mail02.domain1


As suggested previously in this list I'd like to set up alias
for all existing mail accounts to avoid mail for invalid
accounts to be accepted (and later bounced by the primary mail
server).

I tried it with:
   
  [EMAIL PROTECTED]  -  user1-domain1

but this didn't work. 
So, what is the correct way to set these aliases up?

Any help is appreciated!
Thanks,

Bernd   


-- 
プラゲ ベェアント - Bernd Plagge
ファースト・チョイス・インターネット(有)
First Choice Internet Ltd., Tokyo
Tel. 03-4500-7799
Fax. 03-4400-3723
mail: [EMAIL PROTECTED]
url: http://www.choicenet.ne.jp

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Backup MX, alias

2007-04-21 Thread Gordon Messmer
Bernd Plagge wrote:
 
 As suggested previously in this list I'd like to set up alias
 for all existing mail accounts to avoid mail for invalid
 accounts to be accepted (and later bounced by the primary mail
 server).
 
 I tried it with:

   [EMAIL PROTECTED]  -  user1-domain1
 
 but this didn't work. 

That doesn't look like a line from an alias file.

To prevent looping, you'll want to use the hostname of your primary MX,
rather than the domain name in the alias destination.  Naturally, the
primary MX will need to consider its hostname a local domain.  If your
primary mx is mx1.domain1, then the alias should look like:

[EMAIL PROTECTED]: [EMAIL PROTECTED]

There should be no MX records in DNS for mx1.domain1.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Backup MX, alias

2007-04-21 Thread Bernd Plagge
On Sat, 21 Apr 2007 12:05:04 -0700
[EMAIL PROTECTED] wrote:

 差出人: Gordon Messmer [EMAIL PROTECTED]
 宛先:: courier-users@lists.sourceforge.net
 件名: Re: [courier-users] Backup MX, alias
 日付: Sat, 21 Apr 2007 10:59:26 -0700
 
 Bernd Plagge wrote:
  
  As suggested previously in this list I'd like to set up alias
  for all existing mail accounts to avoid mail for invalid
  accounts to be accepted (and later bounced by the primary mail
  server).
  
  I tried it with:
 
[EMAIL PROTECTED]  -  user1-domain1
  
  but this didn't work.   
 
 That doesn't look like a line from an alias file.
 
 To prevent looping, you'll want to use the hostname of your primary MX,
 rather than the domain name in the alias destination.  Naturally, the
 primary MX will need to consider its hostname a local domain.  If your
 primary mx is mx1.domain1, then the alias should look like:
 
 [EMAIL PROTECTED]: [EMAIL PROTECTED]
 
 There should be no MX records in DNS for mx1.domain1.


Thanks Gordon,

that answers it.

Best regards,
Bernd

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users