postfix allow senders

3 posts / 0 new
Last post
#1 Thu, 07/02/2015 - 02:19
ahrboktrexon

postfix allow senders

I've a virtualmin installed on a CentOS 6.5, this server hosts a lot of domains of my customers. Recently I noticed an increasing number of attacks for sending spam in one of my host, and my customer doesn't know where to patch his code for fixing the bug.

Looking at the queues of postfix I noticed that senders of these emails are @hostetdomain.com so I'd like to allow access to postfix only to specific users like alloweduser@hosteddomain1.com, alloweduser@hosteddomain2.com, and so on...

Is there something similar in virtualmin?

Thank you

Tue, 07/07/2015 - 13:40
inteq

Disable mail in PHP and allow only SMTP auth. with PHP
Disallow unauthenticated email from localhost.

Tue, 07/07/2015 - 17:21
Diabolico
Diabolico's picture

Probably some of your clients were hacked and if this is true you have bigger problem to solve. Depending what is your deal with them will force you to some action, from disabling that account to cleaning infected website. Either way just disabling email to some clients and pretend everything is ok is not right solution.

- I often come to the conclusion that my brain has too many tabs open. -
Failing at desktop publishing & graphic design since 1994.

Topic locked