Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
SDN 101: An Introduction to Software Defined Networking
Discover the advantages of SDN.
SDN has quickly become one of the hottest trends in IT. But not all SDN solutions offer real software-defined functionality. As more enterprises consider SDN, they want to know, “What is SDN? And what are the real benefits?” If you're ready to explore the advantages of SDN, and want to know how it should be implemented within your enterprise, start by reading our introductory white paper.
Click Here to receive this Complete Guide absolutely free.
Hi, i have recently inherited an ISP and there seems to have been a problem with the qmail configuration for quite a while - trouble is it will only send mails out to an IP address or HOTMAIL ie any perl scripts i write can only mail directly to an IP address or to email@example.com.
I guess this is a configuration problem has anyone any ideas where the file that restricts qmail like this is ?
Thanks 4 your time
Thanks maxut but no joy All of the configuration files appear ok I am looking for something containing Hotmail as this, i assume, would need to be present in order to restrict all mail out to addresses containing hotmail only. Do you think it could be a user thing rather than a qmail thing ?
Originally posted by juglugs Do you think it could be a user thing rather than a qmail thing ?
surely yes, it is possible. a user can type anything else as his mail address. if your qmail has smtp-auth-pacth that user must login as real account name and password to send mails. relaying mustnt be allowed also. /etc/tcp.smtp
u can use "fgrep" to search files that contain "hotmail" word:
fgrep -r hotmail /var/qmail
If it were me, I'd start over. Get yourself a brand new server and setup qmail and all your extras from scratch... this way you know what you're working with. Sounds like you're working with somebody else's crap that needs to be wiped out.
I have to assume this isn't a production box. If it is, your users are probably fit to be tied because they can only send to hotmail. I'd either wipe out qmail and start over on that machine or get a new machine and install it from scratch.
Well, if you don't start over and get a new box, at the very least you should be able to wipe it out and start over without needing to get too much approval. I mean, surely this isn't a production box. If its not, then you're not really losing anything except your time spent getting it setup again.
I also recommend using a howto like www.qmailrocks.org. I personally prefer the one listed in my signature, but everyone has their own preference. By using a howto like this, you're able to pass this server on to another admin in the future and he can easily tell what you've got installed based on the howto that was used.
It appears that I have in fact misled all of you with the question posted - it was in fact due to the verification of the return address by qmail.
Turns out that mailing to the ip and Hotmail was coded and the scripts were 'faking' a return address and therefore fooling qmail into thinking that these mails were ok to send as the return address was valid.
Any standard mails attempting to go out however were using the default return address set up in the /qmail/control files which was a bad address.
Fixed the files in the /qmail/control dir and all is hunky dory!