Opened 14 years ago
Closed 13 years ago
#10220 closed defect (worksforme)
"mail -f" is not working in notifications
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | 0.13dev |
Severity: | normal | Keywords: | documentation |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
It's Ubuntu 10.10. I installed sendmail
and mail
with apt-get install mailutils
. This is a part of my trac.ini
:
[notification] email_sender = SendmailEmailSender sendmail_path = /usr/bin/mail
This is what Trac 0.13dev-r10708
is saying:
Warning: The change has been saved, but an error occurred while sending notifications: Sendmail failed with (64, mail: -f requires at most one command line argument Try `mail --help' or `mail --usage' for more information.), command: '[u'/usr/bin/mail', '-i', '-f', u'trac@xxx', u'xxx@yahoo.com']'
What is it about and how can I fix it?
Attachments (0)
Change History (5)
comment:1 by , 14 years ago
follow-ups: 3 4 comment:2 by , 14 years ago
Looks like the right configuration is:
[notification] email_sender = SendmailEmailSender sendmail_path = /usr/sbin/sendmail
Maybe we should add some hint to documentation? To avoid such questions in the future.
comment:3 by , 14 years ago
Keywords: | documentation added |
---|
Replying to team@…:
Maybe we should add some hint to documentation? To avoid such questions in the future.
I would have thought that the name of the option (sendmail
_path
) is explicit enough, but feel free to edit the documentation as you see fit.
comment:4 by , 14 years ago
Replying to team@…:
Maybe we should add some hint to documentation? To avoid such questions in the future.
Did you see TracNotification#ExampleConfigurationsendmail?
comment:5 by , 13 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Seems the documentation is clear enough.
This is what
mail --help
is saying: