From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/68257 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.gnus.general Subject: (file-error "writing to process" "bad address" #) when Gcc-ing a group Date: Mon, 09 Feb 2009 17:37:31 +0100 Message-ID: <873aenr2gk.fsf@thinkpad.tsdh.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1234197486 29747 80.91.229.12 (9 Feb 2009 16:38:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 9 Feb 2009 16:38:06 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M16697@lists.math.uh.edu Mon Feb 09 17:39:21 2009 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1LWZAF-0005gM-Vn for ding-account@gmane.org; Mon, 09 Feb 2009 17:39:20 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1LWZ8j-0004NO-BR; Mon, 09 Feb 2009 10:37:45 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1LWZ8h-0004N8-Km for ding@lists.math.uh.edu; Mon, 09 Feb 2009 10:37:43 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1LWZ8b-0001Iy-QF for ding@lists.math.uh.edu; Mon, 09 Feb 2009 10:37:43 -0600 Original-Received: from deliver.uni-koblenz.de ([141.26.64.15]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1LWZ8v-0007oy-00 for ; Mon, 09 Feb 2009 17:37:57 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 7D2BD789B002 for ; Mon, 9 Feb 2009 17:37:36 +0100 (CET) Original-Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 06774-07 for ; Mon, 9 Feb 2009 17:37:33 +0100 (CET) X-CHKRCPT: Envelopesender vrfy tassilo@member.fsf.org Original-Received: from thinkpad.tsdh.de (dhcp177.uni-koblenz.de [141.26.71.177]) by deliver.uni-koblenz.de (Postfix) with ESMTP id A9A67789AF22 for ; Mon, 9 Feb 2009 17:37:31 +0100 (CET) Mail-Copies-To: never Mail-Followup-To: ding@gnus.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.90 (gnu/linux) X-Virus-Scanned: amavisd-new at uni-koblenz.de X-Spam-Score: -5.6 (-----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:68257 Archived-At: --=-=-= Hi all, some time ago (message <87k5bqv5bc.fsf@thinkpad.tsdh.de> on ding) I had problems when sending mails with big attachments (> 1 MiB or so). To be precise, the sending via SMTP works just fine, but I get the error from the subject when Gnus tries to upload the message to my local IMAP server because of the Gcc header. In the thread starting with <87k5bqv5bc.fsf@thinkpad.tsdh.de> I said that turning off imap logging (nnimap-debug, imap-log, imap-debug all set to nil) solves the issue for me, but sadly that's not true. I still get that error and for me its perfectly reproducible. Here's an example backtrace. --8<---------------cut here---------------start------------->8--- Debugger entered--Lisp error: (file-error "writing to process" "bad address" #) process-send-region(# 1 8337045) imap-send-command(("APPEND \"" "INBOX" "\" " #) nil) imap-send-command-wait(("APPEND \"" "INBOX" "\" " #)) imap-message-append("INBOX" # nil nil " *nnimap* Uni") nnimap-request-accept-article("INBOX" "Uni" t) gnus-request-accept-article("nnimap+Uni:INBOX" "nnimap:Uni" t t) gnus-inews-do-gcc() gnus-agent-possibly-do-gcc() run-hooks(message-sent-hook) message-send(nil) message-send-and-exit(nil) call-interactively(message-send-and-exit nil nil) --8<---------------cut here---------------end--------------->8--- The local IMAP server hosting the Gcc-ed group is Dovecot v1.1.11. I'm not sure if part of the problem is on its side, but at least I can say that it has no problems when offlineimap synces big messages from my IMAP accounts to the local dovecot. When the Gcc-upload fails, dovecot logs a line like this: dovecot: Feb 09 17:14:51 Info: IMAP(uni): \ Disconnected in APPEND bytes=1992955/1144675 Could somebody please help me with this? Bye, Tassilo Gnus v5.13 GNU Emacs 23.0.90.1 (x86_64-pc-linux-gnu, GTK+ Version 2.14.7) of 2009-02-08 on thinkpad 200 cache.uni-koblenz.de InterNetNews NNRP server INN 2.4.2 ready (posting ok). --=-=-= Content-Type: application/emacs-lisp Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Description: User settings ------------------ Environment follows ------------------ (setq gnus-parameters '(("Fastmail:INBOX\\.mailinglists\\." (gcc-self . "nnimap+Fastmail:INBOX.Sent Items") (subscribed . t) (gnus-add-to-list t)) ("Fastmail:INBOX" (gnus-use-scoring nil) (gcc-self . t)) ("Fastmail:INBOX$\\|Fastmail:INBOX\\.[^J]" (spam-process-destination . "nnimap+Fastmail:INBOX.training.spam") (spam-contents gnus-group-spam-classification-ham)) ("Fastmail:INBOX\\.Junk Mail" (ham-process-destination . "nnimap+Fastmail:INBOX.training.ham") (spam-contents gnus-group-spam-classification-spam)) ("Fastmail:INBOX\\.mailinglists\\." (gnus-use-scoring t)) ("Fastmail:INBOX\\.mailinglists\\.emms-patches" (gnus-use-scoring nil)) ("nnimap\\+Uni:ml" (subscribed . t) (gcc-self . "nnimap+Uni:Sent") (gnus-add-to-list t)) ("nnimap\\+Uni:" (gnus-use-scoring nil) (gcc-self . t)))) (setq gnus-default-nntp-server "") (setq gnus-select-method '(nnnil)) (setq gnus-message-archive-method '(nnml "archive" (nnml-inhibit-expiry t) (nnml-get-new-mail nil) (nnml-directory "~/News/archive") (nnml-active-file "~/News/archive/active"))) (setq gnus-message-archive-group '((cond ((message-news-p) "sent-postings") (t nil)))) (setq gnus-secondary-select-methods '((nnimap "Uni" (nnimap-address "localhost") (nnimap-stream network) (nnimap-authenticator login) (nnir-search-engine imap)) (nnimap "Fastmail" (nnimap-address "localhost") (nnimap-stream network) (nnimap-authenticator login) (nnir-search-engine imap)) (nnml "Popmail" (nnml-directory "~/Mail/Popmail") (nnml-active-file "~/Mail/Popmail/active")) (nntp "Gmane" (nntp-address "news.gmane.org")) (nntp "Uni" (nntp-address "news.uni-koblenz.de") (nntp-open-connection-function nntp-open-tls-stream) (nntp-port-number 563)))) (setq gnus-refer-article-method '(current (nnweb "gmane" (nnweb-type gmane)) (nnweb "google" (nnweb-type google)))) (setq gnus-use-adaptive-scoring t) (setq gnus-summary-prepare-exit-hook '(spam-summary-prepare-exit gnus-summary-expire-articles)) (setq gnus-interactive-catchup nil) (setq gnus-valid-select-methods '(("nntp" post address prompt-address physical-address) ("nnspool" post address) ("nnvirtual" post-mail virtual prompt-address) ("nnmbox" mail respool address) ("nnml" post-mail respool address) ("nnmh" mail respool address) ("nndir" post-mail prompt-address physical-address) ("nneething" none address prompt-address physical-address) ("nndoc" none address prompt-address) ("nnbabyl" mail address respool) ("nnkiboze" post virtual) ("nnsoup" post-mail address) ("nndraft" post-mail) ("nnfolder" mail respool address) ("nngateway" post-mail address prompt-address physical-address) ("nnweb" none) ("nngoogle" post) ("nnslashdot" post) ("nnultimate" none) ("nnrss" none) ("nnwfm" none) ("nnwarchive" none) ("nnlistserv" none) ("nnagent" post-mail) ("nnimap" post-mail address prompt-address physical-address) ("nnmaildir" mail respool address) ("nnnil" none) ("nnir" mail))) (setq gnus-group-change-level-function 'gnus-topic-change-level) (setq gnus-fetch-old-headers 'some) (setq gnus-simplify-subject-functions '(gnus-simplify-subject-re gnus-simplify-whitespace)) (setq gnus-summary-thread-gathering-function 'gnus-gather-threads-by-refere= nces) (setq gnus-thread-hide-subtree t) (setq gnus-auto-center-summary t) (setq gnus-single-article-buffer nil) (setq gnus-move-group-prefix-function 'th-gnus-group-default-prefix) (setq gnus-summary-mode-line-format "| AScore: %z | Expunged: %E | Unread/U= nselected: %Z |") (setq gnus-thread-sort-functions '(gnus-thread-sort-by-number (not gnus-thread-sort-by-most-recent-date) gnus-thread-sort-by-total-score)) (setq gnus-summary-mode-hook '(gnus-agent-mode)) (setq gnus-summary-prepare-hook '(th-gnus-summary-prepare-init spam-summary-prepare)) (setq gnus-summary-prepared-hook '(th-gnus-summary-prepared-init spam-find-spam)) (setq gnus-exit-group-hook '(gnus-uu-delete-work-dir gnus-uu-clean-up)) (setq gnus-summary-highlight '(((eq mark gnus-spam-mark) . spam) ((eq mark gnus-spam-mark) . spam) ((eq mark gnus-canceled-mark) . gnus-summary-cancelled) ((and uncached (> score default-high)) . gnus-summary-high-undownloaded) ((and uncached (< score default-low)) . gnus-summary-low-undownloaded) (uncached . gnus-summary-normal-undownloaded) ((and (> score default-high) (or (eq mark gnus-dormant-mark) (eq mark gnus-ticked-mark))) . gnus-summary-high-ticked) ((and (< score default-low) (or (eq mark gnus-dormant-mark) (eq mark gnus-ticked-mark))) . gnus-summary-low-ticked) ((or (eq mark gnus-dormant-mark) (eq mark gnus-ticked-mark)) . gnus-summary-normal-ticked) ((and (> score default-high) (eq mark gnus-ancient-mark)) . gnus-summary-high-ancient) ((and (< score default-low) (eq mark gnus-ancient-mark)) . gnus-summary-low-ancient) ((eq mark gnus-ancient-mark) . gnus-summary-normal-ancient) ((and (> score default-high) (eq mark gnus-unread-mark)) . gnus-summary-high-unread) ((and (< score default-low) (eq mark gnus-unread-mark)) . gnus-summary-low-unread) ((eq mark gnus-unread-mark) . gnus-summary-normal-unread) ((> score default-high) . gnus-summary-high-read) ((< score default-low) . gnus-summary-low-read) (t . gnus-summary-normal-read))) (setq gnus-extra-headers '(Cc To Newsgroups)) (setq gnus-ignored-from-addresses "\\<\\(?:\\(?:h\\(?:\\(?:eimdall\\|orn\\)= @uni-koblenz\\.de\\)\\|t\\(?:assilo@member\\.fsf\\.org\\|horn\\(?:\\(?:\\+n= ews\\)?@fastmail\\.fm\\)\\)\\)\\)\\>") (setq gnus-group-mode-line-format "Gnus: %%b") (setq gnus-group-catchup-group-hook '(gnus-topic-update-topic)) (setq gnus-exit-gnus-hook '(mm-destroy-postponed-undisplay-list)) (setq gnus-visible-headers '("^From:" "^To:" "^CC:" "^BCC:" "^Followup-To:" "^Reply-To:" "^Subje= ct:" "^Date:" "^Newsgroups:" "^Organization:" "^User-Agent:" "^X-Newsreader= :" "^X-Mailer:" "^X-MimeOLE:" "^X-Posting-Agent:" "^X-User-Agent:" "Message= -Id:")) (setq gnus-prompt-before-saving t) (setq gnus-saved-headers "^From:\\|^Newsgroups:\\|^Subject:\\|^Date:\\|^Fol= lowup-To:\\|^Reply-To:\\|^Organization:\\|^Summary:\\|^Keywords:\\|^To:\\|^= [BGF]?Cc:\\|^Posted-To:\\|^Mail-Copies-To:\\|^Mail-Followup-To:\\|^Apparent= ly-To:\\|^Gnus-Warning:\\|^Resent-From:\\|^X-Sent:") (setq gnus-article-prepare-hook '(bbdb/gnus-pop-up-bbdb-buffer)) (setq gnus-buttonized-mime-types '("multipart/signed" "multipart/alternative")) (setq gnus-backup-startup-file t) (setq gnus-startup-hook '(bbdb-insinuate-gnus spam-maybe-spam-stat-load)) (setq gnus-setup-news-hook '(gnus-agent-queue-setup gnus-fixup-nnimap-unread-after-getting-new-n= ews)) (setq gnus-get-top-new-news-hook '(spam-maybe-spam-stat-load)) (setq gnus-get-new-news-hook '(spam-setup-widening)) (setq gnus-save-newsrc-hook '(bbdb-offer-save spam-maybe-spam-stat-save)) (setq gnus-group-mode-hook '(gnus-agent-mode (lambda nil (local-set-key (kbd "C-c g") 'th-gnus-get-news-and-agent-fetch)) gnus-topic-mode nnir-group-mode-hook)) (setq gnus-mailing-list-groups "\\(?:\\(?:INBOX\\.mailinglists\\|ml\\)\\.\\= )") (setq gnus-posting-styles '((".*" (address "thorn@fastmail.fm") (signature (fortune-to-signature (replace-regexp-in-string "\\.dat$" "" (th-random-file fortune-dir))))) ("infko\\." (address "horn@uni-koblenz.de") (signature th-gnus-uni-signature)) ("\\(?:de\\.\\)?\\(?:\\(?:com\\(?:\\(?:m\\.software\\|p\\)\\.\\)\\)= \\)\\|gnu\\.\\|nntp\\+Gmane:" (address "tassilo@member.fsf.org")) ("gmane\\.comp\\.printing\\.ghostscript\\." ("X-Fnord" "xefitra")) ("de.alt.music.metal" (signature (th-now-playing))) ("nnimap\\+Uni:" (address "horn@uni-koblenz.de") (signature th-gnus-uni-signature)) ("nnimap\\+Uni:ml" (Mail-Copies-To "never")) ("Fastmail:INBOX" (address "thorn@fastmail.fm")) ("Fastmail:INBOX\\.FSF" (address "tassilo@member.fsf.org")) ("Fastmail:INBOX\\.mailinglists\\." (Mail-Copies-To "never") (address "tassilo@member.fsf.org")) ("Fastmail:INBOX\\.mailinglists\\.\\(?:\\(?:d\\(?:-barf\\|tofans\\)= \\|tsdh-fans\\)\\)" (address "thorn@fastmail.fm")) ("Fastmail:INBOX\\.uni-old" (address "horn@uni-koblenz.de")))) (setq gnus-gcc-mark-as-read t) (setq gnus-decay-scores "\\.ADAPT$") (setq gnus-default-adaptive-score-alist '((gnus-unread-mark) (gnus-ticked-mark (subject 40)) (gnus-dormant-mark (subject 35)) (gnus-del-mark (from -10) (subject 0)) (gnus-read-mark (from 0) (subject 5)) (gnus-expirable-mark (from 0) (subject -10)) (gnus-killed-mark (from 0) (subject -50)) (gnus-kill-file-mark) (gnus-catchup-mark (from 0) (subject -5)) (gnus-ancient-mark) (gnus-low-score-mark))) (setq gnus-topic-line-format "%i[ %{%(%n%)%} (%g/%A) ]%v\n") (setq gnus-agent-expire-days 120) (setq gnus-agent-synchronize-flags t) (setq gnus-server-mode-hook '(gnus-agent-mode)) (setq mm-charset-synonym-alist '((ibm866 . cp866) (unicode . utf-16-le) (ks_c_5601-1987 . cp949) (windows-31j . cp932) (utf8 . utf-8) (iso8859-1 . iso-8859-1) (iso_8859-1 . iso-8859-1))) (setq mm-coding-system-priorities '(us-ascii iso-latin-1 iso-latin-9 mule-utf-8)) (setq mm-inline-text-html-with-images t) (setq mm-discouraged-alternatives '("text/html" "text/richtext" "text/enriched")) (setq mm-inline-large-images t) (setq nnmail-split-methods 'nnmail-split-fancy) (setq nnmail-extra-headers '(Cc To Newsgroups)) (setq message-from-style 'angles) (setq message-required-headers '((X-Draft-From lambda nil (gnus-inews-make-draft-meta-information "nnimap+Fastm= ail:INBOX.mailinglists.ding" 'nil)) (optional . References) From)) (setq message-subject-re-regexp "^[ ]*\\(\\([Rr][Ee]\\|[Aa][Ww]\\)\\(\\[[0= -9]*\\]\\)*:[ ]*\\)*[ ]*") (setq message-kill-buffer-on-exit t) (setq message-send-mail-function 'smtpmail-send-it) (setq message-subscribed-address-functions '(gnus-find-subscribed-addresses)) (setq message-post-method '(nntp "news")) (setq message-mode-hook '(#[nil "\302\030\303 !)\207" [gnus-article-copy gnus-setup-message-group nil gnus-configur= e-posting-styles] 2] #[nil "\302 \211\020\211\021\207" [message-mailer message-newsreader gnus-extended-version] 2] (lambda nil (local-set-key (kbd "C-c s") 'th-replace-sig)) footnote-mode th-message-mode-init)) (setq message-header-setup-hook '(gnus-inews-insert-archive-gcc gnus-inews-insert-gcc)) (setq message-signature "People sometimes ask me if it is a sin in the C= hurch of Emacs to use\nvi. Using a free version of vi is not a sin; it i= s a penance. So happy\nhacking. (Richard M. Stallman)\n") (setq message-mail-alias-type 'ecomplete) --=-=-=--