Re: using cidr notation in client_access

2013-01-13 Thread LEVAI Daniel
On szo, jan 12, 2013 at 18:07:56 +0100, Tom Hendrikx wrote: > On 12-01-13 17:39, LEVAI Daniel wrote: > > On szo, jan 12, 2013 at 14:11:12 +0100, Bastian Blank wrote: > >> On Sat, Jan 12, 2013 at 01:51:26PM +0100, LEVAI Daniel wrote: > >>> How should I put this... My

Re: using cidr notation in client_access

2013-01-12 Thread LEVAI Daniel
On szo, jan 12, 2013 at 14:11:12 +0100, Bastian Blank wrote: > On Sat, Jan 12, 2013 at 01:51:26PM +0100, LEVAI Daniel wrote: > > How should I put this... My question is not in regards to how to store > > IP networks (w/ CIDR postfix) in PostgreSQL; this is somewhat given. > &g

Re: using cidr notation in client_access

2013-01-12 Thread LEVAI Daniel
On szo, jan 12, 2013 at 14:00:08 +0100, Benny Pedersen wrote: > LEVAI Daniel skrev den 2013-01-12 13:51: > > >How should I put this... My question is not in regards to how to > >store > >IP networks (w/ CIDR postfix) in PostgreSQL; this is somewhat given. > > tel

Re: using cidr notation in client_access

2013-01-12 Thread LEVAI Daniel
On szo, jan 12, 2013 at 13:17:45 +0100, Benny Pedersen wrote: > LEVAI Daniel skrev den 2013-01-12 09:51: > > >... which works for unique IP lookups, but I wish to use CIDR > >postfixes. > >Is it possible to combine the cidr: lookups with > >proxy:pgsql? >

using cidr notation in client_access

2013-01-12 Thread LEVAI Daniel
Hi! I have the following parameter in main.cf (Postfix 2.9): proxy_read_maps = proxy:pgsql:/etc/postfix/client_access-sql.cf, [...] smtpd_client_restrictions = check_client_access proxy:pgsql:/etc/postfix/client_access-sql.cf, [...] ... which works for unique IP lookups, but I wish to use CIDR p

using alias_maps and virtual_alias_maps hand-in-hand

2012-12-13 Thread LEVAI Daniel
Hi! I thought I could combine (chain together) my alias_{database,maps} tables with my virtual_alias_maps table. I figured that if I specify in my aliases table: root: daniell and in my virtual table: daniell daniell@email_address then mails for root from localhost would end up in the specifie

Re: how to use 'user address' in virtual alias table with virtual domains

2012-11-22 Thread LEVAI Daniel
On cs, nov 22, 2012 at 08:57:46 -0500, Wietse Venema wrote: > LEVAI Daniel: > > Now I had the idea to simplify the $virtual_alias_maps table, and not > > specify common usernames (like abuse, postmaster etc...) for every > > single virtual domain separately, but specify only

how to use 'user address' in virtual alias table with virtual domains

2012-11-22 Thread LEVAI Daniel
Hi! I have a few virtual domains listed in $virtual_mailbox_domains, and I have some aliases defined in $virtual_alias_maps to map a few username variations under a few virtual domains to a single specific virtual domain (like l...@virtdom1.org -> l...@virtdom.org, l...@virtdom2.org -> l...@virtdo

smtp destination address restriction

2012-10-25 Thread LEVAI Daniel
Hi! I'm looking for a way to restrict outgoing mail with postfix's smtp(8) based on the destination mx host/address. Like with the parameter smtpd_client_restrictions for smtpd(8). I would like to specify the restriction in 'domain.com' or '1.2.3.4' ip address form. Is this possible with postfix 2