LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-17-2006, 09:31 AM   #1
Skip-DMP
Member
 
Registered: Jan 2006
Distribution: RHEL3
Posts: 97

Rep: Reputation: 15
Sendmail - Remote users cant send


I know this is probably a simple fix somewhere in my sendmail configuration.

We have a number of employees who are salesmen in the field and use our email server. Simple enough. I am replacing a very old and outdated machine with a new linux box.

RHEL3
sendmail 8.1x

I have everything nearly ready, but when I went to use email from outside of our network, I received an error. I don't recall all the specifics, but something about a 471 error and that the server couldn't relay from my external IP address.

I know there are probably a couple of lines missing from my configuration of sendmail which would allow this, but I also want to try to prevent opening myself up from spammers using my domain... Any advice here would be helpful.

Thanks!
 
Old 02-17-2006, 12:23 PM   #2
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
Email servers should be configured as yours is. You don't want everyone in the world to be able to send email through your server, that is how spam is sent.

The best way to do this is to use authentication when sending. Not sure how sendmail is configured on RHEL3, but it may already be setup for this.

Then on the client you change their sending options to authenticate before sending.

There are plain text or encrypted ways of doing this.

I use SASL
 
Old 02-21-2006, 09:46 AM   #3
Skip-DMP
Member
 
Registered: Jan 2006
Distribution: RHEL3
Posts: 97

Original Poster
Rep: Reputation: 15
Question SASL without recompilation?

I've got SASL installed, but I am trying to find now how I can run sendmail without recompiling (reinstalling?). I am very nervous about blowing away my current configuration because it works. I found a couple of excellent threads here on the boards, but all of them seem more like a starter concept. I am interested in adding SASL to my current configuration without killing sendmail.

1) Can I recompile (reinstall) and have my installation remain intact?
2) Is there simply the ability to edit configuration files to get it to work?
 
Old 02-21-2006, 12:05 PM   #4
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
1. your main sendmail config files such as aliases, hosts, domain routing etc should remain, but always backup in case.

2. if sendmail was compiled with auth enabled then you may just have to edit the M4 file and recreate your sendmail.cf file. There is a command you can send sendmail to output what options it was compiled with, google it up, i forgot what it is.
 
Old 02-21-2006, 12:19 PM   #5
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Try

sendmail -d0.1 -bv root | grep SASL
 
Old 02-21-2006, 01:53 PM   #6
Skip-DMP
Member
 
Registered: Jan 2006
Distribution: RHEL3
Posts: 97

Original Poster
Rep: Reputation: 15
AUTH not there

It wasn't compiled with AUTH, so I guess I have few options here than to backup and recompile. I'll follow up with my results...
 
  


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
Users can't send mails hobz Linux - General 3 12-13-2004 09:44 AM
Sendmail: How can I avoid some users send mail to outside domains? lordphantom82 Linux - Software 0 11-16-2004 07:23 PM
send message to remote machine AcerKev Linux - Networking 6 02-13-2004 11:11 AM
Maddening sendmail problem -- cant send mail to remote hosts! HELP! Bungo2000 Linux - Networking 11 06-09-2003 03:33 PM
Qmail wont send to Remote users! kofi Linux - Networking 3 12-02-2002 09:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:57 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