I have a laptop computer running Ubuntu 12.10 64 bits. I use this machine at work (corporate network).

---- My /etc/hostname contains


---- My /etc/hosts contains localhost Lenovo-ThinkPad-T400

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

---- My /etc/aliases contains

webuser: root
root: myemail@gmail.com
jblain: myemail@gmail.com

Now here is my problem, if I send an email to my gmail address directly

$php -a
$mail('myemail@gmail.com','GMAILTEST','WORKING?!?' );

This works perfectly and I immediately see the email arrive in my gmail Inbox. But if I send to eitheir jblain or root,
the email seems to disappear, instead of getting to gmail because of the aliases.

Any suggestions anyone ?


Jacques Blain