• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Server is sending spam from an email account

JasonBibby

New Pleskian
How to clear the mail queue?

EDIT: How can I clear the mail queue? I seem to have stopped the messages getting to the server however there's 123639 still in the queue...


# /var/qmail/bin/qmail-qstat
messages in queue: 123639
messages in queue but not yet preprocessed: 0



I know which domain the spam is being sent out from, how can I stop it connecting to the server through 1&1?

I've deleted the account and domain from parallels, however the maillog is still being over run by requests and bounce backs.

I've requested for the DNS to be changed via 1&1 however what else can I do to stop this account bombarding my server?

Thanks in advance.
 
Last edited:
Are you sure the emails are originating from your server?

Is a spammer using your email address in the from field for the emails. When they can not be delivered to their recipient, they are bounced from the recipients mail servers and are returned to your server as bounce notifications.

Can you post some entries from the mail logs / an example of a bounced message.

I had a similar issue when I setup my first Plesk server. Spammer using one of my email domains. Bounces from other servers would hit my server and it would try and send an account not found non-delivery email . This would then bounce and fill up the mail queue. Changed the "address not found" behaviour to reject and this issue more or less stopped straight away. If your server sends out lots of bounces, your IP's can end up on BACKSCATTER block lists.

I may have completely mis-understood your issue though!
 
I'm not 100% sure, however they are going through my server.

Random grab rom the sever report. Its the richard@xxx I'm having trouble with.

This is spitting out reports constantly, as you can see by the time.

They were more detailed before I removed the hosting and email accounts.

Jan 14 21:09:51 s15859492 qmail: 1358197791.237057 status: local 0/10 remote 19/20
Jan 14 21:09:51 s15859492 qmail: 1358197791.237068 starting delivery 2300646: msg 1588068 to remote [email protected]
Jan 14 21:09:51 s15859492 qmail: 1358197791.237077 status: local 0/10 remote 20/20
Jan 14 21:09:51 s15859492 qmail-remote-handlers[11828]: Handlers Filter before-remote for qmail started ...
Jan 14 21:09:51 s15859492 qmail: 1358197791.277868 delivery 2300642: deferral: Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/
Jan 14 21:09:51 s15859492 qmail: 1358197791.277897 status: local 0/10 remote 19/20
Jan 14 21:09:51 s15859492 qmail: 1358197791.277907 starting delivery 2300647: msg 1588068 to remote [email protected]
Jan 14 21:09:51 s15859492 qmail: 1358197791.277917 status: local 0/10 remote 20/20
Jan 14 21:09:51 s15859492 qmail-remote-handlers[11829]: Handlers Filter before-remote for qmail started ...
Jan 14 21:09:51 s15859492 qmail-remote-handlers[11828]: from=richard@
Jan 14 21:09:51 s15859492 qmail-remote-handlers[11828]: [email protected]
Jan 14 21:09:51 s15859492 qmail-remote-handlers[11829]: from=richard@
Jan 14 21:09:51 s15859492 qmail-remote-handlers[11829]: [email protected]
Jan 14 21:09:51 s15859492 qmail: 1358197791.644169 delivery 2300637: deferral: Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/
 
Simple, disable email service for that domain, disable php function mail and contact them and inform them about the spam.
 
How can I clear the mail queue? I seem to have stopped the messages getting to the server however there's 123639 still in the queue...


# /var/qmail/bin/qmail-qstat
messages in queue: 123639
messages in queue but not yet preprocessed: 0
 
Thanks for the replies, solved the problem by installing Postfix.

All is well now and there are no queues.

Thanks for your help!
 
Back
Top