-----Original Message-----
From: Katz, Dov B (IT) [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 30, 2004 12:31 PM
To: CF-Talk
Subject: RE: CFMIAL ERROR TOO
Neither was I. Had to learn this stuff the hard way... :)
Basically, many SMTP servers have a problem sending mail on behalf of
other users. For example, I can't just connect my cfserver to eaa.org
and send mail as [EMAIL PROTECTED] to other people. If I could, I could
easily "spoof" any identity I want when sending mail so people think
things are from whomever I choose.
That's called "relaying" which is one major exploitable feature of Mail
Servers that spammers use.
Most mails servers lock down relays by either restricting which IP's can
send mail through them, or by requiring "SMTP Authentication" - a
username and password to authenticate a user of a SMTP Server (in this
case a cf server) before the "user" asks it to deliver mail on its
behalf.
Based on the failure msg being relay-denied related, I suspect that
either
1) the IP of your CF server is not allowed to send mail using the SMTP
server specified; or
2) you have not set up a password and username on CF, and the smtp
server requires authentication; or
3) The mailserver does not require authentication, and you're only
allowed to send mail if the From header is someone whose account is
hosted with it...
There are other possibilities, but this is what my experience would lead
me to believe.
Hope it helps you.
-dov
_____
From: Eric Creese [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 30, 2004 1:22 PM
To: CF-Talk
Subject: RE: CFMIAL ERROR TOO
you lost me there, not net admin expert
-----Original Message-----
From: Katz, Dov B (IT) [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 30, 2004 12:18 PM
To: CF-Talk
Subject: RE: CFMIAL ERROR TOO
Unable to relay? Are you checking that your SMTP server requires
authentication to relay mail, and if so, providing that?
If the mail is accepted by CFMAIL but not by the spooler thread, then
the address is perfectly fine (CFMAIL throws on address syntax errors),
and the problem exists with the CF attempt to send mail to the
particular recipient as the particular sender.
I'd check mailserver relay settings, and cfserver mail settings to make
sure the mailserver relays from local IP address CF is using and/or that
the cf server is authenticating to the SMTP server before attempting to
send.
HTH,
-Dov
_____
From: Barney Boisvert [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 30, 2004 1:10 PM
To: CF-Talk
Subject: RE: CFMIAL ERROR TOO
Sure looks like you've got an invalid address. In my experience, CFMX
will
happily allow anything you specify to any of the address fields, and
then
let it die on the mail server, which frequently propogates back up to CF
and
terminates the request. One solution is to not use the QUERY attribute
in
CFMAIL, instead embedding it within a loop, and surrounding it with
CFTRY..CFCATCH, but that can be really slow, because it has to create a
new
mail session each time. The other way is to validate the hell out of
your
email addresses, which is a far better solution in my mind, since you
really
ought to be doing that anyway.
Cheers,
barneyb
> -----Original Message-----
> From: Eric Creese [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 30, 2004 9:58 AM
> To: CF-Talk
> Subject: CFMIAL ERROR TOO
>
> I get the following running CFMX, IIS5
>
> "Error","scheduler-5","03/29/04","23:48:09",,"Sending failed;
> nested exception is: javax.mail.SendFailedException:
> Invalid Addresses; nested exception is:
> javax.mail.SendFailedException: 550 5.7.1 Unable to relay for
> [emailaddress]
>
>
_____
_____
_____
_____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

