Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Ok I recently set up QMAIL on Slackware 9.1 using the qmailrocks.org walkthrough. When I scan my pc for open relays I run into scans using username%domain@mydomain.com ,username@domain@mydomain.com,
username%domain, "username@domain"@mydomain.com. How do you block that kinda relaying from people?
I do..this is a copy of my tcp.smtp
# No Qmail-Scanner at all for mail from 127.0.0.1
127.:allow,RELAYCLIENT="",RBLSMTPD="",QMAILQUEUE="/var/qmail/bin/qmail-queue.pl"
# Use Qmail-Scanner without SpamAssassin on any mail from the local network
# [it triggers SpamAssassin via the presence of the RELAYCLIENT var]
200.:allow,RELAYCLIENT="",RBLSMTPD="",QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl"
#
# Use Qmail-Scanner with SpamAssassin on any mail from the rest of the world
:allow,QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl"
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660
Rep:
Did you check to see if those messages were actually relayed to a wrong domain, though? Just because qmail accepts the message with an address in that format doesn't mean it will get delivered to where the script thinks it will go.
The company I work for makes an e-mail security product and every once in a while a prospective customer will tell us that it's an open relay, but then we ask if they confirmed that the e-mail was delivered to the relay domain and they admit it wasn't. Our software silently rewrites addresses to make sense, rather than relaying them. I suspect your Qmail server does the same.
To properly test, use a second e-mail account that you have access to (your ISP, or something like that) so your test looks like ispuser%ispdomain@mydomain.com, etc... Then check your ISP e-mail account and see if you really got the messages.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.