From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.bugs Subject: bug#59587: 28.2; gnus does not retrieve emails sent from another device Date: Tue, 06 Dec 2022 16:10:29 -0800 Message-ID: <871qpcnkei.fsf@ericabrahamsen.net> References: <875yevdoxl.fsf@node-1w7jr9strgjopauae3d8vyr5z.ipv6.telus.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36933"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 59587@debbugs.gnu.org To: Waleed Yousef Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 07 01:11:20 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p2i1w-0009Ql-5k for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 07 Dec 2022 01:11:20 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p2i1i-0001Br-Ci; Tue, 06 Dec 2022 19:11:06 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p2i1f-00018q-Bk for bug-gnu-emacs@gnu.org; Tue, 06 Dec 2022 19:11:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p2i1f-0000fN-0Q for bug-gnu-emacs@gnu.org; Tue, 06 Dec 2022 19:11:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p2i1e-0005qb-EV; Tue, 06 Dec 2022 19:11:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eric Abrahamsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Wed, 07 Dec 2022 00:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59587 X-GNU-PR-Package: emacs,gnus Original-Received: via spool by 59587-submit@debbugs.gnu.org id=B59587.167037184322468 (code B ref 59587); Wed, 07 Dec 2022 00:11:02 +0000 Original-Received: (at 59587) by debbugs.gnu.org; 7 Dec 2022 00:10:43 +0000 Original-Received: from localhost ([127.0.0.1]:45980 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p2i1K-0005qK-BJ for submit@debbugs.gnu.org; Tue, 06 Dec 2022 19:10:42 -0500 Original-Received: from mail.ericabrahamsen.net ([52.70.2.18]:50064) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p2i1F-0005qB-Jg for 59587@debbugs.gnu.org; Tue, 06 Dec 2022 19:10:41 -0500 Original-Received: from localhost (unknown [76.135.104.211]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id A6C5AFA095; Wed, 7 Dec 2022 00:10:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericabrahamsen.net; s=mail; t=1670371830; bh=i05gipUIUGPVOzxjwy/0e1K+jytqmWgl4eCfz8+tyk0=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=ImUmK+WZuq/LI7lVhwaoGJNxyr0m7mFTrTrT8Jpa+z4eIVlEoNy2amlOewXgjMyxl KhIkogy7SVRxGrQQXKMY2EOR5M5URvC9fqoruukbnzkhMG7b3VsxjYc2Jq0y15EzH/ AtT+BuWYbTC/mmHBXZ8OuxC5SEPmue4MeLqK9DVU= In-Reply-To: (Waleed Yousef's message of "Mon, 5 Dec 2022 20:10:57 -0800") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:250147 Archived-At: Waleed Yousef writes: > One more piece of clue: I installed outlook on my iphone to experiment wi= th, as a replacement of =E2=80=9CMail app=E2=80=9D of iphone. The same prob= lem exist, i.e., when I send an email with outlook, gnus does not fetch it.= =20 Can you confirm that the Outlook app saves your sent message in the app? What's the name of the folder the send mail is saved to? My guess is that the account in question is the one you're using as an imap mail source. When you use imap as a mail source, Gnus will only fetch mails from the folders named in the :mailbox setting, which defaults to "INBOX". So I'm guessing that the mail is being saved into "Sent" or something like that, but Gnus does not fetch mail from there. If it's true that this is the imap account, then try changing the mail-source definition to: (imap :server "mail.uvic.ca" :user "wyousef@uvic.ca" :port 993 :stream ssl :mailbox ("INBOX" "Sent") ) Replacing "Sent" with whatever the actual name of the sent mail folder is. Alternately (and in my mind preferably), access the imap account using a full nnimap server backend. Then you'll see everything, and get two-way sync. Eric >> On Dec 1, 2022, at 9:16 AM, Waleed Yousef wrote: >>=20 >> =EF=BB=BF >> Thanks again for your time, >>=20 >> I have four emails, three are pop3 and one is imap. I am using nnml. Thi= s is my gnus.el part: >>=20 >> ``` >> (setq mail-sources `( >> (pop :server "pop.gmail.com" >> :user "wyousef@fcih.net" >> :port 995 >> :stream ssl) >> (pop :server "pop.gmail.com" >> :user "wyousef@aucegypt.edu" >> :port 995 >> :stream ssl) >> (pop :server "pop.gmail.com" >> :user "wyousef@gwmail.gwu.edu" >> :port 995 >> :stream ssl) >> (imap :server "mail.uvic.ca" >> :user "wyousef@uvic.ca" >> :port 993 >> :stream ssl >> ) >> ) >> gnus-select-method '(nntp "news.gnus.org") >> gnus-secondary-select-methods '((nnml "")) >>=20 >> user-mail-address "wyousef@fcih.net" >> user-full-name "Waleed Yousef" >> send-mail-function 'smtpmail-send-it >> message-send-mail-function 'smtpmail-send-it >> smtpmail-smtp-server "smtp.gmail.com" >> smtpmail-smtp-service '587 >> ) >> ``` >>=20 >> Another piece of information is that I am using spacemacs, which I do no= t think it will make any difference as its maintainers confirmed to me that= they did not change anything with gnus >>=20 >>=20 >> Thanks so much. >>=20 >> Eric Abrahamsen writes: >>=20 >>> Waleed Yousef writes: >>>=20 >>>> Thanks so much for your reply. After I read your reply, I did several >>>> experiments and found that the problem does not happen (that is, Gnus >>>> pulls the sent messages) if I send from the webmail interface of a >>>> pop3 email, e.g., using chrome to send from my gmail account. In that >>>> case Gnus will pull the sent email. However, if the email is sent from >>>> my iphone (whether IMAP or pop3 account) or even from a webmail >>>> interface of an IMAP account, Gnus does not pull the sent email >>>> although the email is indeed saved in the sent box (I go online and >>>> check). >>>=20 >>> This still isn't enough information to help you. How is Gnus fetching >>> mail for this account? Is it an nnimap backend, or some other mail >>> backend using a mail source?