Prev: Question about bounce related spam
Next: Wanting incoming and outgoing e-mail montiroed for spam andvirii
From: Wietse Venema on 21 Apr 2010 07:11 Alex: > Hi, > > >> $ postfix check > >> postfix: fatal: /etc/postfix/main.cf, line 700: missing '=' after > >> attribute name: "warn_if_reject reject_maps_rbl > >> backscatter.spameatingmonkey.net" > >> Apr 19 02:35:33 smtp01 postfix[13351]: fatal: /etc/postfix/main.cf, > >> line 700: missing '=' after attribute name: "warn_if_reject > >> reject_maps_rbl backscatter.spameatingmonkey.net" DO NOT USE warn_if_reject AT THE BEGINNING OF A RULE. Wietse
From: Noel Jones on 21 Apr 2010 09:01 On 4/20/2010 10:47 PM, Alex wrote: > Hi, > >>> $ postfix check >>> postfix: fatal: /etc/postfix/main.cf, line 700: missing '=' after >>> attribute name: "warn_if_reject reject_maps_rbl >>> backscatter.spameatingmonkey.net" >>> Apr 19 02:35:33 smtp01 postfix[13351]: fatal: /etc/postfix/main.cf, >>> line 700: missing '=' after attribute name: "warn_if_reject >>> reject_maps_rbl backscatter.spameatingmonkey.net" >>> >> >> Duh. read the error message again and tell me what it has to do with >> reject_rbl_client. > > Yes, sorry, I meant to use reject_rbl_client, but it doesn't work there either: > > Apr 20 23:43:02 smtp01 postfix[30380]: fatal: /etc/postfix/main.cf, > line 609: missing '=' after attribute name: "warn_if_reject > reject_rbl_client backscatter.spameatingmonkey.net" > > It appears that it's not supported in my version (postfix-20020613). > > As an interim solution, do you think I could get a later postfix > working, say, postfix-1.1.13 without much difficulty, and benefit from > some of these features to ease testing and migration to postfix-2.7 > later? > > Thanks, > Alex You're still using warn_if_reject wrong; that's why you're getting an error. If you post your "postconf -n" we can show you exactly what to change to use warn_if_reject.
From: Noel Jones on 21 Apr 2010 12:14 On 4/21/2010 9:31 AM, Alex wrote: > Hi, > >> You're still using warn_if_reject wrong; that's why you're getting an error. >> >> If you post your "postconf -n" we can show you exactly what to change to use >> warn_if_reject. > > Thanks so much for your help. I've included it below. Ideally I'd like > to have support for smtpd_restriction_classes and > reject_unknown_reverse_client_hostname or related lesser strict > restrictions. You'll notice I have two instances set up, for use with > amavisd. For new features you'll need to upgrade. As a general rule, upgrading postfix is pretty easy if you read the RELEASE_NOTES. That said, smtpd_restriction_classes is a fairly old feature, and likely supported by your version. For the others, you'll need to upgrade. > > relay_domains = $mydestination, mydomain.com, mkt.mydomain.com, > sales.mydomain.com Unless these are really relay_domains (relayed to a different server for final delivery) they shouldn't be listed here. relay_domains = > smtpd_recipient_restrictions = reject_non_fqdn_sender, > reject_non_fqdn_recipient, > reject_unknown_sender_domain, > reject_unknown_recipient_domain, > reject_unauth_pipelining, > permit_mynetworks, > check_client_access hash:/etc/postfix/client_checks, > reject_invalid_hostname, > reject_non_fqdn_hostname, > reject_unauth_destination, > check_helo_access hash:/etc/postfix/helo_checks, > check_recipient_access pcre:/etc/postfix/recipient_checks, > check_recipient_access pcre:/etc/postfix/main_relay_recip_checks, > check_recipient_access pcre:/etc/postfix/sales_recip_map, > check_sender_access hash:/etc/postfix/sender_checks, > check_client_access hash:/etc/postfix/client_checks, > reject_maps_rbl Change the above line to warn_if_reject reject_maps_rbl -- Noel Jones
First
|
Prev
|
Pages: 1 2 3 4 5 6 Prev: Question about bounce related spam Next: Wanting incoming and outgoing e-mail montiroed for spam andvirii |