FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

LinkBack Thread Tools
Old 07-25-2011, 02:59 AM
Default send mail between two local computers

i want to be able to send mail between two computers on the same local
network, simply with the 'mail' command, that cron jobs and other
services use also. both systems are ubuntu 10.04.

for example the two computers are home1 and home2.

home1 and home2 both resolve to different 192.168.1.X addresses

so i used `sudo dpkg-reconfigure exim4-config` to config home1 and home2
as "mail sent by smarthost; received via SMTP or fetchmail":

System mail name: home1
IP-addresses to listen on: <blank> (so it would listen on all interfaces)
Other destinations: <blank>
Machines to relay mail for: <blank>
IP address or host name of the outgoing smarthost: home1
Hide local mail name in outgoing mail? <No>
Keep number of DNS-queries minimal (Dial-on-Demand)? <No>
Delivery method for local mail: mbox format in /var/mail/
Split configuration into small files? <No>

likewise i did the same config on home2 except i used "home2" where i
used "home1" above.

now when i try to send mail:

scar@home1:~$ mail scar@home2
Subject: foo

i get a bounce message from postmaster:

Subject: Message frozen

Message 1QlBIc-0005Jt-G0 has been frozen.
The sender is <scar@home1>.

The following address(es) have yet to be delivered:
scar@home2: remote host address is the local host

even if i try using the command `mail scar@192.168.1.X` i get the same

ubuntu-users mailing list
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Thread Tools

All times are GMT. The time now is 06:40 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org