On Tue, Mar 22, 2005 at 09:06:56AM +0800, Plug N Play wrote: > I have a short question regarding the use of mail command. > Is there a way to define an outgoing smtp server in mail command? >
>From what I know, mail(1) uses the /usr/sbin/sendmail command to send mail. > I have setup a pc with linux but no internet and I'd like to use mail > command to send daily report using an internal smtp server. > > I have tried to setup postfix and configure relayhost and it worked. > The problem is, I need to install and start postfix in all servers > which I'd like to avoid. =) Look into this little program: http://packages.debian.org/stable/mail/ssmtp.html It's a very simple program that just relays mail to the SMTP server you specify in the configuration. -- He who receives an idea from me, receives instruction himself without lessening mine; as he who lights his taper at mine, receives light without darkening me. http://stormwyrm.blogspot.com/ -- Philippine Linux Users' Group (PLUG) Mailing List [email protected] (#PLUG @ irc.free.net.ph) Official Website: http://plug.linux.org.ph Searchable Archives: http://marc.free.net.ph . To leave, go to http://lists.q-linux.com/mailman/listinfo/plug . Are you a Linux newbie? To join the newbie list, go to http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie
