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 [[email protected] (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> 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 <[email protected]>
To: Bart S <[email protected]>; [email protected]
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 [email protected] 
> is my email (note that I do not put my company 
> email here to prevent from spamming)
> 
> 35bsw:[email protected]
> 
> the [to_user] in the CC field expands to....
> 
> [email protected] 

If the user does not match in the CVSROOT/users file then  it falls back
on cvsu...@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:[email protected]

Regards,


Arthur


      
_______________________________________________
cvsnt mailing list
[email protected]
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt

Upgrade to CVS Suite for more features and support: http://march-hare.com/cvsnt/

Reply via email to