On Sun, Jan 21, 2024 at 09:39:06AM +0100, Paul Menzel via Postfix-users wrote:

> pg.de is currently a parked domain, so our users will not going to
> email there, and I would like to reject such messages submitted to us,
> that the email client shows an error as it’s done, when, for example,
> users submit a message to a colleague at our institute, and we now
> that address does not exist, because the account was closed or it does
> not exist.
> 
> Could you recommend a way how to best set this up, best with a custom error
> message per domain? For example:
> 
>     Reject: Address has a typo: Should .pg.de .mpg.de?
> 
> `master.cf` currently contains:
> 
>     141.14.17.8:submission  inet    n       -       n       -       - smtpd
>         -o myhostname=mx.molgen.mpg.de
>         -o smtpd_recipient_restrictions=$mx_smtpd_recipient_restrictions
>         -o smtpd_client_recipient_rate_limit=50

    main.cf:
        indexed = ${default_database_type}:${config_directory}/
        transport_maps = ${indexed}transport

    transport:
        .pg.de   error:5.1.2 Typo domain .pg.de should be .mpg.de

-- 
    Viktor.
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to