Current time: 12-24-2024, 01:38 AM Hello There, Guest! (LoginRegister)


Post Reply 
Disable mail for a domain
Author Message
xister Offline
Member
*
Beta Team

Posts: 405
Joined: Oct 2006
Reputation: 6
Post: #11
RE: Disable mail for a domain
Here the link:
http://www.isp-control.net/forum/showthr...p?tid=3727

Please note this:
http://www.isp-control.net/forum/showthr...456&page=1
01-23-2009 10:03 PM
Find all posts by this user Quote this message in a reply
theprincy Offline
Member
***

Posts: 311
Joined: Nov 2008
Reputation: 2
Post: #12
RE: Disable mail for a domain
(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?
12-29-2009 02:29 AM
Visit this user's website Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #13
RE: Disable mail for a domain
(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
12-29-2009 02:33 AM
Visit this user's website Find all posts by this user Quote this message in a reply
theprincy Offline
Member
***

Posts: 311
Joined: Nov 2008
Reputation: 2
Post: #14
RE: Disable mail for a domain
(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 -
(This post was last modified: 12-29-2009 02:41 AM by theprincy.)
12-29-2009 02:38 AM
Visit this user's website Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #15
RE: Disable mail for a domain
Look at the /var/log/mail.log. The sasl username who is sending these messages should show up in there...
12-29-2009 02:42 AM
Visit this user's website Find all posts by this user Quote this message in a reply
theprincy Offline
Member
***

Posts: 311
Joined: Nov 2008
Reputation: 2
Post: #16
RE: Disable mail for a domain
I checked email is type webmaster@dominio.ext but as I said earlier in the section on ISPC email account does not exist
12-29-2009 02:47 AM
Visit this user's website Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #17
RE: Disable mail for a domain
Manually check/remove this user. On debian:
Code:
saslpasswd2 -d -f /etc/sasldb2 -u dominio.ext webmaster
12-29-2009 02:53 AM
Visit this user's website Find all posts by this user Quote this message in a reply
theprincy Offline
Member
***

Posts: 311
Joined: Nov 2008
Reputation: 2
Post: #18
RE: Disable mail for a domain
(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
12-29-2009 04:40 PM
Visit this user's website Find all posts by this user Quote this message in a reply
motokochan Offline
Member
***

Posts: 274
Joined: Jul 2008
Reputation: 1
Post: #19
RE: Disable mail for a domain
Are you sure the mail is being sent from this specific server? Have you confirmed on the mail log?
12-29-2009 05:14 PM
Visit this user's website Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #20
RE: Disable mail for a domain
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
12-29-2009 05:19 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)