I follow your suggestion to revise the port, but there is an error log, 
please help me diagnose what:

2016-05-25 14:02:56,015 Trac[web_ui] ERROR: Failure sending notification on 
change to ticket #167: SMTPSenderRefused: (501, 'mail from address mustbe 
same as authorization user', u'trac@localhost')


I try to set smtp_from_name = smtp_user = trac\@xxx.com , but still does 
not solve the problem


在 2016年5月25日星期三 UTC+8下午1:41:23,Jun Omae写道:
>
> On Wed, May 25, 2016 at 1:40 PM,  <[email protected] <javascript:>> wrote: 
> > I was using Tencent business mail service,So my configuration is as 
> follows: 
> > 
> > [notification] 
> > smtp_enabled = false 
> > use_tls = true 
> > mime_encoding = base64 
> > smtp_server = smtp.exmail.qq.com 
> > smtp_port = 465 
> > smtp_user = trac\@xxx.com 
> > smtp_password = xxxx 
> > 
> > I guarantee mail service interface information is accurate 
> > 
> > receive service: 
> > pop.exmail.qq.com(use SSL,port 995) 
> > send service: 
> > smtp.exmail.qq.com(use SSL,port 465) 
>
> Trac currently doesn't support SMTP with SSL. However, it supports 
> STARTTLS mode on SMTP. 
> Instead, please try smtp_enabled = true and smtp_port = 25. If you 
> need TLS encryption on SMTP communication, keep use_tls = true. 
>
> $ telnet smtp.exmail.qq.com 25 
> Trying 163.177.90.125... 
> Connected to smtp.exmail.qq.com. 
> Escape character is '^]'. 
> 220 smtp.qq.com Esmtp QQ Mail Server 
> EHLO test.example.com 
> 250-smtp.qq.com 
> 250-PIPELINING 
> 250-SIZE 73400320 
> 250-STARTTLS 
> 250-AUTH LOGIN PLAIN 
> 250-AUTH=LOGIN 
> 250-MAILCOMPRESS 
> 250 8BITMIME 
> QUIT 
> 221 Bye 
> Connection closed by foreign host. 
>
> See also, https://trac.edgewall.org/ticket/4931 
>
> -- 
> Jun Omae <[email protected] <javascript:>> (大前 潤) 
>

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to