Mailing List Archive

[The Trac Project] #3870: alternate notification submission (non-SMTP) using sendmail program
#3870: alternate notification submission (non-SMTP) using sendmail program
-----------------------------+----------------------------------------------
Reporter: vivek@khera.org | Owner: jonas
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: general | Version: 0.10rc1
Severity: normal | Keywords:
-----------------------------+----------------------------------------------
It would be helpful to have a notification mechanism that uses
/usr/sbin/sendmail to inject mail instead of using SMTP.

The server on which I run trac has no SMTP server, so I have trac pointing
to our main SMTP server at the office. That server locked up yesterday
causing trac notifications to stall the trac web pages until they timed
out the SMTP connection. Those notices were also lost. If we had
submission via /usr/sbin/sendmail, the local nullmailer queue would deal
with retries. This also allows us to centralize the mail server routing
on the server in one place (the nullmailer configuration), rather than on
every application.

I'd prefer not to run a full SMTP server on the trac box for
administrative reasons, but if I have to, I have to, I suppose.

--
Ticket URL: <http://trac.edgewall.org/ticket/3870>
The Trac Project <http://trac.edgewall.org/>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Tickets" group.
To post to this group, send email to trac-tickets@googlegroups.com
To unsubscribe from this group, send email to trac-tickets-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.se/group/trac-tickets
-~----------~----~----~----~------~----~------~--~---
Re: [The Trac Project] #3870: alternate notification submission (non-SMTP) using sendmail program [ In reply to ]
#3870: alternate notification submission (non-SMTP) using sendmail program
-----------------------------+----------------------------------------------
Reporter: vivek@khera.org | Owner: jonas
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: general | Version: 0.10rc1
Severity: normal | Resolution:
Keywords: |
-----------------------------+----------------------------------------------
Comment (by eblot):

I don't think it is worth adding another dependency to the Trac core to
circumvent buggy environments.

Maybe this could be implemented as a plugin - although there is no
extension point at the moment to bypass the default notification system.

You can customize `trac/notification.py` to use a local tool instead of a
TCP connection.

Another solution would be to install a SMTP server on your Trac server
that only listen on localhost (127.0.0.1), and forward requests to your
main server.

I'm not sure to understand the point about email routing (?)

--
Ticket URL: <http://trac.edgewall.org/ticket/3870#comment:1>
The Trac Project <http://trac.edgewall.org/>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Tickets" group.
To post to this group, send email to trac-tickets@googlegroups.com
To unsubscribe from this group, send email to trac-tickets-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.se/group/trac-tickets
-~----------~----~----~----~------~----~------~--~---