Re: Email from Cruisecontrol

Dale <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <[email protected]>
Mark Townsend <mltownsend <at> gmail.com> writes:

> 
> 
> This sounds like you are trying to send mail from a SMTP 
server that doesn't
support sending mail out to people it doesn't know about.  
Make sure your from
address is a mail user that is known to that SMTP server.
> On Tue, Apr 14, 2009 at 10:49 AM, Dale <dale.klein 
<at> kohls.com> wrote:
> I get a javax.mail.SendFailedException: 
554 <Dale.Klein <at> kohls.com>: Relay
access
> denied when emailing from Cruisecontrol
> I can use the same values from the prompt on the 
box and it works.  I'm assuming
> I need to give socket permission to cruisecontrol.  
I created a cc.policy file
> and added it to the java execution line 
-Djava.security.policy=cc.policy
> grant {
>         permission java.net.SocketPermission
> "164676-app21.www.acquitygroup.com:25-", "connect, 
resolve, listen, accept";
> }
> but I still get the Relay access denied
> Am I on the right track or is there something 
else I need to do?
> Thanks
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> High Quality Requirements in a Collaborative Environment.
> Download a free trial of Rational Requirements Composer
Now!http://p.sf.net/sfu/www-ibm-com
> _______________________________________________
> Cruisecontrol-user mailing listCruisecontrol-user <at>
lists.sourceforge.nethttps://lists.sourceforge.net/lists
/listinfo/cruisecontrol-user
> 
> 
> 
> 
> 
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> High Quality Requirements in a Collaborative Environment.
> Download a free trial of Rational Requirements 
Composer Now!
> http://p.sf.net/sfu/www-ibm-com
> 
> _______________________________________________
> Cruisecontrol-user mailing list
> Cruisecontrol-user <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo
/cruisecontrol-user
> 


I can log onto the box and from the prompt send mail 
to [email protected] no error.  I receive the email 
in my Kohls account. I assume that everything on the box 
is set up correctly.

I use the same from address and to address in Cruisecontrol 
but I get the relay access denied.



------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.