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 04-02-2005, 09:05 AM   #1
RomanG
Member
 
Registered: Jan 2005
Location: Russia, Kazan
Distribution: Mandrake 10.2, RedHat sometimes..
Posts: 110

Rep: Reputation: 15
Postfix configuration


Hello! Sorry for so dumb question, but, but I do not know anyone who can help me...
I want to decrease CPU and memory usage on my computer. So how to setup Postfix, if I want it only to send about 2-8 messages in a day with program 'sendmail', and I do not need to receive any. I see that it runs many processes and suggest that I do not need at least half of them.
Please, help..
 
Old 04-02-2005, 10:52 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
these are seperate processes to perform different functions of the MTA, they will use NO resources when not being used. use programs like "top" to see what actually IS using up the CPU.
 
Old 04-02-2005, 11:36 AM   #3
RomanG
Member
 
Registered: Jan 2005
Location: Russia, Kazan
Distribution: Mandrake 10.2, RedHat sometimes..
Posts: 110

Original Poster
Rep: Reputation: 15
Thank you for replying, acid_kewpie!

Here are 'ps aux | grep postfix' results:
Code:
root      1656  0.0  0.3  1612  612 ?        Ss   Jan10   0:55 syslogd -m 0 -a /var/spool/postfix/dev/log
root      1898  0.0  0.6  2760 1060 ?        Ss   Jan10   0:01 /usr/lib/postfix/master
postfix  14343  0.0  0.7  2908 1104 ?        S    Jan10   0:01 qmgr -l -t fifo -u -c
postfix  14344  0.0  0.9  4128 1468 ?        S    Jan10   0:06 tlsmgr -l -t fifo -u -c
postfix  29213  0.0  0.6  2876 1076 ?        S    19:29   0:00 pickup -l -t fifo -u -c -o content_filter  -o receive_override_options
and here are some 'top' results:
Code:
Mem:    157208k total,   144368k used,    12840k free,    61524k buffers
Swap:   385520k total,      128k used,   385392k free,    50796k cached
Code:
14344 postfix   16   0  4128 1468 3928 S  0.0  0.9   0:06.55 tlsmgr
14343 postfix   16   0  2908 1104 2724 S  0.0  0.7   0:01.90 qmgr
29213 postfix   16   0  2876 1076 2692 S  0.0  0.7   0:00.06 pickup
1898 root      16   0  2760 1060 2576 S  0.0  0.7   0:01.71 master
... top CPU users are Asterisk IP PBX, mpg123, bash, sshd and then Postfix processes goes.
As I need only to send some 2-8 e-mails in a day (with 'sendmail -t' command), do I really need to run Postfix? Or there are some another solutions?
Thank you again. Thank you...
 
Old 04-02-2005, 02:10 PM   #4
RomanG
Member
 
Registered: Jan 2005
Location: Russia, Kazan
Distribution: Mandrake 10.2, RedHat sometimes..
Posts: 110

Original Poster
Rep: Reputation: 15
Offtopic: Kitties are the best, acid_kewpie!...
(http://untrepid.com/?page=gallery or http://untrepid.com/gallery/albums/hello_kitties/)
 
Old 04-03-2005, 05:41 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
hehe thanks... they're sitting on the window sill infornt of me at the moment... smelly buggers.


as for postfix... you can see there that the memory and CPU usage is so so negligible.. i really wouldn't worry.
 
Old 04-03-2005, 07:47 AM   #6
RomanG
Member
 
Registered: Jan 2005
Location: Russia, Kazan
Distribution: Mandrake 10.2, RedHat sometimes..
Posts: 110

Original Poster
Rep: Reputation: 15
Oki, I found that it is 10Mbit/s ethernet IDE card sometimes makes access slow. But is there any replacement for Postfix 'sendmail -t' that I can launch only when I want to send e-mail?

Offtopic: please, look at http://forum.kgts.ru/viewtopic.php?t=275 and say some comments about this IRC private (I gave back that site to his owner). And... I am not a hacker...
Say Hello to kitties!!!
 
Old 04-04-2005, 08:25 AM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
ok, there are virtual smtp servers, like ssmtp, which ACT like smtp servers but actually aren't, and only relay to a real server. maybe that's the sort of thing you're after...
 
Old 04-04-2005, 08:38 AM   #8
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
If you don't necessarily need to recieve email ever and are using sendmail and postfix currently, in what you've described, you don't necessarily need postfix running at all.
 
  


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
Postfix configuration help. mdpolaris Linux - Software 7 10-06-2006 03:31 AM
postfix configuration jkmartha Linux - Newbie 1 04-22-2005 03:29 AM
postfix configuration argh2005 Linux - Networking 0 08-30-2003 11:35 PM
Postfix configuration EdwinNameless Linux - Software 0 07-18-2003 12:55 PM
Postfix Configuration Graanco Linux - Software 2 07-06-2002 02:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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