#5235 closed defect (invalid)
Cannot sending trac ticket to external user
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | notification | Version: | |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description (last modified by )
Submitted is the error message I get when i copy an external email address. Internal email adressess work oK. Can you please help. See below
Best Regards
Python traceback
Traceback (most recent call last): File "C:\Python23\lib\site-packages\trac\ModPythonHandler.py", line 195, in handler core.dispatch_request(mpr.path_info, args, mpr, env) File "/usr/lib/python2.3/site-packages/trac/core.py", line 452, in dispatch_request File "c:\python23\lib\site-packages\trac\Module.py", line 44, in run self.render() File "C:\Python23\lib\site-packages\trac\Ticket.py", line 450, in render self.save_changes (id) File "C:\Python23\lib\site-packages\trac\Ticket.py", line 379, in save_changes tn.notify(ticket, newticket=0, modtime=now) File "C:\Python23\lib\site-packages\trac\Notify.py", line 228, in notify NotifyEmail.notify(self, ticket['id'], subject) File "C:\Python23\lib\site-packages\trac\Notify.py", line 131, in notify Notify.notify(self, resid) File "C:\Python23\lib\site-packages\trac\Notify.py", line 81, in notify self.send(to) File "C:\Python23\lib\site-packages\trac\Notify.py", line 346, in send NotifyEmail.send(self, rcpt, hdrs) File "C:\Python23\lib\site-packages\trac\Notify.py", line 160, in send self.server.sendmail(self.from_email, rcpt, msg.as_string()) File "C:\Python23\Lib\smtplib.py", line 687, in sendmail raise SMTPRecipientsRefused(senderrs) SMTPRecipientsRefused: {'mrniyi@gmail.com': (550, '5.7.1 Unable to relay for mrniyi@gmail.com')}
Attachments (1)
Change History (7)
by , 18 years ago
comment:1 by , 18 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 by , 18 years ago
Resolution: | invalid |
---|---|
Status: | closed → reopened |
hi Thanks for the swift response. This is the only smtp server we have and works perfectly with exchange (but it has an internal IP address). Could this be the problem.
Best Regards Niyi
comment:3 by , 18 years ago
Trac is receiving a response from the SMTP server that says it will not relay. Basically your mailserver is refusing any email from your Trac install.
This problem has, in my opinion and experience, nothing to do with Trac but everything with your MTA (Mail Transfer Agent) and is, I think, outside the scope of the Trac project.
That it works with Exchange means, quite frankly, nothing. Could be that it only allows connections from that IP address.
comment:4 by , 18 years ago
Description: | modified (diff) |
---|
comment:5 by , 18 years ago
Component: | general → notification |
---|---|
Resolution: | → invalid |
Status: | reopened → closed |
Yes, this is not related to Trac, but either to the way you have configured Trac or to the configuration of the server that denies mail relay for some reason.
If you need some help configuring Trac, please ask for support to the MailingList and do not forget to add the relevant conf. section ([notification]
section from trac.ini
) to your email.
This is an installation/environment issue, not a Trac bug.
comment:6 by , 18 years ago
the error message is quite clear: Unable to relay for mrniyi@…'.
niyi entered the gmail address as sender in the trac.ini. trac sends the email with "from: niyi@gmail" and the company mailserver refuses to send emails to the world with that sender address. this then would be open to send any email from anybody to anybody.
it says your mail server refuses to send mails from the mailadress you entered in trac.ini. maybe you choose one which is allowed to send emails to outside.