Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to firstname.lastname@example.org.
in the trace I get aemail_trigger: no file somehow cvsnt did not find the users file. have removed the file completely from the server and added it again. now it can find the usernames (without domain) and replace it with the email address. now I get the email unfortunately also get an SMTP error. 501. In the trace log I see that the email tries to send out twice. First time it is send out , only the From address [email] is expanded and the To address is set to [to_user]@mydomain.invalid (mydomain.invalid in the trace is my correct domain) I found some code here http://cvsnt.sourcearchive.com/documentation/2.5.03.2382-3.3/email__trigger_8cpp-source.html and in line 1091 I see that there most likely is a parsing bug in the printf. Was it meant to have <%s@%s> instead of <s@%s> ?? m_sock.printf("RCPT TO:<s@%s>\r\n",to[n].c_str(),emaildomain); ^^^ The second time the to address is correctly parsed to my real email address and that's the email I get. If I only tag a revision, I see in the trace that the mailer is invoked only once. The [to_user] is not expanded correctly in the TO field, and because upon tag I see in the trace that the mail is sent only once, the SMTP session ends with an error after the to field (invalid address) thus no mail is sent. Could this be the reason that it looks that the internal mailer only works on notify mails ? ________________________________ From: Arthur Barrett <arthur.barrett at march-hare.com> To: Bart S <barts2108 at yahoo.co.uk>; cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook Sent: Monday, 15 December, 2008 10:00:05 Subject: RE: [cvsnt] How to invoke internal mailer > 4: In the users file I have the following line > as 35bsw is my username and my-email at invalid.com > is my email (note that I do not put my company > email here to prevent from spamming) > > 35bsw:my-email at invalid.com > > the [to_user] in the CC field expands to.... > > 35bsw at invalid.com If the user does not match in the CVSROOT/users file then it falls back on cvsuser at defaultdomain. You need to find out why the name is not matching - read the trace as I suggested earlier. Most likely you are using domains and you are not including that, eg: DOMAIN\35bsw:my-email at invalid.com Regards, Arthur