LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Using sendmail to send mail from your ISP (https://www.linuxquestions.org/questions/linux-software-2/using-sendmail-to-send-mail-from-your-isp-267037/)

nrmx 12-16-2004 09:28 AM

Using sendmail to send mail from your ISP
 
Hi,

I am currently hosting a site on my server. The IP is dynamic and listed on the SORBS spam blocking list. So I am trying to to force sendmail to use my ISP's server for send outgoing mail. I added the following lines to my sendmail.mc

Code:

define(`SMART_HOST',`mail.myrisp.net')dnl <--- Your ISP's mail server name goes here
MASQUERADE_AS(yourisp.net)dnl  ><--- Your ISP's domain name goes here
FEATURE(`allmasquerade')dnl
FEATURE(`masquerade_envelope')dnl

but the outgoing mail comes back saying I need authentication.

How do I get senmail to authenticate my ISP's server before sending mail?


regards,
nrmx

bostontech 12-16-2004 10:16 AM

You'll need to contact your ISP.
They'll have the appropriate port numbers and username you should be using to configure your mail client (check you ISP's web site since this info is probably posted in one of the FAQ's). You'll also want to see what your ISP policies are regarding the use of their mail servers.

BTG

nrmx 12-16-2004 12:43 PM

Thanks a lot for your advise. That solved the problem. I called my ISP and got the info. As it happens my ISP uses my IP to authenticate SMTP on theri server. So as long as my IP is part of their IP block it sends my mail. The problem was that I was using the wrong SMTP server.

Regards


All times are GMT -5. The time now is 06:13 AM.