LinuxQuestions.org
Visit Jeremy's Blog.
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 09-21-2004, 05:38 PM   #1
rshooper
LQ Newbie
 
Registered: Aug 2004
Distribution: Fedora Core 2
Posts: 24

Rep: Reputation: 15
Sendmail Problems


I am running sendmail on a Linux Fedora Core 2 machine and I am running into a few problems. Everything is working fine if the users are using IMAP of POP3 with in the facilities(subnets) that I am allowing to relay. However, if users are outside of these subnets, mostly at home or traveling, and they want to check their mail they have problems. They can receive mail just fine, they just cannot send. What do I need to do to fix this.

Also, periodically users get an error when trying to send or receive mail, that states that the server has not replied in 60 seconds. What do I need to look at to start troubleshooting this?
 
Old 09-27-2004, 01:45 PM   #2
tlowk
Member
 
Registered: Nov 2003
Location: Belgium
Distribution: Slackware
Posts: 184

Rep: Reputation: 36
The easy solution would be to put in /etc/mail/access

.com RELAY

(and run the Makefile with make)


But this is a very bad idea in the first place. Because this makes your
mailserver an 'open relay' as anybody will be able to abuse it to send spam.

a possible solution is that you intercept in your facility al outgoing tcp trafic
to a port 25 (expect from you mailserver) and forward it to your mailserver.

for example: (just to give an idea)
iptables -t nat A PREROUTING -s MailServer -p tcp --dport 25 -j ACCEPT
iptables -t nat -A PREROUTING -s insideNetwork -d ! MailServer -p tcp --dport 25 -j DNAT --to-destination MailServer:25

this way any laptop can configure the external smtp server they use outside, and when the are
inside they will use your sever to send mail, without reconfiguring)

The other way is to use authentication and TLS which I never did, but you can probably find
some info about it. Then it is not port 25 anymore that your pc's will use to connect so maybe
you need to change your firewall also.

Tlowk
 
  


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 problems stouffej Red Hat 4 02-04-2005 10:39 PM
Problems with sendmail... @ngelot Linux - Software 4 11-17-2004 03:06 AM
sendmail problems bdoster Linux - Networking 2 10-29-2004 01:24 PM
problems with sendmail baczer Slackware 0 07-23-2004 01:20 PM
problems with sendmail JLDixon Linux - Software 8 03-13-2004 01:57 PM

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

All times are GMT -5. The time now is 06:14 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
Open Source Consulting | Domain Registration