Robert Fitzpatrick wrote:
I have a domain getting hit this morning that is not being used any
longer, so I decided to just reject all mail to that domain.

what do you exactly mean by "not used"? if you think it can be "recycled", contact me offlist.

I put the
domain in my recipient_checks file as 'example.com REJECT', postmap'd
the file and did postfix reload. But still piling up in the logs with
address verification probes, I have my recipient_checks before address
verification in my smtpd_recipient_restrictions, can someone tell me
where else I need to reject the domain...thanks, Robert

what you describe should work. you can check your map with 'psotmap -q ...'.



esmtp# postconf -n
[snip]
mail_name = WebTent ESMTP Postfix Internet Mail Gateway

remove this. the default is good for everybody. the mail_name is used in Received headers, and it's not very nice to make it harder to parse these, given that it's already too hard than it should. people may punish you by adding /WebTen ../ spamassassin rules.

[snip]
> relay_domains = ldap:/usr/local/etc/postfix/ldap/transport.cf

oh no. don't mix transports and relay domains.

smtpd_banner = $myhostname ESMTP $mail_name USE OF THIS SERVER INDICATES THAT 
YOU HAVE READ AND AGREED TO OUR AUP.  UCE IS NOT ALLOWED.

you'd be richer if you replace this with
.... Use of this server indicates that you agree to pay us a monthly fee of 2000 USD, for a period of 12 months.

oh, and while I am in, my attorney recommends that I have no contact with any organization which banners or disclaimers are not formally validated. so you're gonna end up in my BL.

no, I'm not kidding. it's called a "risk minimization policy". and I trust my attorney.


smtpd_data_restrictions = reject_unauth_pipelining, permit
smtpd_helo_restrictions = permit_mynetworks

this is useless. the default is permit.

[snip]
transport_maps = ldap:/usr/local/etc/postfix/ldap/transport.cf

note that transport_maps is a "latency sensitive" map. you'd better have your ldap respond as needed...


Reply via email to