Secondary MX

2012-07-12 Thread Ramesh
Hi All, We have primary and secondary MX configured, when primary is down all messages queued at secondary. Is there any method we can access messages from secondary MX queue, b'coz sometimes primary is down more than down time, due to fiber issues at ISP end. Please let me know how to conf

Re: amavisd debug:Permission denied

2012-07-12 Thread Feel Zhou
Thank you John I know, It have no permissions, buhow can I fix it? I change the /etc/passwd [root@mail ~]# vim /etc/passwd clamav:x:500:500::/home:/bin/bash amavis:x:501:501::/home:/bin/bash vscan:x:502:502::/home:/bin/bash The same problem of debug TOM 2012/7/13 John Peach > On Fri, 13 Jul 20

Re: amavisd debug:Permission denied

2012-07-12 Thread John Peach
On Fri, 13 Jul 2012 02:09:45 +0800 Feel Zhou wrote: > Thank you very much > My system is Centos6.2/64bit > do not have the command "sealert" > Maybe not install > So I set setenforce 0, make selinux permissive > And it has no change for debug log Whichever system account you're running amavisd u

Re: amavisd debug:Permission denied

2012-07-12 Thread Feel Zhou
Thank you very much My system is Centos6.2/64bit do not have the command "sealert" Maybe not install So I set setenforce 0, make selinux permissive And it has no change for debug log Tom 2012/7/13 Alvin Wong > Do what in this section > ( > http://wiki.centos.org/HowTos/SELinux/#head-02c04b0b030

Re: amavisd debug:Permission denied

2012-07-12 Thread Feel Zhou
Thanks Alvim's proposal still the same problem do it before drwxr-x---. amavis amavis unconfined_u:object_r:var_t:s0 amavis after your command drwxr-x---. amavis amavis unconfined_u:object_r:amavis_var_lib_t:s0 amavis debug log is the same Thanks again TOM 2012/7/13 Alvin Wong > Try running

amavisd debug:Permission denied

2012-07-12 Thread Feel Zhou
Hello My friend Last time I setup amavis have some problem First is packages about Convert:BinHex Second is Permission denied And I fix the first question In Centos, use command yum install perl-Convert-BinHex But I can not fix the second question What is the first message mean it? How can I fix i

Re: Milter reply

2012-07-12 Thread Wietse Venema
Ren? Klomp: > Thanks. So that is the problem. What is the difference between > smtp and the "pickup service"? I am relatively new to postfix.. As documented at http://www.postfix.org/OVERVIEW.html, the pickup daemon handles mail that is submitted with the Postfix Sendmail command. The difference

Re: Milter reply

2012-07-12 Thread ml
Le 2012-07-12 14:53, Wietse Venema a écrit : OK, now update /etc/postfix/master.cf, add a -v option at the end after the word ``cleanup'', then send some mail. Do ``grep cleanup /var/log/maillog'' until you one have "good" and one "bad" example. Then do ``grep cleanup.x /var/log/maillog'' t

Re: Milter reply

2012-07-12 Thread Wietse Venema
OK, now update /etc/postfix/master.cf, add a -v option at the end after the word ``cleanup'', then send some mail. Do ``grep cleanup /var/log/maillog'' until you one have "good" and one "bad" example. Then do ``grep cleanup.x /var/log/maillog'' to extract the logging from a specific process x

RE: Milter reply

2012-07-12 Thread René Klomp
Okay. So here is all information. Hopefully someone can see what's going wrong. Regards, Rene -- The code of MyMilter: -- class M

Re: Milter reply

2012-07-12 Thread Wietse Venema
Ren? Klomp: > I am trying to create a milter (in python with ppymilter) for > postfix to allow users to send only a specific amount of emails > per day. > > In the OnEndBody function I increment a counter field in my database > and in OnMailFrom I read the field and if it is bigger than the > daily

Re: Milter reply

2012-07-12 Thread Thomas Spycher
Hi Do you have any decorators used for your milter methods? And whats the return Value of the milter method which checks the amount of messages? Tom Sent from my iPhone On 12.07.2012, at 09:26, René Klomp wrote: > I am trying to create a milter (in python with ppymilter) for postfix to > al

Milter reply

2012-07-12 Thread René Klomp
I am trying to create a milter (in python with ppymilter) for postfix to allow users to send only a specific amount of emails per day. In the OnEndBody function I increment a counter field in my database and in OnMailFrom I read the field and if it is bigger than the daily limit I will return s