On Mon, Oct 07, 2013 at 01:06:59PM -0600, Blake wrote:
> I tried Victor's soltuion adding the code he noted however postfix would
> fail to reload or restart generating the following errors.
> Oct 7 12:47:32 relay01 postfix[22897]: warning: macro name syntax error:
> "/etc/postfix/"
Your settings deviated from what I advised.
> > To use CIDR blocks in a table, you MUST use a CIDR table. Hash
> > tables cannot be used for this:
> >
> > mynetworks.cidr:
> > # RHS required, though value is otherwise ignored.
> > 10.147.9.0/24 trusted
> > 10.148.1.0/24 trusted
> > 10.148.120.0/24 trusted
> > 10.148.17.0/24 trusted
> > 10.148.24.0/24 trusted
> > 10.147.1.32 trusted
> > 10.148.32.0/24 trusted
> > 10.149.16.0/24 trusted
> >
> > Try:
> >
> > cidr = cidr:${config_directory}/
> > mynetworks = ${cidr}mynetworks.cidr
Use the above verbatim. Do not use ${$config_directory},
${/etc/postfix/} or similar...
To report a problem, send output of "postconf -n". Only if that
command is failing due to severe configuration syntax issues, attach
the raw main.cf file (don't cut/paste it, that can introduce substantial
difference from the actual content).
--
Viktor.