Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - banane

Pages: 1 [2] 3
Postfix / Re: Can't receive mail.
« on: May 25, 2015, 12:21:33 PM »
It looks while giving details about problem I found the qcause of issue, its small bug in the entries created in /etc/postfix/

They are :
Code: [Select]
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination,reject_non_fqdn_sender,reject_non_fqdn_recipient,reject_unknown_recipient_domain,,,,check_policy_service unix:private/spfpolicy

But should be :

Code: [Select]
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination,reject_non_fqdn_sender,reject_non_fqdn_recipient,reject_unknown_recipient_domain,reject_rbl_client,reject_rbl_client,reject_rbl_client,check_policy_service unix:private/spfpolicy
Posting here so that can help others.

thanks a lot,
previously I removed all of them to have it working, see here:

E-Mail / Re: Wordpress cannot send email
« on: May 19, 2015, 04:17:42 AM »
I have the same issue with my CentOS 7.1. But already tried disable CSF as a result doesn't make any sense.

Do you have any advice?

CentOS 7 isn't yet supported in CWP

CSF Firewall / Re: How to verify file integrity?
« on: May 11, 2015, 04:10:10 PM »
it's normal: you enabled the firewall and those files are csf and lfd config files

Postfix / Re: AntiSpam/AntiVirus Problem
« on: May 11, 2015, 03:59:09 PM »
have a look at the mail log in /var/log/maillog

in /var/log/maillog I had many lines like this:
Code: [Select]
amavis[18486]: (18486-01) (!)run_av (ClamAV-clamd) FAILED - unexpected , output="/var/amavis/tmp/amavis-x/parts: lstat() failed: Permission denied. ERROR\n"
I fixed that adding the clamav user in amavis group with this command
Code: [Select]
usermod -a -G amavis clamav
I guess it's a bug, isn't?

Apache / Re: How to check if userdir_module is installed
« on: May 03, 2015, 07:31:04 PM »
how to stop the directory listing?

MySQL / Re: new users and databases not showing up
« on: May 03, 2015, 07:05:13 PM »
username for new account is limited to 8 characters by default.

I found it really constraining: I can't assign meaningful name to users thus administering gets more tricky
Isn't there a way to set it to an higher value?

I had to remove also,

Postfix / Re: postfix []:10024: Connection refused
« on: April 10, 2015, 12:08:24 PM »
thanks ashpak
I did it few hours ago as posted here:

by the way, I had to add manually content_filter= smtp-amavis:[]:10024 in /etc/postfix/ and remove,,, from smtpd_recipient_restrictions

CentOS 6 Problems / Re: Admin Messages
« on: April 10, 2015, 12:05:22 PM »
me too

I installed amavisd with
Code: [Select]
yum install amavisd-new
then in /etc/postfix/ added
Code: [Select]
content_filter= smtp-amavis:[]:10024
but remove,,, from smtpd_recipient_restrictions
because was making errors

umh, a bit of mess but now is working!!!

CSF Firewall / Re: CSF restart from CWP crash iptables...
« on: April 09, 2015, 09:23:54 AM »
got it!
I opened /usr/local/csf/bin/ with vim and the option :e ++ff=unix and deleted ^M at the end of each line
now csf is appling the iptables rules correctly

CSF Firewall / Re: CSF restart from CWP crash iptables...
« on: April 08, 2015, 12:44:00 PM »
umh,csf doesn't accept

Code: [Select]
iptables -t nat -A POSTROUTING -s -o eth0 -j MASQUERADE
Error:[iptables v1.4.7: Invalid target name `MASQUERADE]

Pages: 1 [2] 3