Skip to content

Use smtpd_helo_restrictions? #2519

@myfirstnameispaul

Description

@myfirstnameispaul

I was just reading through the Postfix documentation and discovered smtpd_helo_restrictions has some useful configurations.

I found reject_unknown_helo_hostname interesting as a fair number of the messages that, granted, only make it into the spam folder, but don't have a valid hostname A or MX record (one clever bastard was using the PTR for a business ISP IP address as the EHLO).

reject_unknown_helo_hostname
Reject the request when the HELO or EHLO hostname has no DNS A or MX record.

I'm not sure where this might cause problems for other boxes, but so far I haven't found any issues on mine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions