Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Postfix: E-Mail verschicken, wenn Pipe fehlschlägt
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) Diskussionsforum
View previous topic :: View next topic  
Author Message
l3u
Advocate
Advocate


Joined: 26 Jan 2005
Posts: 2538
Location: Konradsreuth (Germany)

PostPosted: Sun Jun 17, 2012 11:19 am    Post subject: Postfix: E-Mail verschicken, wenn Pipe fehlschlägt Reply with quote

Ich entwickle gerade ein einfaches Mailing-List-Programm. Mails, die für die Mailing-List bestimmt sind, schickt Postfix per Pipe an das Programm, in master.cf steht dafür folgende Zeile:
Code:
vsmlist   unix  -       n       n       -       10      pipe
  flags=DRhu user=vsmlist argv=/usr/local/bin/vsmlist

Jetzt passiert es über der Entwicklung natürlich hie und da, dass ein unvorhergesehener Fehler passiert, und das Programm mit einer unbehandelten Ausnahme abstürzt. In dem Fall schickt Postfix an denjenigen, der die E-Mail verschickt hat, eine Fehlermeldung, die Konsolenausgabe des Programms und die entsprechende E-Mail als Anhang.

Jetzt kann natürlich derjenige, der die E-Mail verschickt hat, nicht viel damit anfangen. Vielmehr bräuchte ich als Admin genau diese E-Mail, damit ich das Problem beheben kann. Gibt es eine Möglichkeit, für einen bestimmten Service eine solche Fehlermeldung an eine zusätzliche E-Mail-Adresse als Bcc zu verschicken?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) Diskussionsforum All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum