From: "Dirk H. Schulz" on 8 Apr 2010 06:32 Hi all, I have configured my Postfix to use multiple access lists like that: > check_client_access hash:/usr/pkg/etc/postfix-in/list1, > hash:/usr/pkg/etc/postfix-in/list2 I think this has worked some time, but it does not now - list2 seems not to be used. I do not find anything in official docs or Google about using multiple lists. Is this not possible (any more), does it need a different syntax? Any hint or help is appreciated. Dirk
From: Ralf Hildebrandt on 8 Apr 2010 06:43 * Dirk H. Schulz <dirk.schulz(a)kinzesberg.de>: > Hi all, > > I have configured my Postfix to use multiple access lists like that: > >check_client_access hash:/usr/pkg/etc/postfix-in/list1, > >hash:/usr/pkg/etc/postfix-in/list2 > I think this has worked some time, but it does not now - list2 seems > not to be used. Use: check_client_access hash:/usr/pkg/etc/postfix-in/list1, check_client_access hash:/usr/pkg/etc/postfix-in/list2, > I do not find anything in official docs or Google about using > multiple lists. Is this not possible (any more), does it need a > different syntax? > > Any hint or help is appreciated. > > Dirk > -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt(a)charite.de | http://www.charite.de
From: Magnus =?iso-8859-1?Q?B=E4ck?= on 8 Apr 2010 07:09 On Thu, April 8, 2010 12:32 pm, Dirk H. Schulz said: > I have configured my Postfix to use multiple access lists like that: >> check_client_access hash:/usr/pkg/etc/postfix-in/list1, >> hash:/usr/pkg/etc/postfix-in/list2 > I think this has worked some time, but it does not now - list2 seems not > to be used. If you omit the restriction name and only state the lookup table name, the meaning depends on which smtpd_whatever_restrictions you place it. You probably mean this: smtpd_whatever_restrictions = check_client_access hash:/usr/pkg/etc/postfix-in/list1, check_client_access hash:/usr/pkg/etc/postfix-in/list2 If that doesn't help, show "postconf -n" output. > I do not find anything in official docs or Google about using multiple > lists. Is this not possible (any more), does it need a different syntax? The number of access lists is only limited by memory and the maximum number of open files. -- Magnus B�ck magnus(a)dsek.lth.se
From: "Dirk H. Schulz" on 8 Apr 2010 10:56 > On Thu, April 8, 2010 12:32 pm, Dirk H. Schulz said: > > > I have configured my Postfix to use multiple access lists like that: > >> check_client_access hash:/usr/pkg/etc/postfix-in/list1, > >> hash:/usr/pkg/etc/postfix-in/list2 > > I think this has worked some time, but it does not now - list2 seems not > > to be used. > > If you omit the restriction name and only state the lookup table name, the > meaning depends on which smtpd_whatever_restrictions you place it. You > probably mean this: > > smtpd_whatever_restrictions = > check_client_access hash:/usr/pkg/etc/postfix-in/list1, > check_client_access hash:/usr/pkg/etc/postfix-in/list2 > Does the same apply for header checks? Until now I had > header_checks = regexp:/usr/pkg/etc/postfix-in/header_checks, > regexp:/usr/pkg/etc/postfix-in/header_checks_virus Thanks for your help, Dirk
From: Victor Duchovni on 8 Apr 2010 11:45 On Thu, Apr 08, 2010 at 04:56:49PM +0200, Dirk H. Schulz wrote: >> smtpd_whatever_restrictions = >> check_client_access hash:/usr/pkg/etc/postfix-in/list1, >> check_client_access hash:/usr/pkg/etc/postfix-in/list2 This is rather pointless, why not have the computer concatenate the source files into a single file that is hashed once, and run faster with a much lower memory footprint? > Does the same apply for header checks? Until now I had > >> header_checks = regexp:/usr/pkg/etc/postfix-in/header_checks, >> regexp:/usr/pkg/etc/postfix-in/header_checks_virus This checks the second table if the first does not match, and is completely equivalent to using a single table obtained from: cat header_checks header_checks_virus > header_checks_merged.tmp mv header_checks_merged.tmp header_checks_merged -- Viktor. P.S. Morgan Stanley is looking for a New York City based, Senior Unix system/email administrator to architect and sustain our perimeter email environment. If you are interested, please drop me a note.
|
Pages: 1 Prev: hotmail problem Next: amavis Delivery status notification(DSN) failing |