--- Matt Johnson
I have exim4 installed (I'm lost on that). I type the command as above and the mail never arrives in my yahoo box. Do I need to tell it to go via the gateway or am I leagues off the point?
Not leagues, no. What you haven't said is whether the MTA is installed on your gateway box, or on your workstation. I'll assume it is installed on your workstation. It might well pay you to "revisit" the questions you would have answered via debconf when you installed exim4. The command: # dpkg-reconfigure exim4 will do that. What you're wanting to do is probably just relay mail. To be perfectly honest, if you answer the questions properly, you won't have anything to worry about. They're there for a reason. When it asks you -- you should allow for relaying mail on your domain. Since I have a private (non-routable) IP, I have that defined in '/etc/exim4/update-exim4.conf.conf' as: dc_relay_nets='192.168.0.0/24' So that any machine on that subnet is able to accept mail. This is fine, since everything will go out via your "default gateway". I also have: dc_eximconfig_configtype='internet' defined as one of the first questions "dpkg-reconfigure exim4" asks. Note that *if* you edit that file by hand, note what is in the header: # /etc/exim4/update-exim4.conf.conf # # Edit this file and /etc/mailname by hand and execute update-exim4.conf # yourself or use 'dpkg-reconfigure exim4-config' If though, you have the MTA on the gateway box (and your workstation picks up mail from there) -- I'd install a nullmailer ("nullmailer" or "ssmtp") and let that "inject" the e-mail into the MTA queue on the gateway box. It certainly saves running exim (or another MTA) on every workstation. I hope that helps. -- Thomas Adam ===== "The Linux Weekend Mechanic" -- http://linuxgazette.net "TAG Editor" -- http://linuxgazette.net "<shrug> We'll just save up your sins, Thomas, and punish you for all of them at once when you get better. The experience will probably kill you. :)" -- Benjamin A. Okopnik (Linux Gazette Technical Editor) ___________________________________________________________ ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com