LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-17-2003, 09:58 PM   #1
steve_babbage
LQ Newbie
 
Registered: Jul 2003
Location: Australia
Distribution: redhat9
Posts: 23

Rep: Reputation: 15
Smile sendmail


Hi, Im a bit new to linux, currently running two separate boxes, one for squid, which has now been up for 278 days !! and a newly installed Redhat 9 machine for use as a mail server. I run a small hom office.

I have a static public IP address, with A and MX records correctly set-up.

My firewalling is set-up to accept normal POP3, IMAP and SMTP ports, but i just need some help with the config of sendmail.

Im using Webmin to do most of my config, which based on my current machine is only running an FTP server and sendmail (POP,IMAP services running)

I can send mail, from say my hotmail account, my company account, ie to me@mycompany.com, and it arrives in the mailspool on my linux box, and using Webmin(localhost:10000, i can see the mail arrive, and check it locally on the linux box.

I can also read the mail from my win2000 machine on the same LAN (10.1.1.0) using outlook expre$$ or netscape.

The problem happens when i try to do a reply.

If i am logged in using the mail reader, such as outlook, i get the messge saying relaying not allowed, even though im on the same LAN as the linux box.

I want to be able to check my mail, when locally connected, say on my laptop that is on the 10.1.1.0 network, and also to be able to check my email and reply to messages, when i am say dialed in from a hotel with a different public ip address.

I know this is probably a simple one, but its got me stumped. I want to ensure i can reply, but not make my mailserver accessable to people trying to relay bad stuff.

Thanks in advance for any help
steve
 
Old 12-05-2003, 12:48 AM   #2
ugob
Member
 
Registered: Nov 2003
Distribution: RH, Fedora, Debian, Knoppix
Posts: 436

Rep: Reputation: 31
in /etc/mail/access

I put

192.168.100 RELAY
127.0.0.1 RELAY

(since my private network is 192.168.100/16)

then you do
makemap hash /etc/mail/access.db < /etc/mail/access

hth
 
  


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


All times are GMT -5. The time now is 09:03 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration