[rt-users] Problems with msmtp

Wagner wagner at sincronismotelecom.com
Wed May 8 20:53:58 EDT 2013


Hello List,


I'm new here,

I'm trying to install the RT 3.8 but am having problems with sending emails.

Configuration RT_SiteConfig.pm:

Set($SendmailPath , "/etc/request-tracker3.8/msmtp_wrapper.sh");
Set($RTAddressRegexp , 
'^help(-comment)?\@(help|admin)\.(example\.org|ourother\.domain\.com)$');
Set($rtname, 'rt.RT');
Set($Organization, 'RT');
Set($CorrespondAddress , 'rt at RT');
Set($CommentAddress , 'rt-comment at RT');
Set($WebPath , "/rt");
Set($WebBaseURL , "http://RT");
Set($DatabaseType, $typemap{mysql} || "UNKNOWN");
Set($DatabaseHost, 'localhost');
Set($DatabasePort, '');
Set($DatabaseUser , 'rtuser');
Set($DatabasePassword , '*********');

Configuration msmtp.conf:

defaults
logfile /var/log/msmtp.log
account default
host smtp.gmail.com
port 587
protocol smtp
tls on
tls_certcheck off
auth on
user suporte at sincronimotelecom.com
password ********
auto_from on

Error:

syslog:

May  8 21:01:04 RT RTmailer: CALL /usr/bin/msmtp -nt -oi -t RETURNED 78
May  8 21:01:04 RT RT: <rt-3.8.8-3131-1368057663-110.47-3-0 at RT> sent  
To: wagner at sincronismotelecom.com 
(/usr/share/request-tracker3.8/lib/RT/Action/SendEmail.pm:315)
May  8 21:01:04 RT RT: <rt-3.8.8-3131-1368057663-1446.47-4-0 at RT> #47/306 
- Scrip 4 On Create Notify AdminCcs 
(/usr/share/request-tracker3.8/lib/RT/Action/SendEmail.pm:284)
May  8 21:01:04 RT RT: <rt-3.8.8-3131-1368057663-1446.47-4-0 at RT> No 
recipients found. Not sending. 
(/usr/share/request-tracker3.8/lib/RT/Interface/Email.pm:382)
May  8 21:01:04 RT RT: Ticket 47 created in queue 'General' by Wagner 
(/usr/share/request-tracker3.8/lib/RT/Ticket_Overlay.pm:671)
May  8 21:02:26 RT RT: <rt-3.8.8-3103-1368057746-1625.48-3-0 at RT> #48/312 
- Scrip 3 On Create Autoreply To Requestors 
(/usr/share/request-tracker3.8/lib/RT/Action/SendEmail.pm:284)


msmtp.log:

exitcode=EX_UNAVAILABLE

Changing the condiguração msmtp.conf for:

defaults
logfile /var/log/msmtp.log
account default
host smtp.gmail.com
port 465
protocol smtp
auth on
tls on
tls_starttls on
tls_trust_file /etc/ssl/certs/ca-certificates.crt
#tls_trust_file /etc/ssl/certs/Equifax_Secure_CA.pem
user suporte at sincronimotelecom.com
password ********
auto_from on

Error:

syslog:

time_out

Or Changing condiguração the msmtp.conf for:

defaults
logfile /var/log/msmtp.log
account default
host smtp.gmail.com
port 587
protocol smtp
auth on
tls on
tls_starttls on
tls_trust_file /etc/ssl/certs/ca-certificates.crt
#tls_trust_file /etc/ssl/certs/Equifax_Secure_CA.pem
user suporte at sincronimotelecom.com
password ********
auto_from on

Error:

syslog:

May  8 21:17:28 RT RT: <rt-3.8.8-4037-1368058648-849.50-3-0 at RT> #50/326 
- Scrip 3 On Create Autoreply To Requestors 
(/usr/share/request-tracker3.8/lib/RT/Action/SendEmail.pm:284)
May  8 21:17:28 RT RT: <rt-3.8.8-4037-1368058648-849.50-3-0 at RT> sent  
To: wagner at sincronismotelecom.com 
(/usr/share/request-tracker3.8/lib/RT/Action/SendEmail.pm:315)
May  8 21:17:28 RT RT: <rt-3.8.8-4037-1368058648-170.50-4-0 at RT> #50/326 
- Scrip 4 On Create Notify AdminCcs 
(/usr/share/request-tracker3.8/lib/RT/Action/SendEmail.pm:284)
May  8 21:17:28 RT RT: <rt-3.8.8-4037-1368058648-170.50-4-0 at RT> No 
recipients found. Not sending. 
(/usr/share/request-tracker3.8/lib/RT/Interface/Email.pm:382)
May  8 21:17:28 RT RT: Ticket 50 created in queue 'General' by Wagner 
(/usr/share/request-tracker3.8/lib/RT/Ticket_Overlay.pm:671)


msmtp.log:

May 08 21:07:28 host=smtp.gmail.com tls=off auth=on 
user=suporte at sincronimotelecom.com from=www-data 
recipients=wagner at sincronismotelecom.com errormsg='the server sent an 
empty reply' exitcode=EX_PROTOCOL

Please help me.

-- 
Wagner Mazuchi de Lima Junior
11 3323-5550
wagner at sincronismotelecom.com
www.sincronismo.com.br
Rua Tácito de Almeida, nº 196
01251-010 - Pacaembu - São Paulo - SP

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20130508/a3327caa/attachment.htm>


More information about the rt-users mailing list