homepage Welcome to WebmasterWorld Guest from 54.196.136.119
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
Forum Library, Charter, Moderators: bakedjake

Linux, Unix, and *nix like Operating Systems Forum

    
Do I need sendmail daemon running to send emails?
0xwebmw




msg:3411205
 6:01 am on Aug 2, 2007 (gmt 0)

I am confused. I have read articles where it says that, if all you need is to send emails, you don't need the daemon running - just run "sendmail -q" as cron.

I also see messages that the daemon need to be running.

When I use "sendmail -q" I get the message "Connection refused by [127.0.0.1]"

So, is daemon required? If not, where does sendmail connect to, to send the mail? and how do I configure that?

Thanks much.

 

lucg71




msg:3420094
 11:43 am on Aug 12, 2007 (gmt 0)

You do not need the daemon running to only send out emails. What sendmail -q does when cron'd is that it queues the mail locally on your server and will send out the queued emails when the cron runs. It will not run a daemon that will constantly listen to port 25.

For this to work, you need to set up sendmail as a client only. Check out [sial.org...] to see how its done.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved