On Sat, 18 Nov 2006, Erik Kangas wrote:
Is there any way to have mailutil accept passwords either through a file
handle (like stdin) or as part of the connection string.
There is not any way, nor will there be in the standard distribution.
Having such a feature would be a security hole that you can drive a truck
through.
You can accomplish this via an "expect" script
However, I recommend that you use the "mail administrator" feature
instead. A mail administrator is any user in group "mailadm"; and can
authenticate as any other user using the mail administrator credentials.
The absolute easiest way is to use Kerberos. Once your shell session has
Kerberos credentials as the mail administrator, it can call mailutil
repeatedly as any user on the IMAP server.
Also, it would be nice if there were a transfer merge that appended only
messages that are not present in the target location and skipped all others.
I can write a script to do this manually with c-client, but it seems this
would be a natural extension to mailutil.
Wow, give'em an inch and they'll take a mile! :-)
I agree that this sounds like a possibility useful extension to mailutil,
but I don't know if I'll ever get A Round Tuit myself. As you noted, it's
fairly straightforward to write a tool to do so directly with c-client.
I wonder if anyone has written an interface between Perl (or Python) and
c-client to make it easier to do such things.
-- Mark --
http://panda.com/mrc
Democracy is two wolves and a sheep deciding what to eat for lunch.
Liberty is a well-armed sheep contesting the vote.
_______________________________________________
Imap-uw mailing list
[email protected]
https://mailman1.u.washington.edu/mailman/listinfo/imap-uw