[LUNI] Mail question
ramin-list at badapple.net
Mon Aug 7 01:46:00 CDT 2006
Richard Reina wrote:
> Aug 5 13:44:01 localhost sendmail:
> k75Ia0Am004019: to=<richard at rushlogistics.com>,
> ctladdr=<richard at localhost.localdomain> (500/500),
that localhost.localdomain bit might be a problem since a great many
main servers will drop the mail if the sending domain does not exist.
You can either add some real domains to your server, /etc/hosts etc or
modify your script a bit.
mail -a "From: Richard <richard at rushlogistics>" -s "New this month at
Rush Logistics" testaddress at testdomain.com < rush-20060807.txt
That should work a bit better that letting mail default to the local
user. It's possible you may still have issues like port 25 being block
or not accepted from your IP space.
More information about the luni