Page 1 of 1

Setting an SMTP relay

Posted: Wed Aug 22, 2007 11:04 am
by Dunkirk
I have a situation where I got dinged as a spammer. From the logs, it looks like the problem was on their end, because a legitimate address was coming back as "user not found." Anyway, it brought up the point that I probably shouldn't be sending SMTP myself; I should probably be sending it through my big, reputable ISP, and letting them deal with "credibility" issues.

Based on something I found through Google, I set "DSsmtp.isp.com" in my /etc/mail/sendmail.cf file, and restarted sendmail. This didn't change the relay. I restarted scalix (through the rc file), and it still didn't change. So I'll ask directly: what's the best way to set this?

TIA,
dk

Posted: Wed Aug 22, 2007 2:16 pm
by kanderson
DS is what you're after. You need to restart sendmail to make it effective.

/etc/init.d/sendmail restart

That should be it.

Thanks
Kev.

Posted: Thu Aug 23, 2007 7:06 am
by Dunkirk
DOH! I edited submit.cf instead of sendmail.cf. Goodness only knows why. It was probably a goof with bash tab completion.