Next time, wrap long lines in your mail. Linux Win wrote: > Hi! im using qmail as smtp. im having problems on my roaming users as > you need first to define the ip address of the roaming user on the > tcp.smtp before he canuse our mail server as SMTP. Is there a way to > bypass this rule without using an open relay process which i know is > risky due to spams? I've read one time that its possible to allow > roaming users to send emails thru my smtp without enlisting their ip > addresses. I only need to configure qmail to use port 587 instead of > port 25? Is this correct? If so, how? thanks! >
One possible solution is to use SMTP-auth, which allows a user to authenticate herself to the SMTP server which allows her to send mail if her authentication checks out. Of course, it's not enough to just install Cyrus-SASL and the other software needed to do this--you need to configure Qmail to use it, of course (don't ask me how--I am not a DJB fanboy, and prefer to use Postfix). Another solution, which unfortunately requires that all your mobile users have access to some shell account on the server, would be to use SSH port forwarding. This is what I personally do in order to send mail using my office account from home or when I'm abroad. This simple command: ssh -2 -L 8025:127.0.0.1:25 my.mail.server -N will forward port 25 on my.mail.server to port 8025 on localhost. If I configure my MUA to use port 8025 on localhost to send mail, my.mail.server will see the mail as though it were posted from localhost, and accept it. It's also possible to do this using PuTTY. -- True compassion is more than throwing a coin to a beggar. It demands of our humanity that if we live in a society that produces beggars, we are morally commanded to restructure that society. http://stormwyrm.blogspot.com/ _________________________________________________ Philippine Linux Users' Group (PLUG) Mailing List [email protected] (#PLUG @ irc.free.net.ph) Read the Guidelines: http://linux.org.ph/lists Searchable Archives: http://archives.free.net.ph

