Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] OT - Mime-construct, exim4 and job numbers


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
oza-4h07 at myamail.com
Guest





PostPosted: Mon Mar 03, 2008 4:20 pm    Post subject: [asterisk-users] OT - Mime-construct, exim4 and job numbers Reply with quote

Hi,

I'm using mime-construct to send fax files (from an Asterisk server).
mime-construct is using exim4 to have its job done.

Trouble is I'm not pleased with the way I can link mime-construct and exim4
jobs (whenever an exim4 job fails, mime-construct exit code is still 0) :
all I'm doing at the moment is reading exim4 and syslog log files for events
matching.

In syslog, I've got :
2008-03-03 10:53:02 hostname emailfax: sending file foo.tiff to
bar at example.com produced 0 exit code

In exim4, I've got :
2008-03-03 10:53:02 1JWHdV-0006g8-1u <= jdoe at example.com U=root P=local
S=24891

So I guess, this foo.tiff file were sent with this 1JWHdV-0006g8-1u exim4
message.
I'm looking for a way to have in syslog :
2008-03-03 10:53:02 hostname emailfax: sending file foo.tiff to
bar at example.com produced 0 exit code using 1JWHdV-0006g8-1u exim4 message

How can I teach :
- exim4 to report mime-construct this 1JWHdV-0006g8-1u code
- and mime-construct to log it

My understanding of Perl (mime-construct is written in Perl) is poor.

Regards

PS: I warned that this message is really Off-Topic but I know a lot of
talented Linux administrators read this mailing list, so ...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080303/13888e7c/attachment.htm
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
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


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services