Solved

qmail Spam Issues

Posted on 2012-03-14
3
361 Views
Last Modified: 2012-06-25
Dear Experts,

We have installed qmail in our new server and started running our website in the server.
It was a dedicated server and did not have much experience in the mail server configuration. So we installed it in the default form.

Now my server people complain that we are sending spam with the server. We have also confirmed the somehow our mail server is used to send some spam emails.

Can anybody send the email using our qmail mail server FROM A DIFFERENT server?

Or will it be somebody hacked into our server and wrote a php program to send the emails?
I doubt the first one anyway?

If so, how can I prevent others to not use the mail server but just allow my own php files to send email with the mail server?
Can anybody please advice?

Thanks,
Jacob
0
Comment
Question by:jacobbbc
  • 2
3 Comments
 
LVL 34

Assisted Solution

by:Duncan Roe
Duncan Roe earned 334 total points
ID: 37723894
I run qmail but only now as a vestigial service for pushing out aliased mail.
I suspect someone is using your server as an email relay. I've perused the man pages, but I don't see how they would do that. Possibly your locals are too open - worth checking.
0
 
LVL 5

Assisted Solution

by:1ly4me
1ly4me earned 166 total points
ID: 37724115
Use nmap to check port number 25 (This is for SMTP - sending mails), If the port is open close it, and open relay only to localhost.
If your SMTP port open to all, any one can use it as a SMTP gateway and can send any kind of emails.
0
 
LVL 34

Accepted Solution

by:
Duncan Roe earned 334 total points
ID: 37724461
lsof -i (run as root) should show port smtp listening on all interfaces for tcpserver run by qmaild. I don't think that means it can or will relay.
Make sure that RELAYCLIENT is not set in the environment of qmail-smtpd. You can do this from the proc file system.
Also if you think you are being used as a relay, check /var/log/qmail/current
0

Featured Post

Network it in WD Red

There's an industry-leading WD Red drive for every compatible NAS system to help fulfill your data storage needs. With drives up to 8TB, WD Red offers a wide array of solutions for customers looking to build the biggest, best-performing NAS storage solution.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: btan
Provide an easy one stop to quickly get the relevant information on common asked question on Ransomware in Expert Exchange.
Transferring data across the virtual world became simpler but protecting it is becoming a real security challenge.  How to approach cyber security  in today's business world!
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now