I've successfully installed qfd but need help on relay. Qmail apparently do not allow relay by default. Is there a way to just allow mail clients to relay? Downloaded a file "qmail-smtpd.c" but don't know where to install it? This file apparently will allow authenticated users to relay. Help!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There is a way to allow relaying easy but the problem is that its an open relay and anyone can use it. The problem with this is that ppl love to use openrelays as a good way to spam ppl. To enable an openrelay delete/rename your
/var/qmail/control/rcpthosts
file. This contains all the hosts which will be excepted for the TO part of emails..
ie. RCPT TO: <bob@mydom.com>
and in the rcpthosts file will be a line of
mydom.com
This will allow all mail to mydom.com to get through. But if u delete the file then u can send to anyone and anyone can send to anyone.
Basically i highly recommend from making it an openrelay, u'll probly get black listed and blocked from most smpt servers. http://www.ordb.org/submit
As for authenification, unfortunately the SMTP (RFC 821) protocol doesn't have authenification. But some have tryed a method called POP-before-SMTP, which uses the POP authenification to authenicate a users IP to then allow SMTP. Just try the words 'SMTP authenification' in a search engine like google.
Good Luck
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've successfully installed qfd but need help on relay. Qmail apparently do not allow relay by default. Is there a way to just allow mail clients to relay? Downloaded a file "qmail-smtpd.c" but don't know where to install it? This file apparently will allow authenticated users to relay. Help!
There is a way to allow relaying easy but the problem is that its an open relay and anyone can use it. The problem with this is that ppl love to use openrelays as a good way to spam ppl. To enable an openrelay delete/rename your
/var/qmail/control/rcpthosts
file. This contains all the hosts which will be excepted for the TO part of emails..
ie. RCPT TO: <bob@mydom.com>
and in the rcpthosts file will be a line of
mydom.com
This will allow all mail to mydom.com to get through. But if u delete the file then u can send to anyone and anyone can send to anyone.
Basically i highly recommend from making it an openrelay, u'll probly get black listed and blocked from most smpt servers. http://www.ordb.org/submit
As for authenification, unfortunately the SMTP (RFC 821) protocol doesn't have authenification. But some have tryed a method called POP-before-SMTP, which uses the POP authenification to authenicate a users IP to then allow SMTP. Just try the words 'SMTP authenification' in a search engine like google.
Good Luck