Re: Accepting messages only for valid users in a secondary MX server

2009-02-25 Thread Noel Jones
Santiago Romero wrote: Now I have a nice hash file with all the valid accounts, but ... How do I deal in a relay_recipient_maps file with qmail's mailing list addresses? How does qmail know that an address is valid or not? If a Postfix maptype can be invented that reads that type of

Re: Accepting messages only for valid users in a secondary MX server

2009-02-25 Thread Santiago Romero
Now I have a nice hash file with all the valid accounts, but ... How do I deal in a relay_recipient_maps file with qmail's mailing list addresses? How does qmail know that an address is valid or not? If a Postfix maptype can be invented that reads that type of file, then it could be q

Re: Accepting messages only for valid users in a secondary MX server

2009-02-25 Thread Wietse Venema
Santiago Romero: > Now I have a nice hash file with all the valid accounts, but ... > > How do I deal in a relay_recipient_maps file with qmail's mailing list > addresses? How does qmail know that an address is valid or not? If a Postfix maptype can be invented that reads that type of file, th

Re: Accepting messages only for valid users in a secondary MX server

2009-02-25 Thread Santiago Romero
The list if valid recipients in those domains is specified in relay_recipient_maps. Specify one or more map files listing the valid recipients; all other recipients are rejected. http://www.postfix.org/postconf.5.html#relay_recipient_maps If this file is scp'ed as a plain text file, you wil

Re: Accepting messages only for valid users in a secondary MX server

2009-02-23 Thread Noel Jones
Santiago Romero wrote: Postfix calls domains that it accepts mail for but delivers elsewhere (such as MX backups) relay_domains. You can use a plain text file or any supported postfix map type. The list if valid recipients in those domains is specified in relay_recipient_maps. Specify one

Re: Accepting messages only for valid users in a secondary MX server

2009-02-23 Thread Santiago Romero
Postfix calls domains that it accepts mail for but delivers elsewhere (such as MX backups) relay_domains. You can use a plain text file or any supported postfix map type. The list if valid recipients in those domains is specified in relay_recipient_maps. Specify one or more map files listi

Re: Accepting messages only for valid users in a secondary MX server

2009-02-23 Thread Noel Jones
Santiago Romero wrote: To summarize it, currently I have 2 files called: valid_accounts.txt: a list of valid accounts in the primary MX. domains_to_check_user.txt: Holds a list of domains. Server only checks RCPT against valid_accounts.txt for the domains present in this file. When a new emai

Re: Accepting messages only for valid users in a secondary MX server

2009-02-23 Thread Erwan David
On Mon, Feb 23, 2009 at 05:01:09PM CET, Santiago Romero said: > > Hi. > > I have a secondary MX server with qmail that I'm migrating to postfix. > Currently, my qmail server checks RCPT TO addresses against a plain text > file that contains all the valid email accounts for some of the domains

Accepting messages only for valid users in a secondary MX server

2009-02-23 Thread Santiago Romero
Hi. I have a secondary MX server with qmail that I'm migrating to postfix. Currently, my qmail server checks RCPT TO addresses against a plain text file that contains all the valid email accounts for some of the domains that is making MX-backup for. That "plain-text" file is scp'ed from the