2008/3/21, Olivier <[EMAIL PROTECTED]>: > > Hi, > > In exim4, I can see lines such as : > mainlog.9:2008-03-12 08:53:28 1JZLmC-0000E7-0A <= [EMAIL PROTECTED] U=root > P=local S=43802 [EMAIL PROTECTED] > > In my voicemail.conf, I see : > ; If you need to have an external program, i.e. /usr/bin/myapp called when > a > ;externnotify=/usr/bin/myapp > ; If you need to have an external program, i.e. /usr/bin/myapp called when > a > ;externpass=/usr/bin/myapp > > > So, I guess this line (from app_voicemail.c) is used and somehow Sendmail > is used > #define SENDMAIL "/usr/sbin/sendmail -t" > > > I want to know which command line is used, in general, to send emails that > include this id field so that I could also use this id field when emailing > incoming faxes. > > My question are either : > > > Which debug or log option can I turn on to find out which command Asterisk is > exactly sending to Sendmail/Exim4 to notify incoming voicemail ? > Which sendmail command line option can I use to include a populated id field > in log files ? > > > > Regards > > In Asterisk full log, I can see Mar 20 14:36:41 DEBUG[29025] app_voicemail.c: Sent mail to [EMAIL PROTECTED] command '/usr/sbin/sendmail -t'
But when I type "/usr/sbin/sendmail [EMAIL PROTECTED]" I can't see the same log lines with this id field.
_______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
