Local mail exchange and remote website?

Eric Shubert ejs at shubes.net
Sun Oct 17 19:07:49 MST 2010


On 10/17/2010 06:40 PM, Matt Graham wrote:
> From: Tom Ostlund<tom at ostlundgroup.com>
>> I am using cpanel and whm.
>> Does anyone know why I would be getting the following error:
>>
>> This mail server requires authentication when attempting to send to
>> a non-local e-mail address. Please check your mail client settings
>
> Your mail client is attempting to send mail via a box that is configured to
> only relay mail that's been authenticated via user/password or whatever.  Make
> sure your mail client is using the appropriate SMTP server.  Also try setting
> "this mail server requires authentication" to true, and make sure that the
> user/password you enter in that part of the mail client are correct for the
> SMTP server.
>
> It's hard to be more specific since I don't know what client you're using.
> This doesn't have much of anything to do with websites, either.
>
>> Is there something that I need to add to the dns zone to make this
>> work?
>
> I'd say this is barking up the wrong tree, unless you're trying to send mail
> to a domain that doesn't have an MX record.  That should give you a totally
> different error message though.
>

That sounds good to me (the mail server is requiring authentication). 
The best solution is to configure the client (a web app I presume?) to 
authenticate (provide a user/pw). If the web app (client) can't handle 
that, it is sometimes possible to configure the MTA to allow submissions 
from a specific IP address (127.0.0.1 for instance if the MTA is on the 
same host as the web app). I don't know if cpanel or whm lets you do 
that or not. Might need CLI.

-- 
-Eric 'shubes'



More information about the PLUG-discuss mailing list