LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-12-2009, 08:12 AM   #16
qwertyjjj
Senior Member
 
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,012

Original Poster
Rep: Reputation: 30

Quote:
Originally Posted by repo View Post
It uses the MTA installed.
Are they th installed?
sendmail and postfix ?
both are installed but not sure how to check which are running.
Should it make a difference?
If it works from the command line, how come I don't get anything when run from the crontab?
 
Old 08-12-2009, 08:12 AM   #17
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
Quote:
But logwatch uses sendmail doesn't it?
Like I said, the command works, just not when run from crontab?! Strange
Same error as before:
Aug 12 11:44:22 localhost postfix/postdrop[2894]: warning: unable to look up public/pickup: No such file or directory
Did you do
Code:
mkfifo /var/spool/postfix/public/pickup
and restarted postfix ?
 
Old 08-12-2009, 08:20 AM   #18
qwertyjjj
Senior Member
 
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,012

Original Poster
Rep: Reputation: 30
Aha...postfix wasn't started.
All the emails came flooding in.
Thank you.
 
Old 08-12-2009, 08:25 AM   #19
qwertyjjj
Senior Member
 
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,012

Original Poster
Rep: Reputation: 30
So, postfix is an email program or is that sendmail?
Do I need sendmail running at all?
 
Old 08-12-2009, 08:35 AM   #20
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Hello,

Postfix and Sendmail are both MTAs (Mail Transfer Agent) and provide almost the same functionality. Sendmail is known to be a lot more complicated to configure then Postfix. So to answer your question, either of them will do the job if configured correctly, both together are not necessary and not advised. If Postfix is working correctly then you don't need Sendmail.

Kind regards,

Eric
 
Old 08-12-2009, 08:44 AM   #21
qwertyjjj
Senior Member
 
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,012

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by EricTRA View Post
Hello,

Postfix and Sendmail are both MTAs (Mail Transfer Agent) and provide almost the same functionality. Sendmail is known to be a lot more complicated to configure then Postfix. So to answer your question, either of them will do the job if configured correctly, both together are not necessary and not advised. If Postfix is working correctly then you don't need Sendmail.

Kind regards,

Eric
is the service called sendmail, can;t seem to find it.
I guess I could just yum remove sendmail
 
Old 08-12-2009, 07:12 PM   #22
AWegner
LQ Newbie
 
Registered: Aug 2009
Distribution: Fedora/CentOS/RedHat
Posts: 2

Rep: Reputation: 0
Quote:
Originally Posted by qwertyjjj View Post
is the service called sendmail, can;t seem to find it.
I guess I could just yum remove sendmail
Yes it is.
 
  


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
Pipe'ing the ouput of 'cat' into 'mutt' (email) losses newlines when email received helptonewbie Linux - Newbie 2 08-28-2008 04:16 AM
logwatch email notification sachin1361 Linux - Enterprise 5 05-29-2008 08:52 AM
Archiving both received and sent email? neocookie Linux - Server 3 09-26-2007 10:13 AM
logwatch - duplicate email aolong Linux - Server 3 09-11-2007 01:41 PM
Logwatch can't email me soren625 Linux - General 15 12-16-2004 12:02 PM


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