[rt-users] RT4 - Email Errors generated even when sent 'successfully'

scott.dalzell scott.dalzell at aveva.com
Wed Jul 17 04:21:42 EDT 2013


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
USER=user1 at company.com
export USER
    /usr/sbin/msmtp.exe --from=user1 at company.com -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
USER=user1 at company.com
export USER
    /usr/sbin/msmtp.exe --from=user1 at company.com -t -C
/opt/rt4/etc/msmtp_wrapper.conf

USER=user2 at company.com
export USER
    /usr/sbin/msmtp.exe --from=user2 at company.com -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.



More information about the rt-users mailing list