Mark Crispin wrote:
On Thu, 7 Jun 2007, Fred Seaton wrote:
I'm running imap-2006h and I'm trying to copy IMAP data from one mail server to another. I'm looking at the 'mailutil transfer' utility, but I would like to be able to pass the username and password to the destination IMAP server on the command line. Is there a way to do this?

You can specify /user= in the source and destination, but you will be prompted for password in both cases.
To automate the user and/or password dialogs, you can use the 'expect' program. Here is a related example:

http://modp.com/release/sshpasswords/

-Erik Kangas



-- Mark --

http://staff.washington.edu/mrc
Science does not emerge from voting, party politics, or public debate.
Si vis pacem, para bellum.
_______________________________________________
Imap-uw mailing list
Imap-uw@u.washington.edu
https://mailman1.u.washington.edu/mailman/listinfo/imap-uw


_______________________________________________
Imap-uw mailing list
Imap-uw@u.washington.edu
https://mailman1.u.washington.edu/mailman/listinfo/imap-uw

Reply via email to