Welcome to WebmasterWorld Guest from

Forum Moderators: bakedjake

Message Too Old, No Replies

Do I need sendmail daemon running to send emails?

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

New User

5+ Year Member

joined:Jan 8, 2007
votes: 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 []"

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

Thanks much.

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

New User

5+ Year Member

joined:Aug 11, 2007
votes: 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.