ispCP - Board - Support
Disable mail for a domain - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: Disable mail for a domain (/thread-3247.html)

Pages: 1 2 3


RE: Disable mail for a domain - xister - 01-23-2009 10:03 PM

Here the link:
http://www.isp-control.net/forum/showthread.php?tid=3727

Please note this:
http://www.isp-control.net/forum/showthread.php?tid=5456&page=1


RE: Disable mail for a domain - theprincy - 12-29-2009 02:29 AM

(05-08-2008 08:48 PM)KeNt Wrote:  nano /etc/postfix/ispcp/domains
comment domain
cp /etc/postfix/ispcp/domains /etc/ispcp/postfix/working
cd /etc/postfix/ispcp
postmap domains

I have to block outgoing mail to a domain, is conducting phishing,
I commented on the rule in the file but contiuna postfix to send email how can I solve?


RE: Disable mail for a domain - kilburn - 12-29-2009 02:33 AM

(12-29-2009 02:29 AM)theprincy Wrote:  I have to block outgoing mail to a domain, is conducting phishing,
I commented on the rule in the file but contiuna postfix to send email how can I solve?

Change the password of the user who is sending these mails


RE: Disable mail for a domain - theprincy - 12-29-2009 02:38 AM

(12-29-2009 02:33 AM)kilburn Wrote:  
(12-29-2009 02:29 AM)theprincy Wrote:  I have to block outgoing mail to a domain, is conducting phishing,
I commented on the rule in the file but contiuna postfix to send email how can I solve?

Change the password of the user who is sending these mails

I had thought so, sending email does not exist in the panel
After disabling all I've done a cleansing of the tail in this way

mailq | grep email-send-spam | awk '{print $1}' | tr -d ‘*’ | postsuper -d -


RE: Disable mail for a domain - kilburn - 12-29-2009 02:42 AM

Look at the /var/log/mail.log. The sasl username who is sending these messages should show up in there...


RE: Disable mail for a domain - theprincy - 12-29-2009 02:47 AM

I checked email is type webmaster@dominio.ext but as I said earlier in the section on ISPC email account does not exist


RE: Disable mail for a domain - kilburn - 12-29-2009 02:53 AM

Manually check/remove this user. On debian:
Code:
saslpasswd2 -d -f /etc/sasldb2 -u dominio.ext webmaster



RE: Disable mail for a domain - theprincy - 12-29-2009 04:40 PM

(12-29-2009 02:53 AM)kilburn Wrote:  Manually check/remove this user. On debian:
Code:
saslpasswd2 -d -f /etc/sasldb2 -u dominio.ext webmaster
saslpasswd2: user not found and the problem is that continues to send email accounts


RE: Disable mail for a domain - motokochan - 12-29-2009 05:14 PM

Are you sure the mail is being sent from this specific server? Have you confirmed on the mail log?


RE: Disable mail for a domain - kilburn - 12-29-2009 05:19 PM

You should have it:
Code:
MiniBender:ispcp kilburn$ grep CMD_SASLDB_PASS configs/*/ispcp.conf
configs/centos/ispcp.conf:CMD_SASLDB_PASSWD2 = /usr/sbin/saslpasswd2
configs/debian/ispcp.conf:CMD_SASLDB_PASSWD2 = /usr/sbin/saslpasswd2
configs/fedora/ispcp.conf:CMD_SASLDB_PASSWD2 = /usr/sbin/saslpasswd2
configs/freebsd/ispcp.conf:CMD_SASLDB_PASSWD2 = /usr/local/sbin/saslpasswd2
configs/gentoo/ispcp.conf:CMD_SASLDB_PASSWD2 = /usr/sbin/saslpasswd2
configs/openbsd/ispcp.conf:CMD_SASLDB_PASSWD2 = /usr/local/sbin/saslpasswd2
configs/opensuse/ispcp.conf:CMD_SASLDB_PASSWD2 = /usr/sbin/saslpasswd2
configs/redhat/ispcp.conf:CMD_SASLDB_PASSWD2 = /usr/sbin/saslpasswd2
configs/ubuntu/ispcp.conf:CMD_SASLDB_PASSWD2 = /usr/sbin/saslpasswd2