Since you mentioned "all mails" and "without creating non deliverable notices", I think it's worth pointing out that the mail server will probably send delivery status notifications for successfully delivered mails, if the sender requested it, so also look for the no-dsn option you can set on the listener.

On Wed, Dec 06, 2023 at 09:43:22PM +0100, Omar Polo wrote:
On 2023/12/06 20:17:49 +0100, Hagen Bauer <[email protected]> wrote:
hi,

i have not found a way to silently drop all mails to a domain. (yes there is a use case to run a mail server that does not store any mails without creating non deliverable notices)

Is there a way to configure opensmpt for such a use case?

Haven't tried, but a mda command that writes to to /dev/null should be a way.

(not tested)

        action "ignore" [...] mda "cat >/dev/null"


Cheers,

Omar Polo



Reply via email to