i have now resolved my issue

i have been running some tests on the msmtp_Wrapper file and found that the
error disapeared if i reduced the file down to one email address (see below)

#------------------------------------------------------------
*msmtp_Wrapper - stripped down to 1 email address*
#!/bin/bash
[email protected]
export USER
    /usr/sbin/msmtp.exe [email protected] -t -C
/opt/rt4/etc/msmtp_wrapper.conf
#------------------------------------------------------------

Looking into the file abit further i found i was missing a line at the end
of the file (see below)

#------------------------------------------------------------
*msmtp_Wrapper - Fixed*
#!/bin/bash
[email protected]
export USER
    /usr/sbin/msmtp.exe [email protected] -t -C
/opt/rt4/etc/msmtp_wrapper.conf

[email protected]
export USER
    /usr/sbin/msmtp.exe [email protected] -t -C
/opt/rt4/etc/msmtp_wrapper.conf

    /usr/bin/logger -t RTmailer -p syslog.info -- CALL /usr/bin/msmtp -nt
"$@" RETURNED $?
#------------------------------------------------------------

Once the below line was added to the file i no longer got the error messages
in RT4 or within the error.log

"   /usr/bin/logger -t RTmailer -p syslog.info -- CALL /usr/bin/msmtp -nt
"$@" RETURNED $? "

Thanks for all the help Kevin



--
View this message in context: 
http://requesttracker.8502.n7.nabble.com/RT4-Email-Errors-generated-even-when-sent-successfully-tp54612p54652.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.

Reply via email to