On my server spamhaus is rejecting emails as I have my Static IP in the headers.
What is the best to do a fix this so my email server properly sends mail out to various mail servers.
Return-Path: <>
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on server.revnet
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=NO_RELAYS,URIBL_BLOCKED autolearn=ham version=3.3.1
X-Original-To: email@my-server
Delivered-To: email@myip.isp
Received: by (myip.isp) (Postfix) id B23612017E2; Thu, 16 May 2019 18:24:12 +0800 (AWST)
Date: Thu, 16 May 2019 18:24:12 +0800 (AWST)
From: MAILER-DAEMON@myip.isp (Mail Delivery System)
Subject: Undelivered Mail Returned to Sender
To: email@my-server
Auto-Submitted: auto-replied
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status; boundary="706802017E1.1558002252/myip.isp"
Content-Transfer-Encoding: 8bit
Message-Id: <20190516102412.B23612017E2@myip.isp>
Message contents
This is the mail system at host myip.isp.
I’m sorry to have to inform you that your message could not
be delivered to one or more recipients. It’s attached below.
For further assistance, please send mail to postmaster.
If you do so, please include this problem report. You can
delete your own text from the attached returned message.
The mail system
email@hotmail.com: host
hotmail-com.olc.protection.outlook.com[104.47.14.33] said: 550 5.7.1
Service unavailable, Client host [MyIP] blocked using Spamhaus.
To request removal from this list see
https://www.spamhaus.org/query/ip/[MyIP] (AS3130).
[VI1EUR04FT030.eop-eur04.prod.protection.outlook.com] (in reply to MAIL
FROM command)
Spamhaus comes back with:
MyIP is not listed in the SBL
MyIP is listed in the PBL, in the following records: PBL111780
MyIP is not listed in the XBL
Ref: PBL111780
IP/24 is listed on the Policy Block List (PBL)
Outbound Email Policy of The Spamhaus Project for this IP range:
This IP address range has been identified by Spamhaus as not meeting our policy for IP addresses permitted to deliver unauthenticated ‘direct-to-mx’ email to PBL users.
Important: If you are using any normal email software (such as Outlook, Entourage, Thunderbird, Apple Mail, etc.) and you are being blocked by this Spamhaus PBL listing when you try to send email, the reason is simply that you need to turn on “SMTP Authentication” in your email program settings. For help with SMTP Authentication or ways to quickly fix this problem click here.
See also: http://www.spamhaus.org/faq/section/Spamhaus%20PBL
Removal Procedure
If you are not using normal email software but instead are running a mail server and you are the owner of a Static IP address in the range IP/24 and you have a legitimate reason for operating a mail server on this IP, you can automatically remove (suppress) your static IP address from the PBL database.
So whats the best way to configure virtualmin mail servers to be compatible with mail servers while still keeping domain and local emails working?
I assume its something to do with this setting:
Use SASL SMTP authentication? No
I also read there seems to be a bug when turning it on.