0

We have a version 7 installation that we just upgraded to version 8. We have an Exchange 2011 server in the local domain.

FogBugz is using a domain account XXX\Fogbugz.

This domain account have a dedicated mailbox in the exchange server.

The FogBugz and the Exchange servers are on the same subnet.

Whenever we try to send mail from FogBugz we get this error:

Couldn't construct the mail message. Error: System.Net.Mail.SmtpException: 550 5.7.1 Client does not have permissions to send as this sender at Wasabi.Runtime.Mail.SmtpClient.SendCore(MailMessage message) in c:\code\release\build\fogbugz\8.3.42\Wasabi\Wasabi.Runtime\Mail\SmtpClient.cs:line 777 at Wasabi.Runtime.Mail.SmtpClient.SendInternal(MailMessage message) in c:\code\release\build\fogbugz\8.3.42\Wasabi\Wasabi.Runtime\Mail\SmtpClient.cs:line 540 at Wasabi.Runtime.Mail.SmtpClient.Send(MailMessage message) in c:\code\release\build\fogbugz\8.3.42\Wasabi\Wasabi.Runtime\Mail\SmtpClient.cs:line 516 at Wasabi.Runtime.Mail.SmtpWrapper.Send(MailMessage message) in c:\code\release\build\fogbugz\8.3.42\Wasabi\Wasabi.Runtime\Mail\SmtpWrapper.cs:line 57 at FogCreek.FogBugz.__Global.RawTestMail() in c:\code\release\build\fogbugz\8.3.42\FogBugz\distribution\src-Website\diagnostics.was:line 599

I can login to the account XXX\Fogbugz and send mail just fine. I use the same password for setting up FogBugz.

Any suggestions how we can fix this?

/Joakim p.s. I'm trying this using the diagnostics, can this make a difference? d.s.

flag
We have a Exchange 2011 server and relaying was not the problem. What I had to do was to grant the DOMAIN\FogBugz account "Send as" permissions for earch users mailbox. I used this command within the Exchange Management shell: [PS] C:\>Add-ADPermission -Identity "Firstname Lastname" -User DOMAIN\FogBugz -AccessRights Extendedright -ExtendedRights "Send As" Once I did that everything works. There may be a better or easier way to fix this but this did it for me. So now it works. – Joakim Westin Apr 14 2011 at 13:28

3 Answers

1

This simply means that your SMTP server does not allow relay for the FogBugz user. Go to Admin > Site Config > Mail and see the account you are using to send mail out, and make sure that relay is enabled for that user.

link|flag
0

But the SMTP server is on the Exchange server and the account can send (and receive) mail just fine when using the mailbox via OWA. So the account does have the rights to send as itself.

link|flag
0

What is Exchange 2011? The release versions of exchange are 2000,2003, 2007, 2010....

link|flag
It is Exchange 2010. But it is Small Business Server 2011. Sorry for the confusion – Joakim Westin May 28 2011 at 14:14

Your Answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.