Am 18.12.2013 09:31, schrieb JEWEL AHMMED:
How can I disable PostFix maillog ( /var/log/maillog ) ?
May I ask why you like to do so? That's not a clever idea.
If you don't want to run Postfix, then switch it off. If you run it on purpose, then you should have a possibility to see what it does. Thus there are syslog() messages from Postfix.
Alexander
On 18/12/2013 4:00 PM, Alexander Dalloz wrote:
Am 18.12.2013 09:31, schrieb JEWEL AHMMED:
How can I disable PostFix maillog ( /var/log/maillog ) ?
May I ask why you like to do so? That's not a clever idea.
If you don't want to run Postfix, then switch it off. If you run it on purpose, then you should have a possibility to see what it does. Thus there are syslog() messages from Postfix.
Alexander
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
My PostFix server is running good now, but, When I send many email from my server, PostFix make log file big. now my log file is 30MB .. :( so, I want to disable log reporting it. Just, can you tell me, can i make it disable ? If yes, Please tell me the process. I am new in Linux.
thank you
Am 18.12.2013 11:26, schrieb JEWEL AHMMED:
My PostFix server is running good now, but, When I send many email from my server, PostFix make log file big. now my log file is 30MB .. :( so, I want to disable log reporting it. Just, can you tell me, can i make it disable ? If yes, Please tell me the process. I am new in Linux.
thank you
How can you be sure your Postfix is running properly and that there are no issues if you have no log file reporting? Without logging you have no chance to judge about what is going on. Again, it is not a clever idea to disable writing a mail log.
And 30 MB of log file size is definitely nothing to worry about.
On 12/18/2013 05:47 AM Alexander Dalloz wrote:
Am 18.12.2013 11:26, schrieb JEWEL AHMMED:
My PostFix server is running good now, but, When I send many email from my server, PostFix make log file big. now my log file is 30MB .. :( so, I want to disable log reporting it. Just, can you tell me, can i make it disable ? If yes, Please tell me the process. I am new in Linux.
thank you
How can you be sure your Postfix is running properly and that there are no issues if you have no log file reporting? Without logging you have no chance to judge about what is going on. Again, it is not a clever idea to disable writing a mail log.
And 30 MB of log file size is definitely nothing to worry about.
In addition, you can use logrotate to manage the size of log files saved on your server.
On 18/12/2013 4:57 PM, ken wrote:
On 12/18/2013 05:47 AM Alexander Dalloz wrote:
Am 18.12.2013 11:26, schrieb JEWEL AHMMED:
My PostFix server is running good now, but, When I send many email from my server, PostFix make log file big. now my log file is 30MB .. :( so, I want to disable log reporting it. Just, can you tell me, can i make it disable ? If yes, Please tell me the process. I am new in Linux.
thank you
How can you be sure your Postfix is running properly and that there are no issues if you have no log file reporting? Without logging you have no chance to judge about what is going on. Again, it is not a clever idea to disable writing a mail log.
And 30 MB of log file size is definitely nothing to worry about.
In addition, you can use logrotate to manage the size of log files saved on your server.
Ya, Finally I understood about it. Now, I want to use "logrotate" can you tell me process?
thank you :)
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On 12/18/2013 06:03 AM JEWEL AHMMED wrote:
On 18/12/2013 4:57 PM, ken wrote:
On 12/18/2013 05:47 AM Alexander Dalloz wrote:
Am 18.12.2013 11:26, schrieb JEWEL AHMMED:
My PostFix server is running good now, but, When I send many email from my server, PostFix make log file big. now my log file is 30MB .. :( so, I want to disable log reporting it. Just, can you tell me, can i make it disable ? If yes, Please tell me the process. I am new in Linux.
thank you
How can you be sure your Postfix is running properly and that there are no issues if you have no log file reporting? Without logging you have no chance to judge about what is going on. Again, it is not a clever idea to disable writing a mail log.
And 30 MB of log file size is definitely nothing to worry about.
In addition, you can use logrotate to manage the size of log files saved on your server.
Ya, Finally I understood about it. Now, I want to use "logrotate" can you tell me process?
thank you :)
My experience has been that logrotate is already installed and configured by default during a server install. And so it may be on your machine. But this is not a certainty.
There are quite a few conditions relevant to your particular machine (e.g., "df -H") and many configuration options. Since your are obviously brand new to logrotate, you should do some reading and investigation on your own. Start off with "man logrotate" and googling for "logrotate centos redhat". There might also be info for you on the centos wiki.
If/When you have more specific questions, then it would be beneficial to post them here on this list.
hth, ken
Hi,
Wednesday, December 18, 2013, 11:26:26 AM, you wrote:
When I send many email from my server, PostFix make log file big. now my log file is 30MB .. :( so, I want to disable log reporting it.
You shouldn't disable logging, you should run logrotate so that it takes care of old log files automagically.
best regards --- Michael Schumacher PAMAS Partikelmess- und Analysesysteme GmbH Dieselstr.10, D-71277 Rutesheim Tel +49-7152-99630 Fax +49-7152-996333 Geschäftsführer: Gerhard Schreck Handelsregister B Stuttgart HRB 252024
On 2013-12-18, JEWEL AHMMED lists@jewelahmmed.me wrote:
My PostFix server is running good now, but, When I send many email from my server, PostFix make log file big. now my log file is 30MB .. :( so, I want to disable log reporting it. Just, can you tell me, can i make it disable ? If yes, Please tell me the process. I am new in Linux.
If you are this new to linux, you probably shouldn't be running a publicly accessible MTA. Normally I don't appreciate such a suggestion, but MTAs are so susceptible to abuse that in this case it's usually warranted. (And normally I don't throw around TLAs like MTA, but it's the same principle: if you don't know what an MTA is you shouldn't be running one that's publicly accessible.)
If you insist on continuing to run Postfix, be sure to monitor all the spam listing services you are likely to end up on, thus resulting in having your mail blocked by sites which use those services.
I am sorry if this sounds harsh, but I have seen too many people try, and fail, to successfully run a secure MTA.
--keith
On 19/12/2013 1:44 AM, Keith Keller wrote:
On 2013-12-18, JEWEL AHMMED lists@jewelahmmed.me wrote:
My PostFix server is running good now, but, When I send many email from my server, PostFix make log file big. now my log file is 30MB .. :( so, I want to disable log reporting it. Just, can you tell me, can i make it disable ? If yes, Please tell me the process. I am new in Linux.
If you are this new to linux, you probably shouldn't be running a publicly accessible MTA. Normally I don't appreciate such a suggestion, but MTAs are so susceptible to abuse that in this case it's usually warranted. (And normally I don't throw around TLAs like MTA, but it's the same principle: if you don't know what an MTA is you shouldn't be running one that's publicly accessible.)
If you insist on continuing to run Postfix, be sure to monitor all the spam listing services you are likely to end up on, thus resulting in having your mail blocked by sites which use those services.
I am sorry if this sounds harsh, but I have seen too many people try, and fail, to successfully run a secure MTA.
--keith
Thank you for your message, I already solved my current issue about MTA. If face any problem, then I will mail you again. Thank You JEWEL AHMMED