Jul 3 16:20:37 coyote sendmail[18397]: r63KKbV2018397: from=amanda,
size=184, class=0, nrcpts=1,
msgid=<[email protected]>,
relay=amanda@localhost
Jul 3 16:20:37 coyote sendmail[18397]: r63KKbV2018397:
to=<[email protected]>, ctladdr=amanda (1001/1002),
delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30184,
relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (r63KKbmW018398
Message accepted for delivery)
===== my test mail that worked above =====
Jul 4 02:02:46 coyote sendmail[16012]: r645K1Np016012: from=amanda,
size=711, class=0, nrcpts=1,
msgid=<[email protected]>,
relay=amanda@localhost
Jul 4 02:02:46 coyote sendmail[16012]: r645K1Np016012: to=amanda,
ctladdr=amanda (1001/1002), delay=00:42:45, xdelay=00:00:00,
mailer=relay, pri=30711, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0,
stat=Sent (r6462kMf019315 Message accepted for delivery)
Jul 5 02:08:34 coyote sendmail[3977]: r655K16f003977: from=amanda,
size=711, class=0, nrcpts=1,
msgid=<[email protected]>,
relay=amanda@localhost
Jul 5 02:08:34 coyote sendmail[3977]: r655K16f003977: to=amanda,
ctladdr=amanda (1001/1002), delay=00:48:33, xdelay=00:00:00,
mailer=relay, pri=30711, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0,
stat=Sent (r6568YNX007277 Message accepted for delivery)
And at the time it writes to /var/spool/mail/amanda, it helpfully
resets the perms to 0600, and kmail, running as me, cannot touch it.
So, where is that mailto: line in amanda.conf getting lost?
My wrapper scripts do not touch this AFAIK.
And I just did su - amanda, and sent me another email, getting this in
the mail.log:
Jul 5 07:34:35 coyote sendmail[23789]: r65BYZEm023789: from=amanda,
size=172, class=0, nrcpts=1,
msgid=<[email protected]>,
relay=amanda@localhost
Jul 5 07:34:35 coyote sendmail[23789]: r65BYZEm023789:
to=<[email protected]>, ctladdr=amanda (1001/1002),
delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30172,
relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (r65BYZPf023792
Message accepted for delivery)
So it works, amd kmail got the msg. Why amanda itself cannot follow
orders here? Is there something wrong with my "mailto:"? I see in
the example/amanda.conf, the FQDN isn't used, so I'll remove that for
S&G. I just tested it by hand as amanda, and it worked, but it did
add the missing FQDN in the sendmail log.
I'm snookered here. Out of ideas IOW.
Cheers, Gene