How can I whitelist or blacklist a mail server from greylisting?

Overview

This article provides instructions for managing mail server exceptions within the Warden greylisting system. Administrators can whitelist trusted servers to bypass greylisting delays or blacklist specific servers to enforce immediate rejection.

Prerequisites

  • Administrative access to the Warden interface.
  • The reverse DNS (rDNS/PTR record) of the target mail server(s).

Whitelist a Mail Server From Greylisting

To allow a trusted mail server to bypass greylisting delays, follow these steps:

  1. Navigate to Warden > Settings > Greylisting Whitelist.
  2. Click the Add button.
  3. In the input field, enter the client rDNS (PTR record) of the mail server. Wildcard patterns are supported (e.g., *.example.com).
  4. Click Submit to save the configuration.

Greylisting Whitelist

Blacklist a Mail Server From Greylisting

To enforce immediate rejection for specific mail servers, follow these steps:

  1. Navigate to Warden > Settings > Greylisting Blacklist.
  2. Click the Add button.
  3. In the input field, enter the client rDNS (PTR record) of the mail server. Wildcard patterns are supported (e.g., *.example.com). You may also specify multiple patterns separated by pipes (e.g., dynamic|static|ppp|dyn-ip|dial-up).
  4. Click Submit to save the configuration.

Greylisting Blacklist

Verification and Log Review

Blacklisted mail servers will be recorded in the system logs. To verify that a server has been successfully blacklisted:

  1. Navigate to Warden > Logs > Reject Log.
  2. Locate entries corresponding to the blacklisted server.
  3. Confirm that the entry displays the following status and message:
Status: 451 4.7.1
Message: Command rejected

Troubleshooting

If greylisting exceptions are not applying as expected, verify the following:

  • Ensure the rDNS (PTR record) entered exactly matches the server's reverse DNS resolution.
  • Confirm that wildcard patterns use valid syntax and do not contain typos or unsupported characters.
  • Check the Warden > Logs > Reject Log for real-time status updates after configuration changes.
  • greylisting
  • 0 Benutzer fanden dies hilfreich
War diese Antwort hilfreich?

Verwandte Artikel

How can I install or upgrade the extension?

We provide free installation and configuration for all our paid licenses. Open a support ticket...

How can I add stronger Postfix restrictions so that the bulk of spam is rejected at the SMTPD level before it gets processed by Amavis?

Overview Warden enables administrators to enforce stricter Postfix SMTPD restrictions. These...

How can I change the interface language of the extension?

Overview This article provides instructions on how to change the interface language within the...

How can I configure greylisting with Warden Anti-spam and Virus protection?

Overview Greylisting is an email filtering mechanism designed to mitigate spam by temporarily...