On 2024-07-12 at 04:55:08 UTC-0400 (Fri, 12 Jul 2024 08:55:08 +0000)
Francis Augusto Medeiros-Logeay via Postfix-users <r...@med-lo.eu>
is rumored to have said:
On 11 Jul 2024, at 20:22, Bill Cole via Postfix-users
<postfix-users@postfix.org> wrote:
On 2024-07-11 at 02:42:26 UTC-0400 (Thu, 11 Jul 2024 06:42:26 +0000)
Francis Augusto Medeiros-Logeay via Postfix-users <r...@med-lo.eu>
is rumored to have said:
Hi,
I was wondering - is it possible to bounce e-mails for non-existent
addresses when using a catchall?
Define your terms clearly and you willhave a better time finding
answers.
What do you mean by "non-existent addresses" in a context where a
"catchall" exists.
As I said on a previous answer to my question, what I want is this:
I want that mail sent to users who do not have a valid address (like
when they are not on ldap) to bounce back, like it happens by default,
but I'd also like these mail to be delivered to an specific mailbox.
The way I would do that would be with a Milter, which can both tell
Postfix to reject a message and save/deliver that message however it
chooses. It would be very easy to do this with MIMEDefang or MailMunge,
but I suspect that others could do it as well.
As you said, if I use catchall, these addresses would be valid. But
I'd like the senders to get a bounce email so that they know they sent
the mail to an address that doesn't exist or that the destination
mailbox wasn't reached.
Is it a bit more clear now?
It's absolutely clear, although the concept is in conflict with the
design of SMTP. By design, any SMTP failures result in a bounce message
to the sender. The way to assure that a sender gets informed of a
failure is to actually let Postfix work as normal and reject messages
that are mis-addressed.
--
Bill Cole
b...@scconsult.com or billc...@apache.org
(AKA @grumpybozo@toad.social and many *@billmail.scconsult.com
addresses)
Not Currently Available For Hire
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org