>> I am trying to do that at the moment; but the Trixbox/Asterisk box >> use sendmail, and the following rule in /etc/mail/sendmail.rc: >> define(`SMART_HOST',`192.168.73.76') >> may or may not work? I use Postfix mostly and not sure if the >> above works? I will ask in another mailing list. > > That rule tells the sendmail on your Asterix box to relay everything which > is not local to 192.168.73.76. That should do what you want, as long as the > MTA running on your mail server is configured to relay mail from any host on > your internal network (a typical configuration). > > For that change to have an effect, follow the instructions in the comments > at the beginning of sendmail.rc. You need to compile sendmail.rc to generate > sendmail.cf which is the configuration file used by the sendmail daemon. > Sendmail.rc is the "source" file containing macros that are expanded by m4 > to generate sendmail.cf. Then reload or restart your sendmail and send a > test message somewhere. > Thanks Bob, and anyways, I am using dnsmasq and after some reading on gmane.network.dns.dnsmasq.general, I placed the following in /etc/hosts: 192.168.73.76 smtp.myserver.com pop.myserver.com
And after /etc/init.d/dnsmasq reload, everything works!! ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ------------------------------------------------------------------------ leaf-user mailing list: leaf-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/