I just installed Trac 1.5 on Ubuntu 20.04 under Apache and with
PostgreSQL 12 and it all seems to work fine except email notification.
I have a Django app running on the same server and email notification
(ie., Forgotten password) works well for that.
I'm using exactly the same credentials, user, port number and smtp
server for Trac as for the Django app.
When I reply to a ticket (ticket #1 btw) as a test Trac never returns.
There is no crash and nothing reported in the Apache log nor syslog.
Here is my [notification] settings in trac.ini
[notification]
admit_domains =
ambiguous_char_width = single
batch_subject_template = ${prefix} Batch modify: ${tickets_descr}
default_format.email = text/plain
email_address_resolvers = SessionEmailResolver
email_sender = SmtpEmailSender
ignore_domains =
message_id_hash = md5
mime_encoding = none
sendmail_path = sendmail
smtp_always_bcc =
mi...@xxx.com
smtp_always_cc =
smtp_default_domain =
smtp_enabled = enabled
smtp_from =
sys...@xxx.com
smtp_from_author = disabled
smtp_from_name =
smtp_password = xxx
smtp_port = 465
smtp_replyto =
sup...@xxx.com
smtp_server =
smtp.xxx.com.au
smtp_subject_prefix = __default__
smtp_user =
sys...@xxx.com
ticket_subject_template = ${prefix} #${
ticket.id}: ${summary}
use_public_cc = enabled
use_short_addr = disabled
use_tls = enabled
xxx is just obfuscation - happy to reveal it privately if necessary.
Where do you think I'm going wrong?
Any hints appreciated
Thanks
Mike
--
Signed email is an absolute defence against phishing. This email has
been signed with my private key. If you import my public key you can
automatically decrypt my signature and be sure it came from me. Just
ask and I'll send it to you. Your email software can handle signing.