Monday, September 17, 2007

Tip for the day: CHECK SENDMAIL SETTINGS

Don't think that sendmail is configured correctly and wantto check your sendmail settings:

# echo '$=R' | /usr/lib/sendmail -bt -d0.4

Version 8.9.3+Sun
Compiled with: MAP_REGEX LOG MATCHGECOS MIME7TO8 MIME8TO7 NAMED_BIND
NDBM NETINET NETUNIX NEWDB NIS NISPLUS QUEUE SCANF SMTP USERDB
XDEBUG
canonical name: foobar.com
a.k.a.: foobar
a.k.a.: fii.foobar.com
UUCP nodename: foobar
a.k.a.: foobar.com
a.k.a.: loghost
a.k.a.: [206.99.99.99]
UUCP nodename: foobar
a.k.a.: [127.0.0.1]

============ SYSTEM IDENTITY (after readcf) ============
(short domain name) $w = foobar
(canonical domain name) $j = fii.foobar.com
(subdomain name) $m = foobar.com
(node name) $k = foobar
========================================================

ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter

> >

No comments: