On 08/04/2009 06:24 PM, Paul Company wrote:
what does the maillog on the cobbler server say
/var/log/maillog is empty.
cobbler must not be usind sendmail, because mail is being logged,
because if I run
# sendmail -C /etc/mail/sendmail.cf -t -v paul@mydomain.com < /etc/motd
Then,
# cat /var/log/maillog
Aug 4 15:17:07 cobbler sendmail[22837]: n74MH7v0022837: from=root,
size=682, class=0, nrcpts=1
, msgid=<200908042217.n74MH7v0022837@cobbler.mydomain.com>,
relay=root@localhost
Aug 4 15:17:07 cobbler1 sendmail[22837]: STARTTLS=client,
relay=mail.mydomain.com., vers
ion=TLSv1/SSLv3, verify=FAIL, cipher=AES256-SHA, bits=256/256
Aug 4 15:17:07 cobbler sendmail[22837]: n74MH7v0022837:
to=paul@mydomain.com, ctla
ddr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay,
pri=30682, relay=mail.mydomain.com. [10.230.6.21], dsn=2.0.0,
stat=Sent (OK id=1MYSJf-0007Xw-G3)
_______________________________________________
cobbler mailing list
cobbler@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler
reading the code, here are some relevant snippets... if they don't spark
anything, I'm not sure, it's probably a mail setup thing.
Jeff S may also be able to shed some light on things ... this is based on a
refactoring of his original script.