Hi people! I need some help with setting up sendmail in Trac (using an e-mail account from webfaction). Could I get an example snippet from a functioning trac.ini ? Should I use email_sender = SendemailEmailsender? or SmptEmailSender? How about choosing the mail-address? All options seem to be smtp_... what do I do when using sendmail? As you can see, lots of questions, so I'd rather just see a functioning example, smtp or not. regards, /JayKay asked 18 Dec '10, 14:13 jaykay |
I would recommended using the SMTP module. We do have sendmail enabled on our servers however it is mostly to satisfy the default PHP settings. Since trac is partly configured to use SMTP already it is easier to use it. The SMTP username/password will be the mailbox name. The server is smtp.webfaction.com. The sending e-mail address must also exist within the control panel. If you submit a support ticket we can take a look and give you more information. answered 18 Dec '10, 14:21 johns |
The exact configuration options are listed at trac's official docs,
The following settings should be all you need to change,
answered 18 Dec '10, 14:47 johns |
Thank you for the quick answer! Okay, I will go with SMTP, and I've added smtp.webfaction.com as the server. I thought about trying to ask here for a snippet rather than a ticket so that it's publicly available for the next person to set this up. If I won't get any replies, I'll create a ticket. But here goes: ignore_domains = mime_encoding = none sendmail_path = sendmail smtp_always_bcc = smtp_always_cc = smtp_default_domain = web[num].webfaction.com smtp_enabled = true smtp_from = 'myusername'@localhost smtp_from_name = 'myusername' smtp_password = 'mypassword' smtp_port = 25 smtp_replyto = 'myusername'@localhost smtp_server = smtp.webfaction.com smtp_subject_prefix = default smtp_user = 'myusername' ticket_subject_template = $prefix #$ticket.id: $summary use_public_cc = false use_short_addr = false use_tls = false answered 18 Dec '10, 14:34 jaykay |
I'm sorry. :( I really thought my e-mail accounts were set up properly, but apparently that was not the case. That combined with your help above made it work. Thank you very much for the super-fast help. Much appreciated! / JayKay answered 18 Dec '10, 15:30 jaykay |