How to stop spam in roundcube mail

Started by tshetumd, October 26, 2016, 03:26:26 AM

Previous topic - Next topic

tshetumd

Anyone please suggest me how to stop spammer in roundcube in cwp.


Regards,

Sandeep


tshetumd

Quote from: Sandeep on October 26, 2016, 08:23:21 AM
add RBL in postfix config

Could you please share the details to how to go ?


thanks

Sandeep


Jae

Quote from: tshetumd on October 27, 2016, 03:55:28 AM
Could you please share the details to how to go ?
thanks

edit /etc/postfix/main.cf find line that contain

smtpd_recipient_restrictions =


here is mine, you can compare it, usually almost same


smtpd_recipient_restrictions =
permit_sasl_authenticated,
permit_mynetworks,
check_client_access hash:/etc/postfix/rbl_override,
reject_invalid_hostname,
reject_unauth_pipelining,
        reject_unauth_destination,
reject_unknown_recipient_domain,
reject_non_fqdn_sender,
reject_non_fqdn_recipient,
reject_rbl_client b.barracudacentral.org,
reject_rbl_client zen.spamhaus.org,
reject_rbl_client bl.spamcop.net,
reject_rbl_client cbl.abuseat.org,
reject_rbl_client bad.psky.me,
# reject_rbl_client dnsbl-1.uceprotect.net,
# check_policy_service unix:private/spfpolicy,
# reject_rbl_client dnsbl.sorbs.net,
permit



tshetumd

Quote from: Jae on October 27, 2016, 01:13:22 PM
Quote from: tshetumd on October 27, 2016, 03:55:28 AM
Could you please share the details to how to go ?
thanks

edit /etc/postfix/main.cf find line that contain

smtpd_recipient_restrictions =


here is mine, you can compare it, usually almost same


smtpd_recipient_restrictions =
permit_sasl_authenticated,
permit_mynetworks,
check_client_access hash:/etc/postfix/rbl_override,
reject_invalid_hostname,
reject_unauth_pipelining,
        reject_unauth_destination,
reject_unknown_recipient_domain,
reject_non_fqdn_sender,
reject_non_fqdn_recipient,
reject_rbl_client b.barracudacentral.org,
reject_rbl_client zen.spamhaus.org,
reject_rbl_client bl.spamcop.net,
reject_rbl_client cbl.abuseat.org,
reject_rbl_client bad.psky.me,
# reject_rbl_client dnsbl-1.uceprotect.net,
# check_policy_service unix:private/spfpolicy,
# reject_rbl_client dnsbl.sorbs.net,
permit


Hello,

Thanks for the info but do we need to create the file :/etc/postfix/rbl_override and if so what it should contain ?


Regards,

Igor S.

Quote from: tshetumd on October 28, 2016, 04:27:42 AM
Hello,
Thanks for the info but do we need to create the file :/etc/postfix/rbl_override and if so what it should contain ?
Regards,

Hello,

I guess you are able do not use it or use it empty.
If you will use it, do not forget run: postmap /etc/postfix/rbl_override



You can ask me to solve any problem with your server for some money in pm  ;)






Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions

Get Fast Support Here
http://centos-webpanel.com/support-services

tutods

Quote from: Jae on October 27, 2016, 01:13:22 PM
Quote from: tshetumd on October 27, 2016, 03:55:28 AM
Could you please share the details to how to go ?
thanks

edit /etc/postfix/main.cf find line that contain

smtpd_recipient_restrictions =


here is mine, you can compare it, usually almost same


smtpd_recipient_restrictions =
permit_sasl_authenticated,
permit_mynetworks,
check_client_access hash:/etc/postfix/rbl_override,
reject_invalid_hostname,
reject_unauth_pipelining,
        reject_unauth_destination,
reject_unknown_recipient_domain,
reject_non_fqdn_sender,
reject_non_fqdn_recipient,
reject_rbl_client b.barracudacentral.org,
reject_rbl_client zen.spamhaus.org,
reject_rbl_client bl.spamcop.net,
reject_rbl_client cbl.abuseat.org,
reject_rbl_client bad.psky.me,
# reject_rbl_client dnsbl-1.uceprotect.net,
# check_policy_service unix:private/spfpolicy,
# reject_rbl_client dnsbl.sorbs.net,
permit


I can replace my smtpd_recipient_restrictions for this lines with no worries?

Igor S.

You have to worries about every changes you do not understand. ;)
Make the /etc/postfix/main.cf backup before you changing it.



You can ask me to solve any problem with your server for some money in pm  ;)






Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions

Get Fast Support Here
http://centos-webpanel.com/support-services

tutods

Quote from: Igor S. on December 11, 2021, 02:47:51 PM
You have to worries about every changes you do not understand. ;)
Make the /etc/postfix/main.cf backup before you changing it.
After try your changes, my webmail not working.
Can help me?
I receive a lot of spam

devijohn321

Click on the Settings icon, then click on Filter Settings. Here is the explanation of what the sections do: Checks - Here you can enable or disable spam filtering or virus checking entirely.