Re: set a catch-all for users that not exists in database

2010-07-01 Thread David Touzeau
I think i have found the solution the solution is to populate the /etc/postfix/virtual with user's emails addresses maps before the catch-all instead this @company.tldall-us...@company.tld fill this: us...@company.tld us...@company.tld us...@company.tld us...@company.tld al

Re: set a catch-all for users that not exists in database

2010-07-01 Thread Markus Schönhaber
01.07.2010 18:13, David Touzeau: > THanks to explain to me the process but what is for you the best > settings to fix the situation ? Hm, I have already said what I consider the best fix for the situation: get rid of the catch-all and implement recipient validation. -- Regards mks

Re: set a catch-all for users that not exists in database

2010-07-01 Thread David Touzeau
On 01/07/2010 17:59, Markus Schönhaber wrote: 01.07.2010 17:38, David Touzeau: this is the content of /etc/postfix/mydestination --- company.tld OK /etc/postfix/aliases --- user1:us...@company.tld user2:us...@company.tld al

Re: set a catch-all for users that not exists in database

2010-07-01 Thread Markus Schönhaber
01.07.2010 17:38, David Touzeau: > this is the content of > > /etc/postfix/mydestination > --- > company.tld OK > > /etc/postfix/aliases > --- > user1:us...@company.tld > user2:us...@company.tld > all-users:all-us...@company.tld >

Re: set a catch-all for users that not exists in database

2010-07-01 Thread David Touzeau
On 01/07/2010 17:22, Markus Schönhaber wrote: 01.07.2010 16:49, David Touzeau: On 01/07/2010 16:34, Markus Schönhaber wrote: Again: What are the contents of /etc/postfix/mydestination? Did you postmap it? And: BTW: what's the point in explicitly setting so many configuration variables

Re: set a catch-all for users that not exists in database

2010-07-01 Thread Markus Schönhaber
01.07.2010 16:49, David Touzeau: > On 01/07/2010 16:34, Markus Schönhaber wrote: Again: >> What are the contents of /etc/postfix/mydestination? Did you postmap it? And: >> BTW: what's the point in explicitly setting so many configuration >> variables to their default values? > Jul 1 16:48:0

Re: set a catch-all for users that not exists in database

2010-07-01 Thread David Touzeau
On 01/07/2010 16:34, Markus Schönhaber wrote: 01.07.2010 15:48, David Touzeau: here it is the postconf -n 2bounce_notice_recipient = postmaster address_verify_negative_cache = yes address_verify_negative_expire_time = 3d address_verify_negative_refresh_time = 3h address_verify_poll_count = 3

Re: set a catch-all for users that not exists in database

2010-07-01 Thread Markus Schönhaber
01.07.2010 15:48, David Touzeau: > here it is the postconf -n > > 2bounce_notice_recipient = postmaster > address_verify_negative_cache = yes > address_verify_negative_expire_time = 3d > address_verify_negative_refresh_time = 3h > address_verify_poll_count = 3 > address_verify_poll_delay = 3s > a

Re: set a catch-all for users that not exists in database

2010-07-01 Thread David Touzeau
On 01/07/2010 15:17, Markus Schönhaber wrote: 01.07.2010 14:40, David Touzeau: here it is the main.cf Post the output of postconf -n next time 2bounce_notice_recipient = postmaster address_verify_negative_cache = yes address_verify_negative_expire_time = 3d address_verify_negative_refresh_t

Re: set a catch-all for users that not exists in database

2010-07-01 Thread Markus Schönhaber
01.07.2010 14:40, David Touzeau: > here it is the main.cf Post the output of postconf -n next time > 2bounce_notice_recipient = postmaster > address_verify_negative_cache = yes > address_verify_negative_expire_time = 3d > address_verify_negative_refresh_time = 3h > address_verify_poll_count = 3

Re: set a catch-all for users that not exists in database

2010-07-01 Thread David Touzeau
here it is the main.cf 2bounce_notice_recipient = postmaster address_verify_negative_cache = yes address_verify_negative_expire_time = 3d address_verify_negative_refresh_time = 3h address_verify_poll_count = 3 address_verify_poll_delay = 3s address_verify_positive_expire_time = 31d address_verify

Re: set a catch-all for users that not exists in database

2010-07-01 Thread zhong ming wu
On Wed, Jun 30, 2010 at 9:39 AM, David Touzeau wrote: > Dear > > I would like to redirect messages that recipient are not listed in aliases > to a single mailbox > > have set > > virtual_alias_maps=hash:/etc/postfix/virtual > > use...@domain.tld use...@domain.tld > use...@domain.tld use...@domain.

Re: set a catch-all for users that not exists in database

2010-07-01 Thread Markus Schönhaber
01.07.2010 10:49, David Touzeau: > I would like to know if for this kind of virtual maps > > use...@domain.tld use...@domain.tld > use...@domain.tld use...@domain.tld > use...@domain.tld use...@domain.tld > @domain.tld noexist...@domain.tld > > when i send an email to use...@domain.tld postfix s

Re: set a catch-all for users that not exists in database

2010-07-01 Thread David Touzeau
Thanks for this information markus I would like to know if for this kind of virtual maps use...@domain.tld use...@domain.tld use...@domain.tld use...@domain.tld use...@domain.tld use...@domain.tld @domain.tld noexist...@domain.tld when i send an email to use...@domain.tld postfix send to noex

Re: set a catch-all for users that not exists in database

2010-07-01 Thread Markus Schönhaber
01.07.2010 00:07, David Touzeau: > dear I know this is not a good idea but this is for an internal server > in order to auto-create mailboxes. > A script parse the catch-all mailbox and create the appropriate mailbox > > THe behavior is when i send mail to use...@domain.tld the catch-all > tak

Re: set a catch-all for users that not exists in database

2010-06-30 Thread Charles Marcus
On 2010-06-30 6:07 PM, David Touzeau wrote: > dear I know this is not a good idea but this is for an internal server > in order to auto-create mailboxes. > A script parse the catch-all mailbox and create the appropriate mailbox I have to ask... why? What is the purpose of creating these mailboxes?

Re: set a catch-all for users that not exists in database

2010-06-30 Thread David Touzeau
dear I know this is not a good idea but this is for an internal server in order to auto-create mailboxes. A script parse the catch-all mailbox and create the appropriate mailbox THe behavior is when i send mail to use...@domain.tld the catch-all take the hand and all mails are transfered to it

Re: set a catch-all for users that not exists in database

2010-06-30 Thread Ansgar Wiechers
On 2010-06-30 Charles Marcus wrote: > On 2010-06-30 10:00 AM, Ansgar Wiechers wrote: >> On 2010-06-30 David Touzeau wrote: >>> I would like to redirect messages that recipient are not listed in >>> aliases to a single mailbox >>> >>> have set >>> >>> virtual_alias_maps=hash:/etc/postfix/virtual >

Re: set a catch-all for users that not exists in database

2010-06-30 Thread Charles Marcus
On 2010-06-30 10:00 AM, Ansgar Wiechers wrote: > On 2010-06-30 David Touzeau wrote: >> I would like to redirect messages that recipient are not listed in >> aliases to a single mailbox >> >> have set >> >> virtual_alias_maps=hash:/etc/postfix/virtual >> >> use...@domain.tld use...@domain.tld >> u

Re: set a catch-all for users that not exists in database

2010-06-30 Thread Ansgar Wiechers
On 2010-06-30 David Touzeau wrote: > I would like to redirect messages that recipient are not listed in > aliases to a single mailbox > > have set > > virtual_alias_maps=hash:/etc/postfix/virtual > > use...@domain.tld use...@domain.tld > use...@domain.tld use...@domain.tld > use...@domain.tld use

set a catch-all for users that not exists in database

2010-06-30 Thread David Touzeau
Dear I would like to redirect messages that recipient are not listed in aliases to a single mailbox have set virtual_alias_maps=hash:/etc/postfix/virtual use...@domain.tld use...@domain.tld use...@domain.tld use...@domain.tld use...@domain.tld use...@domain.tld @domain.tld noexist...@domain.