LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-09-2002, 10:03 PM   #1
AMDPwred
Member
 
Registered: Dec 2001
Location: Richmond, VA
Posts: 391

Rep: Reputation: 30
SendMail


I've got a Java program that sends email. Instead of using my ISPs SMTP I'd rather use SendMail from my Linux Server. I know Sendmail is set to run already but how can I check its status and open it so I can connect to it through my main box (which is located on the LAN)? I heard by default it's only set to take local connections. Just so you know, Samba is running so I can already access the box. Thanks for any help.
 
Old 03-10-2002, 10:43 PM   #2
Scotty2435
Member
 
Registered: Dec 2001
Location: Waco, Texas USA
Distribution: Redhat 7.1
Posts: 232

Rep: Reputation: 30
ahhhhhhhhhhhhhhhh sendmail run run run for your lives. I had a lot of trouble with it a while back and this help could be a bit spotty.

if you just want to send from inside a lan add the computers ips to /etc/mail/access.

If you want to be able to let them send from anywhere you have two choices can use this big complicated dns thing that I don't understand (protects against spam i think).

or you can turn your server into an open relay which can make it a target for spam (what I do but I haven't had a problem yet) do this by making sure you have this in your /etc/mail/sendmail.mc

FEATURE(`accept_unresolvable_domains')dnl

you might also need to have this in there to
FEATURE(`promiscuous_relay')dnl

make sure this is uncommented
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')

after making changes to this file be sure to run

m4 /etc/mail/sendmail.mc > /etc/sendmail.cf

and restart sendmail

Last edited by Scotty2435; 03-10-2002 at 10:52 PM.
 
  


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 On
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
php+ sendmail no good - python + sendmail ok nephish Linux - Networking 1 10-07-2005 01:19 PM
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 - General

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