betabug... Sascha Welter

home english | home deutsch | Site Map | Sascha | Kontakt | Pro | Weblog | Wiki

19 October 2005

Switching to reject_rbl_client on Postfix / Mac OS X Server

Messing with the config file

On a Mac OS X Server 10.3 machine, the config file was having lots of warnings:

postfix/smtpd[5270]: warning: 
restriction reject_maps_rbl is going away. 
Please use reject_rbl_client  instead
I was searching up and down on the web to find out what exactly would be the right way to get rid of the warning. The problem is that I did not find where Mac OS X server stores the records from the GUI "Server Admin", so I could not "automatically" include them. (BTW: #postfix on freenode won the price for this weeks most unhelpfull irc channel this month, a well formulated question with a lot of background info and it gets ignored like it's a metaquestion from a known lamer? Go back to talking about beer, #postfix.) Read on for the solution...


Now I have the blacklist servers only in the /etc/postfix/main.cf file. The line in the main.cf file was:

smtpd_client_restrictions = 
    reject_maps_rbl,hash:/etc/postfix/smtpdreject
And now it is:
smtpd_client_restrictions =
    permit_sasl_authenticated,
    reject_rbl_client sbl-xbl.spamhaus.org,
    reject_rbl_client bl.spamcop.net,
    hash:/etc/postfix/smtpdreject
permit_sasl_authenticated was needed, because without that clients who wanted to relay using SMTP AUTH were denied too, based on some blacklist. On another note, to wrap lines in postfix config files you add whitespace on the start of the line, it's not using the common format of escaping the line break with \. Generally I think postfix configs are not better than sendmails, you still have to dig through a lot of weirdly named keywords to find the one that does what you want.

Posted by betabug at 15:33 | Comments (0) | Trackbacks (0)
ch athens
Life in Athens (Greece) for a foreigner from the other side of the mountains. And with an interest in digital life and the feeling of change in a big city. Multilingual English - German - Greek.
Main blog page
Recent Entries
Best of
Some of the most sought after posts, judging from access logs and search engine queries.

Apple & Macintosh:
Security & Privacy:
Misc technical:
Athens for tourists and visitors:
Life in general:
<< IE Bug Bitten | Main | Listen to iPod While on Hold >>
Comments
There are no comments.
Trackbacks
You can trackback to: http://betabug.ch/blogs/ch-athens/216/tbping
There are no trackbacks.
Leave a comment