[rt-users] RES: Problems with msmtp
Diaulas Castro
diaulas.castro at intersolution.inf.br
Mon May 13 13:45:05 EDT 2013
Hi Wagner,
Try to use a real MTA like postfix or sendmail, if you have any error your mail wont be lost since MTA will retry.
BTW, How are you creating those tickets? Your logs show us that don't have any recipients but I think its from Scrip3 Notify AdminCC On Create
That line show that your mails was delivered, look at SPAM/Junk folder
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)
PS: I don't have experience with msmtp or ssmtp, so this is my guess to hep you.
PS: Saw in your signature and im near you, Pacaembu too.
De: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] Em nome de Wagner
Enviada em: quarta-feira, 8 de maio de 2013 21:54
Para: rt-users at lists.bestpractical.com
Assunto: [rt-users] Problems with msmtp
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"<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<mailto: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<mailto:rt-3.8.8-3131-1368057663-110.47-3-0 at RT>> sent To: wagner at sincronismotelecom.com<mailto: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<mailto: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<mailto: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<mailto: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<mailto: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<mailto: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<mailto: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<mailto:rt-3.8.8-4037-1368058648-849.50-3-0 at RT>> sent To: wagner at sincronismotelecom.com<mailto: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<mailto: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<mailto: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<mailto:user=suporte at sincronimotelecom.com> from=www-data recipients=wagner at sincronismotelecom.com<mailto: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<mailto:wagner at sincronismotelecom.com>
www.sincronismo.com.br<http://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/20130513/b7664d44/attachment.htm>
More information about the rt-users
mailing list