Sorry...thought I'd had put that in there.  I do have a host-list
surrounded by { }.  I even tried just putting just a single IP address
in the rules.

Here are the errors I'm getting:

pf.conf:86: syntax error
pf.conf:87: syntax error
pf.conf:88: syntax error
pf.conf:89: syntax error
pf.conf:90: syntax error
pfctl: Syntax error in config file: pf rules not loaded

These point straight to my rdr lines.  I know I'm missing something.  I
got some hints off list I'm gonna check out.

Thanks for your help and time!

Shane



Stuart Henderson wrote:
> On 2007/11/19 22:05, Shane Harbour wrote:
>> For the last few hours I've been knocking my head against my desk.  I'm
>> trying to setup spamd for the first time and keep receiving syntax
>> errors on my redirect statements.  My redirect statements are:
> ..
>> rdr on $ext_if inet proto tcp from <whitelist> to $mail_svcs port smtp -> 
>> $mail_svcs port smtp
> ..
>> My redirect for ftp-proxy works just fine.  Every thing I've read (man
>> pages, google, etc) says my syntax is right.  I've tried making it
>> identical to the statement in the pf.conf(5) and still got the same
>> error so I figured I'd turn to more knowledgeable folks.  I am using
>> binat for my mail server and $mail_svcs contains my server IPs.
> 
> You missed the important line (the definition of $mail_svcs),
> and it would help to include the error message. But the first thing
> to check is that you have a host-list (surrounded by { }) and not
> just bare addresses.

Reply via email to