LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-02-2007, 10:11 AM   #1
laurat
LQ Newbie
 
Registered: Nov 2007
Posts: 2

Rep: Reputation: 0
Using sendmail relay (SMART_HOST) through a spam filter


Good Morning,

I've kind of had support for linux email issues dropped in my lap and this is not really my strong suit.

Here's the situation and I hope I explain it right:

Red Hat Linux server used to generate emails. The client does not use their ISP for mail hosting and their linux server is not public, so their outgoing emails are relayed through the ISP mailserver via SMART_HOST in /etc/mail/sendmail.mc

define(`SMART_HOST',`mail.ispdomain.com')

Everything was working great until the ISP installed a spam filter on their mail server.

The out going email generated this error:

----- The following addresses had permanent fatal errors -----laura@recipient.com

----- Transcript of session follows -----
550 5.1.2 laura@recipient.com... Host unknown (Name server: mailsecurity.isp.com.ispdomain.com.: host not found)

--lA1Jcu017038.1193945936/linuxserver.com
Content-Type: message/delivery-status

Reporting-MTA: dns; ideal.com
Arrival-Date: Thu, 1 Nov 2007 15:38:11 -0400

Final-Recipient: RFC822; laura@recipient.com
Action: failed
Status: 5.1.2
Remote-MTA: DNS; mailsecurity.isp.com.ispdomain.com
Last-Attempt-Date: Thu, 1 Nov 2007 15:38:56 -0400

--lA1Jcu017038.1193945936/linuxserver.com
Content-Type: message/rfc822


The ISP provided me with a name and an IP address for the spamfilter.

Adding it to the DNS /etc/resolv.conf didn't help.

Replacing the SMART_HOST entry with it define(`SMART_HOST',`mailsecurity.isp.com')

regenerating sendmail.cf and restarting the sendmail service didn't help either, but I do get a new message:

----- The following addresses had permanent fatal errors -----
laura@recipient.com
(reason: 550 <laura@recipient.com>: Recipient address rejected: No such domain at this location (laura@recipient.com))

----- Transcript of session follows -----
... while talking to mailsecurity.isp.com.:
>>> RCPT To:<laura@recipient.com>
<<< 550 <laura@recipient.com>: Recipient address rejected: No such domain at this location (laura@recipient.com)
550 5.1.1 laura@recipient.com... User unknown

--lA1KT3119344.1193948943/linuxserver.com
Content-Type: message/delivery-status


Thanks for any help you can give me!

Laura
 
Old 11-03-2007, 09:18 PM   #2
cmnorton
Member
 
Registered: Feb 2005
Distribution: Ubuntu, CentOS
Posts: 585

Rep: Reputation: 35
Question

Does the SPAM filter require that your sendmail log into the ISP's mail server as an authorized client? We had to restrict access to port 25 within our firewall. That means all our Linux servers had to log into our mail server as an authorized client.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sendmail authentication for SMART_HOST relay cdhgee Linux - Software 7 05-24-2011 11:15 AM
spam filter that puts spam into spam folder? paul_mat Linux - Software 3 03-31-2009 05:18 AM
SPAM Relay: Fedora6 and Sendmail 8.13.8-2 ChrisGosley Linux - Security 3 04-12-2007 12:22 AM
Spam filter to external mail filter deadlock Linux - Software 1 06-16-2004 03:28 AM
smart_host configuration in sendmail.mc sln Linux - General 5 12-02-2003 04:36 AM


All times are GMT -5. The time now is 08:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration