Re: Silently reject mails

2023-12-07 Thread Tassilo Philipp
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  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






Re: Silently reject mails

2023-12-06 Thread Omar Polo
On 2023/12/06 20:17:49 +0100, Hagen Bauer  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




Silently reject mails

2023-12-06 Thread Hagen Bauer

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?

Regards
Hagen