[Support] Procmail 2. Frage

Paul Hink email at p-hink.de
Sun Oct 21 13:14:37 CEST 2007


Jens Falk <jens.falk at arcor.de> wrote:

> > > Aber zusätzlich möchte ich eine Positiv-Liste von Absender
> > > führen, die größere Mails schicken dürfen.

> [...]

> Danke! Und wie binde ich eine Liste (adressen.txt) ein?
> 
>  * ! ^From: cat addressen.txt

http://pm-doc.sourceforge.net/pm-tips.html#using_grep_with_file_lists_to_mach_messages

> Der Absender bekommt eine Nachricht, daß seine Mail gelöscht wurde.
> In dieser Nachricht steht als Absender:
> 
> xy [abc00-xy at h02.hostsharing.net]
> 
> Wie erreiche ich, daß dort Eva Mustermann eva.mustermann at example.com
> steht?

Wenn du die Antwort per `formail -brt ... sendmail` erzeugst: formail
einen From-Header per -A hinzufügen lassen, z.B. so:

formail -brt -A 'From: Eva Mustermann <eva.mustermann at example.com>'

Wenn du auch noch das Envelope-From setzen willst, musst du sendmail
das per -f oder -r mitteilen:

sendmail -f 'eva.mustermann at example.com'

Paul


More information about the Support mailing list