Skip to content

550 Invalid server token if RCPT_TO starts with custom_return_path_prefix #426

@yogesum

Description

@yogesum

If I am sending mail with domain example.com with custom_return_path_prefix as email then any recipient starting with email. fails with code 550 Invalid server token.

Example mail: return path domain email.example.com

RETURN PATH: <wazup@email.example.com>
MAIL FROM: <support@example.com>
RCPT TO: email.otherdomain.co.in
// => 550 Invalid server token

Note: Relevant piece of code code

Also, RegExp check similar to above is also done here

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