LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-17-2004, 10:34 PM   #1
psychofurryewok
LQ Newbie
 
Registered: Aug 2004
Distribution: Slackware 10
Posts: 4

Rep: Reputation: 0
I think I messed sendmail up


So, upon suggestion from someone in #slackware on freenode I went and tried to install MailScanner (mailscanner.info) so that I could cut out any spam, etc. Well, I believe it may have messed up a few things being that sendmail isn't working, I'm not receiving e-mail, and logs just keep saying 550 Relaying denied. This is, needless to say, a minor problem. Everything else is working just fine and I'm already hosting some websites of friends and such and don't want to have to reinstall Slack. I'm running Slack 10. I went ahead and did removepkg sendmail and procmail, deleted the configuration files in /etc/mail, reinstall and everything is still going the same way. All I want is for this one last thing to work and it'd be perfect! Thanks in advance for any help. Google has churned up no results that have helped, just explanations of what errors mean but no solutions.
 
Old 10-17-2004, 11:01 PM   #2
mago
Member
 
Registered: Apr 2004
Location: Costa Rica
Distribution: slack current with 2.6.16.18 (still off the hook)
Posts: 284

Rep: Reputation: 33
Quote:
550 Relaying denied

Ok, as far I know that error means that the access database inside /etc/mail/ is not being configure to accept comunication from anywhere.

Just edit the access file and add the ip-ips or networks that you want to be able to conenct to your sendmail server, something like this:

192.168.10.0/24 ACCEPT
192.168.10.123 DENY


With this you are allowing all the machines inside the 192.168.10.0 255.255.255.0 network to connecto the sendmail server except for the 192.168.10.123 address, just adapt it to your needs.

Then run this command:
Code:
makemap hash access< access
, run it from inisde the /etc/mail folder
That should fix the problem you are having.
 
Old 10-18-2004, 01:26 AM   #3
psychofurryewok
LQ Newbie
 
Registered: Aug 2004
Distribution: Slackware 10
Posts: 4

Original Poster
Rep: Reputation: 0
Well, I fixed it a few minutes after I posted this post. I set it up so relay-servers file said my.hostname could relay and such. Then it said it was looping, bad MX record or something. So I went ahead and added to my localhostnames file all the possible hostnames and now it works. Is this more insecure than your way? I really don't want to be used as a spam relay or receive spam.
 
  


Reply



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 ignores my sendmail smarthost entry Paul_assheton Linux - General 1 03-17-2009 07:55 AM
FC4 and Sendmail - Cannot create sendmail.pem Balderayne Linux - Security 2 11-09-2005 02:55 PM
Nail looking for Sendmail in /usr/lib/sendmail Berhanie Slackware 2 02-22-2005 11:18 AM
Sendmail - RunAsUser=sendmail:mail/What files to i have to change ForumKid Linux - Security 45 01-18-2002 11:47 AM
sendmail (dont just ignore it 'cause its got sendmail in the subject :P) GnomeKing Linux - Networking 1 11-12-2001 09:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:30 AM.

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
Open Source Consulting | Domain Registration