Server email setting

If you are having a problem using Vault, post a message here.
Post Reply
BigBrett
Posts: 218
Joined: Wed Feb 01, 2006 8:45 am

Server email setting

Post by BigBrett » Tue Jan 22, 2013 8:00 am

We have installed a new email server that requires SMTP authentication before accepting email from hosted domains. We previously sent notification emails from Vault Pro based on a privileged IP so did not require SMTP authorisation.

I have set the SMTP Auth user and SMTP Password on the Admin Email settings page but sending a test email fails. The email server logs show that Vault Pro is sending without first authenticating. I have reset IIS and that made no difference.

What else do I need to do to make Vault Pro authenticate before sending emails ?

Cheers,
Brett

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Server email setting

Post by lbauer » Tue Jan 22, 2013 8:48 am

What version of Vault are you currently using?
Linda Bauer
SourceGear
Technical Support Manager

BigBrett
Posts: 218
Joined: Wed Feb 01, 2006 8:45 am

Re: Server email setting

Post by BigBrett » Tue Jan 22, 2013 9:16 am

We are using 6.1.0.30531

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Server email setting

Post by lbauer » Tue Jan 22, 2013 4:01 pm

What specific error are you getting when you try to send a test email?

Are there any errors in the Vault Server log relevant to the email error? The Vault server log is called sgvault.log and is in %windir%\temp\sgvault on the server machine.

Any errors in the Notifications log? The Notifications log is called vaultnotifyservice.txt and is in C:\Windows\Temp\SGVaultNotify.
Linda Bauer
SourceGear
Technical Support Manager

BigBrett
Posts: 218
Joined: Wed Feb 01, 2006 8:45 am

Re: Server email setting

Post by BigBrett » Tue Jan 22, 2013 10:59 pm

Nothing shown in any of the logs.

To be clear, I am talking about item tracking project notifications which were not being accepted by the email server.

On the page VaultService/Admin/EmailSettings.aspx I set the SMTP Auth User and SMTP Password details and then use the Test Settings link.

The email is not accepted by the email server and its logs show that no attempt was made to authenticate the SMTP connection:

01/22/13 15:39:29 220 mydomain ESMTP MailEnable Service, Version: 6.77--6.77 ready at 01/22/13 15:39:29
01/22/13 15:39:29 HELO bobblade 250 Requested mail action okay, completed
01/22/13 15:39:29 MAIL FROM: <noreply@mydomain> 551 This mail server requires authentication before sending mail from a locally hosted domain. Please reconfigure your mail client to authenticate before sending mail.

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Server email setting

Post by lbauer » Wed Jan 23, 2013 10:13 am

Could you send me a screenshot of your email settings page from the Vault Admin Web Client?

Email me at support at sourcegear.com, ATTN: Linda.

Please include a link to this forum post.
Linda Bauer
SourceGear
Technical Support Manager

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Server email setting

Post by lbauer » Wed Jan 23, 2013 2:45 pm

Also, could you run this query in your SQL Server:

select * from sgmaster.dbo.sgmastersettings


Let me know the value for the column "smtpauthenticationtype."
Linda Bauer
SourceGear
Technical Support Manager

BigBrett
Posts: 218
Joined: Wed Feb 01, 2006 8:45 am

Re: Server email setting

Post by BigBrett » Wed Jan 23, 2013 10:44 pm

Email has been sent

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Server email setting

Post by lbauer » Fri Jan 25, 2013 8:51 am

This has been resolved. The authentication value in the database was set to 0 (no authentication), so we changed it to 1 with a SQL query.

HS: 227251
Linda Bauer
SourceGear
Technical Support Manager

Post Reply