From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Waleed Yousef Newsgroups: gmane.emacs.bugs Subject: bug#59587: 28.2; gnus does not retrieve emails sent from another device Date: Tue, 6 Dec 2022 16:17:15 -0800 Message-ID: <678239C5-1643-452B-ACEC-1C4F2CE4BCBC@fcih.net> References: <871qpcnkei.fsf@ericabrahamsen.net> Mime-Version: 1.0 (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="30146"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 59587@debbugs.gnu.org To: Eric Abrahamsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 07 01:18:12 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 1p2i8a-0007d7-87 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 07 Dec 2022 01:18:12 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p2i8T-000452-5G; Tue, 06 Dec 2022 19:18:05 -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 1p2i8R-00044b-2g for bug-gnu-emacs@gnu.org; Tue, 06 Dec 2022 19:18: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 1p2i8Q-0003Oa-Qk for bug-gnu-emacs@gnu.org; Tue, 06 Dec 2022 19:18:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p2i8Q-0005uT-GV; Tue, 06 Dec 2022 19:18:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Waleed Yousef Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Wed, 07 Dec 2022 00:18: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.167037225822708 (code B ref 59587); Wed, 07 Dec 2022 00:18:02 +0000 Original-Received: (at 59587) by debbugs.gnu.org; 7 Dec 2022 00:17:38 +0000 Original-Received: from localhost ([127.0.0.1]:46015 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p2i81-0005uC-P0 for submit@debbugs.gnu.org; Tue, 06 Dec 2022 19:17:38 -0500 Original-Received: from mail-pj1-f42.google.com ([209.85.216.42]:44672) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p2i7w-0005u5-Fx for 59587@debbugs.gnu.org; Tue, 06 Dec 2022 19:17:35 -0500 Original-Received: by mail-pj1-f42.google.com with SMTP id 3-20020a17090a098300b00219041dcbe9so16372231pjo.3 for <59587@debbugs.gnu.org>; Tue, 06 Dec 2022 16:17:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fcih-net.20210112.gappssmtp.com; s=20210112; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :from:content-transfer-encoding:from:to:cc:subject:date:message-id :reply-to; bh=OCgT+4B3vunut54NmY2Sn93ewcdw7yDLjyN/XwgScOE=; b=KPr/fZ97KfXLQJsrm8lVMsRch2IZNEaT5N49jLTuMSnEQw4unXyDgYBEwiG5c3eZlI IAGcEOv0zUAELrEStgmfHji4LN09yKtKl24c6TavbEfzYgpl0S9WNvGj91rkusxU0LVC 8ljB/LxODYTXawxpOoNpJcpVDJinSL5ytpyXiRvgXNtdLPtST2e8yrAyqtmqL+3xWTeP VYHutHUEvGk/g0RhgPti+NmD2IcQw9pGlb+YwOgVMSCzHvPWgx6uyztqtdJ1rfI4pN26 Kd2vOW7usz3KUvd8uWUtb596B9crQtGQ5YIX4ApCWe3E1Kz5jyvQPglah949pnJFh+uF AMeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :from:content-transfer-encoding:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=OCgT+4B3vunut54NmY2Sn93ewcdw7yDLjyN/XwgScOE=; b=hPzcpgrlQziVEQuAv+FrEf1SXQYr5b3t4WHHzJiIRSbVtE+rNcnrVm5vf9WPt4soi6 Kwt6Za9te9zj3sQJs6tJUJKoBM5ICSWGHR8WW3KtLkPzf4QG7ZPApUBNvZ06HgnrEi/6 fgIU9K7xdKJqw31wq+AiU8X1kZ1pHrJL2acUzfqveZQr+qRr9QNFsZWz6yF12OG9RWqs TpzO7VLFQ9PNIXIc9xEDNBz/VM1q6SUzVim5dDC3gb38nxMiJPHPz8diHOaI/FWO+U9w /MDNJi/RgjnAfR+kcHPygzeNUuXikGWRb319CV9fI+Vnd/ExPHNwjbo+QlqeZhvsJ/9L 6doA== X-Gm-Message-State: ANoB5pmNljZD7JGFlK7O5jSVhE6J0sW1BLYbLOKmU750hidRI4ltypxB t9/ssWek2dwu9yhfZJmqfgCUVCT+wcN5Z86l X-Google-Smtp-Source: AA0mqf62NTQzChg7QAnyHpHPrA/e91K7V9QXNJ9CMCxw/5XJPeRn9HxZPi98DUm9Y3Gxc7WSECFrqw== X-Received: by 2002:a17:90b:3c0b:b0:219:e2f1:81ad with SMTP id pb11-20020a17090b3c0b00b00219e2f181admr9950361pjb.19.1670372246882; Tue, 06 Dec 2022 16:17:26 -0800 (PST) Original-Received: from smtpclient.apple (node-1w7jr9strgjoo2ldygunp9xjj.ipv6.telus.net. [2001:569:bf40:5b00:8550:d003:73fa:670f]) by smtp.gmail.com with ESMTPSA id b4-20020a170902d50400b001865c298588sm13198872plg.258.2022.12.06.16.17.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 06 Dec 2022 16:17:26 -0800 (PST) In-Reply-To: <871qpcnkei.fsf@ericabrahamsen.net> X-Mailer: iPhone Mail (20B101) 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:250149 Archived-At: Thanks so much. In fact, this problem happens even with pop3 emails. When I send an email, u= sing a pop account, either from Outlook or Mail (both are apps on iphone), t= he email is saved in the app and I can see it on the webmail in the folder s= ent, but Gnus cannot fetch the email. However, if I send from the webmail Gn= us fetches it!! So, in both cases the email is saved to the folder sent of the pop account!!= > On Dec 6, 2022, at 4:10 PM, Eric Abrahamsen wrot= e: >=20 > =EF=BB=BFWaleed Yousef writes: >=20 >> 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 probl= em exist, i.e., when I send an email with outlook, gnus does not fetch it.=20= >=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? >=20 > 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. >=20 > If it's true that this is the imap account, then try changing the > mail-source definition to: >=20 > (imap :server "mail.uvic.ca" > :user "wyousef@uvic.ca" > :port 993 > :stream ssl > :mailbox ("INBOX" "Sent") > ) >=20 > Replacing "Sent" with whatever the actual name of the sent mail folder > is. >=20 > 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. >=20 > Eric >=20 >>>> 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 t= hey 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?