I sent reply but got mailer-daemon answer :| ======================== From: [email protected] (Kamil Jońca) Subject: Re: [bug-mailutils] cannot move mail to imap mailbox To: Sergey Poznyakoff <[email protected]> Cc: <[email protected]> Date: Sat, 30 Nov 2013 17:49:34 +0100 (1 hour, 55 seconds ago) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)
Sergey Poznyakoff <[email protected]> writes: > Kamil Jońca <[email protected]> ha escrit: > >> >> I have two troubles with new mailutils (2.99.98) >> 1. How can I specify logging? > > Please see http://mailutils.org/wiki/Debug_level I used http://mailutils.org/manual/mailutils.html :( maybe wrong place (or wrong reader :) ) > > FWIW, the --rcfile argument doesn't make any sense to me. Any decent > shell should report "syntax error near (" given this stuff. Sorry, it's zsh (very convenient to me ) syntax meaning "execute command in parentheses, save output to tempfile, and use this tempfile) > >> movemail: C: 02 LOGIN kjonca 22Fmtj73YwUdQw8oD0maaLObKPefAe > > Ouch! Kamil, please pay attention to what you are posting here! This is Does not matter :) This is only testing isolated environment. But thanks for warning. With Your patch some test messages were saved. And looks that contents is the same :) Thanks. =========================== But after patch I have another problems (I think unrelated): %cat ~/.mailutils.rc --8<---------------cut here---------------start------------->8--- debug { level "mailbox.prot"; } --8<---------------cut here---------------end--------------->8--- y - maildir %movemail --debug-level "config.trace1" -v --rcfile ~/.mailutils.rc 'imap://[email protected]/Junk/to-report' y --8<---------------cut here---------------start------------->8--- movemail: Reading user ticket file /home/kjonca/.mu-tickets movemail: Retrieved and set ticket: 0 movemail: opening mailbox imap://[email protected]/Junk/to-report movemail: S: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE AUTH=PLAIN AUTH=DIGEST-MD5 AUTH=CRAM-MD5 AUTH=LOGIN] Dovecot ready. movemail: C: 01 CAPABILITY movemail: S: * CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE AUTH=PLAIN AUTH=DIGEST-MD5 AUTH=CRAM-MD5 AUTH=LOGIN movemail: S: 01 OK Pre-login capabilities listed, post-login capabilities have more. movemail: C: 02 LOGIN kjonca .... movemail: S: * CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS SPECIAL-USE BINARY MOVE COMPRESS=DEFLATE movemail: ignoring unrecognized response movemail: S: 02 OK Logged in movemail: C: 03 SELECT Junk/to-report movemail: S: * FLAGS (\Answered \Flagged \Deleted \Seen \Draft gnus-expire Old) movemail: S: * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft gnus-expire Old \*)] Flags permitted. movemail: S: * 60 EXISTS movemail: S: * 0 RECENT movemail: S: * OK [UNSEEN 1] First unseen. movemail: S: * OK [UIDVALIDITY 1376977998] UIDs valid movemail: S: * OK [UIDNEXT 1669] Predicted next UID movemail: S: * OK [NOMODSEQ] No permanent modsequences movemail: S: 03 OK [READ-WRITE] Select completed (0.001 secs). movemail: amd_init(/home/kjonca/Mail/.tool/tmp/scr.6Tqc8G/y) movemail: Reading user ticket file /home/kjonca/.mu-tickets movemail: Retrieved and set ticket: 0 movemail: number of messages in source mailbox: 60 movemail: scanning mailbox imap://[email protected]/Junk/to-report movemail: C: 04 FETCH 1:* (UID FLAGS ENVELOPE RFC822.SIZE BODY) movemail: S: * 1 FETCH ... movemail: S: * 2 FETCH ... movemail: cannot read message 1: Requested item not found movemail: scanning mailbox imap://[email protected]/Junk/to-report movemail: cannot read message 2: Requested item not found movemail: scanning mailbox imap://[email protected]/Junk/to-report [... 60 times ...] movemail: cannot read message 56: Requested item not found movemail: scanning mailbox imap://[email protected]/Junk/to-report movemail: cannot read message 57: Requested item not found movemail: scanning mailbox imap://[email protected]/Junk/to-report movemail: cannot read message 58: Requested item not found movemail: scanning mailbox imap://[email protected]/Junk/to-report movemail: cannot read message 59: Requested item not found movemail: scanning mailbox imap://[email protected]/Junk/to-report movemail: cannot read message 60: Requested item not found movemail: number of processed messages: 0 movemail: number of errors: 60 / 0 movemail: expunging mailbox imap://[email protected]/Junk/to-report movemail: closing mailbox imap://[email protected]/Junk/to-report movemail: S: * 3 FETCH ... movemail: S: * 4 FETCH ... [...] --8<---------------cut here---------------end--------------->8--- And in y I have some strange files. when I change ~/.mailutils.rc to --8<---------------cut here---------------start------------->8--- debug { level "mailbox.trace1"; } --8<---------------cut here---------------end--------------->8--- messages are fetched to maildir, but I have no logs from communications with imap server. KJ -- http://wolnelektury.pl/wesprzyj/teraz/ _______________________________________________ Bug-mailutils mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-mailutils
