sendmail setup
- From: Andrew Bergman <andrew.bergman@xxxxxxxxxxxxxxxxxxx>
- Date: Fri, 29 Sep 2006 10:44:01 +1000
Hi peoples,
Am stuck with a sendmail problem on Solaris 9 x86. I have until the end
of today (5pm or so) to resolve it as the customers machine is being
shipped first thing monday. Current time is 10:35am for those not in my
timezone :)
The machine is set up to be networked, and have accounts such as amanda
and so forth be able to send emails. I have configured sendmail but it
does not seem to be relaying the mail when I use echo "test" | mailx -s
testing <e-mail addy> to send mail. It sends ok if I log in on port 25
and issue SMTP commands however.
what I am getting in my logs is Sep 29 10:21:54 lmisis sendmail[12515]:
[ID 801593 mail.info] k8T0LsqZ012515:
to=andrew.bergman@xxxxxxxxxxxxxxxxxxx, ctladdr=root (0/1),
delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30088,
relay=203.55.171.7, dsn=5.1.2, stat=Host unknown (Name server:
203.55.171.7: host not found)
The way I have my sendmail configured is:
new.mc:
divert(0)dnl
VERSIONID(`@(#)main.mc 1.5 (Sun) 08/10/00')
OSTYPE(`solaris8')dnl
DOMAIN(`solaris-generic')dnl
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
define(`SMART_HOST', `osiris.microlistics.com.au')dnl
FEATURE(`relay_entire_domain')dnl
MASQUERADE_AS(`microlistics.com.au')dnl
FEATURE(`masquerade_envelope')dnl
MAILER(`local')dnl
MAILER(`smtp')dnl
submit.mc:
divert(0)dnl
VERSIONID(`$Id: submit.mc,v 8.6.2.4 2002/12/29 03:54:34 ca Exp $')
define(`confCF_VERSION', `Submit')dnl
define(`__OSTYPE__',`')dnl dirty hack to keep proto.m4 from complaining
define(`_USE_DECNET_SYNTAX_', `1')dnl support DECnet
define(`confTIME_ZONE', `USE_TZ')dnl
define(`confDONT_INIT_GROUPS', `True')dnl
define(`SMART_HOST', `osiris.microlistics.com.au')dnl
define(`MAIL_HUB',`osiris.microlistics.com.au')dnl
define(`LOCAL_RELAY',`osiris.microlistics.com.au')dnl
dnl
dnl If you use IPv6 only, change [127.0.0.1] to [IPv6:::1]
FEATURE(`msp', `[127.0.0.1]')dnl
main.mc:
divert(0)dnl
VERSIONID(`@(#)main.mc 1.5 (Sun) 08/10/00')
OSTYPE(`solaris8')dnl
DOMAIN(`solaris-generic')dnl
MAILER(`local')dnl
MAILER(`smtp')dnl
I ran a make new.cf and copied that to /etc/mail/sendmail.cf
restarted sendmail
sent a test mail using mailx and get host not found errors.
DNS works and I can in fact resolve osiris.microlistics.com.au to
203.55.171.7 yet still get the errors.
Anyone?
Andrew Bergman
--
Andrew Bergman
Systems Administrator
Microlistics Pty Ltd
Direct: +61 3 8329 2050
Mobile: +61 411 706 713
Fax: +61 3 9326 7588
e-mail: andrew.bergman@xxxxxxxxxxxxxxxxxxx
--------------------------------------
"It is the way of the world, Baldrick - the abused always kick downwards. I am annoyed, and so I kick the cat... the cat pounces on the mouse, and finally, the mouse bites you on the behind."
_______________________________________________
sunmanagers mailing list
sunmanagers@xxxxxxxxxxxxxxx
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
- Prev by Date: VxVM Best Practices
- Next by Date: solaris 10 kernel par.
- Previous by thread: VxVM Best Practices
- Next by thread: solaris 10 kernel par.
- Index(es):
Relevant Pages
|
|