LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Sending mail with "mail" using another mailserver (https://www.linuxquestions.org/questions/linux-software-2/sending-mail-with-mail-using-another-mailserver-209386/)

ericcarlson 07-25-2004 05:21 AM

Sending mail with "mail" using another mailserver
 
The situation is we have a bunch of standard build FC2 final machines, some physical some virtual with vmware. They run cron jobs overnight, and I'd like them to send mail using "mail". Their (DHCP) IP addresses come from a hardware broadband router on the LAN. There is one mailserver with a static ip. As the scripts are all identical I'd like them not to set themselves up as individual mailservers but to use the one present. I can't figure out how to set this up (or more importantly if this is the smartest way ;-)). What I want in effect is to be able to do this:

MAIL --serverip=192.168.62.3 "blah blah" etc

Or, if there is a way of them routing mail to it when they are running mailservers themselves that would be ok. I'm a borderline newbie on this so please don't assume I know the obvious! I ran into a brick wall with their names because I can't just ping them via name as theres no DNS involved. Thanks.


All times are GMT -5. The time now is 09:26 PM.