On Tue, Jul 17, 2007 at 07:19:45PM +0800, Ryan Jay B. Lapuz wrote:
this is the output of tail /var/log/maillog:
Jul 17 18:59:39 kaidemitsui sendmail[5428]: l6HAxdVN005428: from=root, size=48, class=0, nrcpts=1, msgid=<2007
user-ed2ac349f776@xymon.invalid>, relay=root at localhost
Jul 17 18:59:39 kaidemitsui sendmail[5428]: l6HAxdVN005428: to=user-945139049f37@xymon.invalid, delay=00:00:00, mailer
=esmtp, pri=30048, dsn=4.4.3, stat=queued
Personally, I try to avoid sendmail like the plague ...
You need to edit your sendmail config and setup a "smarthost" that
handles your outgoing mail. It's the "DS" setting in sendmail.cf, but
I don't know if there are special config tools for your OS distro - it
might use the M4-based configuration files to build a sendmail.cf.
It may also be necessary to setup the "DM" (masquerade as) setting to
give your outbound mail a sensible domain as part of the sender-address.
Regards,
Henrik