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.