> On 30 May 2022, at 2:03 pm, Juerg Reimann <j...@jworld.ch> wrote:
> 
>> In virtual_alias_maps:
>> 
>> donotreply@some.domain devnull@localhost
>> 
>> Assuming that localhost is listed in $mydestination.
>> 
>>      Wietse
> 
> Thanks a lot, the @localhost did the trick!

Using local aliases(5) to /dev/null for this is substantially less efficient
than just routing the recipient's mail to the discard transport via a suitable
alias to "discard.invalid" or similar.

-- 
        Viktor.

Reply via email to