Re: Split MX and user name lookup part II

2008-11-06 Thread Noel Jones
Wietse Venema wrote: Michael Moritz: This is a problem we came upon while setting up the split MX (described earlier on this list). On the the smtp gateway I have this in master.cf smtp inet n - - - 20 smtpd -o cleanup_service_name=pre-cleanup

Re: Split MX and user name lookup part II

2008-11-06 Thread Wietse Venema
Michael Moritz: > This is a problem we came upon while setting up the split MX (described > earlier on this list). On the the smtp gateway I have this in master.cf > > smtp inet n - - - 20 smtpd > -o cleanup_service_name=pre-cleanup > -o smtpd_pro

Re: Split MX and user name lookup part II

2008-11-06 Thread mouss
Michael Moritz wrote: This is a problem we came upon while setting up the split MX (described earlier on this list). On the the smtp gateway I have this in master.cf smtp inet n - - - 20 smtpd -o cleanup_service_name=pre-cleanup -o smtpd_proxy_f

Re: Split MX and user name lookup

2008-11-06 Thread mouss
Michael Moritz wrote: On Wednesday 05 November 2008 14:41:42 mouss wrote: Thanks. Any idea how to populate /etc/postfix/relay_recipients with all valid usernames? rsync, mysql, postgres, ldap, ... etc. Thanks but I have quite a number of different soures for usernames (sql, aliases, virtuser

Re: Split MX and user name lookup part II

2008-11-06 Thread Wietse Venema
The killer switch is to use content_filter always. Since you don't mind using content_filter under load, you can use it always and have and a more consistent experience for your users. Wietse

Re: Split MX and user name lookup

2008-11-06 Thread Wietse Venema
Michael Moritz ?: > since I use a recipients cache file that will grow and need maintaining. (The > third problem would be having to delete (?) the cache every time users, > aliases, sql, etc are altered on the mail/smtp machine). Could postfix offer > some sort of "verify this address" serv

Split MX and user name lookup part II

2008-11-06 Thread Michael Moritz
This is a problem we came upon while setting up the split MX (described earlier on this list). On the the smtp gateway I have this in master.cf smtp inet n - - - 20 smtpd -o cleanup_service_name=pre-cleanup -o smtpd_proxy_filter=127.0.0.1:10024

Re: Split MX and user name lookup

2008-11-06 Thread Nikita Kipriyanov
Michael Moritz пишет: Thjanks Wietse and Nikita. I currently use reject_unverified_recipient. There are two (or maybe three) problems I have with this though: First if an address hasn't been checked it gives a 4xx while checking on the main machine - I'm already using gps for greylisting and th

Re: Split MX and user name lookup

2008-11-06 Thread Michael Moritz
On Thursday 06 November 2008 14:03:09 Wietse Venema wrote: > Nikita Kipriyanov: > > Michael Moritz ?: > > > On Wednesday 05 November 2008 14:41:42 mouss wrote: > > >>> Thanks. Any idea how to populate /etc/postfix/relay_recipients with > > >>> all valid usernames? > > >> > > >> rsync, mysql, po

Re: Split MX and user name lookup

2008-11-06 Thread Wietse Venema
Nikita Kipriyanov: > Michael Moritz ?: > > On Wednesday 05 November 2008 14:41:42 mouss wrote: > > > >>> Thanks. Any idea how to populate /etc/postfix/relay_recipients with all > >>> valid usernames? > >>> > >> rsync, mysql, postgres, ldap, ... etc. > >> > > > > Thanks but I have

Re: Split MX and user name lookup

2008-11-06 Thread Nikita Kipriyanov
Michael Moritz пишет: On Wednesday 05 November 2008 14:41:42 mouss wrote: Thanks. Any idea how to populate /etc/postfix/relay_recipients with all valid usernames? rsync, mysql, postgres, ldap, ... etc. Thanks but I have quite a number of different soures for usernames (sql, al

Re: Split MX and user name lookup

2008-11-06 Thread Michael Moritz
On Wednesday 05 November 2008 14:41:42 mouss wrote: > > Thanks. Any idea how to populate /etc/postfix/relay_recipients with all > > valid usernames? > > rsync, mysql, postgres, ldap, ... etc. Thanks but I have quite a number of different soures for usernames (sql, aliases, virtusers, ..). Just th

Re: Split MX and user name lookup

2008-11-05 Thread mouss
Michael Moritz wrote: On Wednesday 05 November 2008 10:40:59 Алексей Доморадов wrote: The problem I have run into is recipient verification on the smtp gateway. The valid recipients come from a variety of places, so for the moment I'm using recipient verification. But I'm wondering if there is a

Re: Split MX and user name lookup

2008-11-05 Thread Michael Moritz
On Wednesday 05 November 2008 10:40:59 Алексей Доморадов wrote: > > The problem I have run into is recipient verification on the smtp > > gateway. The valid recipients come from a variety of places, so for the > > moment I'm using recipient verification. But I'm wondering if there is a > > better s

Re: Split MX and user name lookup

2008-11-05 Thread Алексей Доморадов
> The problem I have run into is recipient verification on the smtp gateway. > The > valid recipients come from a variety of places, so for the moment I'm using > recipient verification. But I'm wondering if there is a better solution. > Something that allows me to query the mail/smtp machine f

Split MX and user name lookup

2008-11-05 Thread Michael Moritz
Hi I am in the process of setting up a split MX system, if that's what it is generally called. Basically, the idea is to have a dedicated smtp gateway for accepting mail into the mail system that cames from other MTAs and have outgoing mail from authenticated users go out from a different machi