![]() |
Blacklist outgouing mail
Hi,
A major Slovenian free e-mail provider has recently gone bust. As a result, thousands of outgoing e-mails are being deferred in our server's mail logs, as some of the hosted sites still try to send e-mail to these addresses. Is there a way to tell postfix (through ISPConfig if possible) to completely ignore any e-mail being sent out, whose recipient belongs to a certain domain? Postfix should not try to send such messages and if possible, not even log the attempt. I tried adding a record to "Email > Global Filters > Postfix Blacklist" with "@offending-domain.tld" as Blacklist Address and Recipient as Type. This doesn't seem to have the desired effect though. |
Try this:
add a email route / (transport) in ispconfig with: domain: offending-domain.tld type: error destination: This email address does not exist anymore. |
Quote:
Code:
Aug 24 20:32:34 prod postfix/pickup[8518]: 4D0F51CF1F2: uid=0 from=<root> |
Quote:
Requirements: the dns (mx or a) records of that provider domain must no longer exist. If it suits your needs you will able ( modding your /etc/postfix/main.cf ) to do the trick in a better way ..you can avoid to receive the entire messages before dropping them (blocking them at smtp first dialog level) .. saving bandwith :-) Bye.. bajodel. |
Quote:
The provider in question is actually email.si: Code:
$ dig email.si IN MXQuote:
|
Quote:
Postfix will look at MX and A records -> not present -> reject Quote:
Bye.. bajodel. |
Quote:
Quote:
Thanks, till and bajodel, for helping out. |
| All times are GMT +2. The time now is 17:46. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.