-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
using scripts #210
Comments
No, the userscript plugin is still included in mailnag. What version are you using? |
On Thu, Jul 02, 2020 at 08:48:57AM -0700, Patrick Ulbrich wrote:
No, the userscript plugin is still included in mailnag. What version
are you using?
I am using version 1.3.0 from debian.
I am in the unstable branch of debian
…
—
You are receiving this because you authored the thread.
Reply to this email directly, [1]view it on GitHub, or [2]unsubscribe.
References
1. #210 (comment)
2. https://github.com/notifications/unsubscribe-auth/AKLPRKIGJYVABTHWBNN4TTDRZST6TANCNFSM4OLPUD6Q
|
On Thu, Jul 02, 2020 at 08:48:57AM -0700, Patrick Ulbrich wrote:
No, the userscript plugin is still included in mailnag. What version
are you using?
I think that for some reason the mailnag daemon is not working here.
And I could not use:
# systemctl enable mailnag
to make it work :(
Also, how do I set up the mailnag password field to work with:
"~/.authinfo.gpg"
Instead of using plain text which is a terrible security flaw?
…
—
You are receiving this because you authored the thread.
Reply to this email directly, [1]view it on GitHub, or [2]unsubscribe.
References
1. #210 (comment)
2. https://github.com/notifications/unsubscribe-auth/AKLPRKIGJYVABTHWBNN4TTDRZST6TANCNFSM4OLPUD6Q
|
According to packages.debian.org there is no mailnag 1.3 in official Debian repos.
Am 3. Juli 2020 23:06:30 MESZ schrieb OrionRandD <notifications@github.com>:
…On Thu, Jul 02, 2020 at 08:48:57AM -0700, Patrick Ulbrich wrote:>
> No, the userscript plugin is still included in mailnag. What
version>
> are you using?>
>
I am using version 1.3.0 from debian.>
I am in the unstable branch of debian>
>
> >
> —>
> You are receiving this because you authored the thread.>
> Reply to this email directly, [1]view it on GitHub, or
[2]unsubscribe.>
> >
> References>
> >
> 1.
#210 (comment)>
> 2.
https://github.com/notifications/unsubscribe-auth/AKLPRKIGJYVABTHWBNN4TTDRZST6TANCNFSM4OLPUD6Q>
>
>
-- >
You are receiving this because you commented.>
Reply to this email directly or view it on GitHub:>
#210 (comment)
--
Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.
|
Mailnag does not ship a systemd .service file so you can't enable it via systemctl. It's enabled via autostart in your desktop session.
In previous versions it stores passwords in gnome-keyring (if installed),version 2.0 or later utilizes libsecret to store passwords.
Am 3. Juli 2020 23:15:15 MESZ schrieb OrionRandD <notifications@github.com>:
…On Thu, Jul 02, 2020 at 08:48:57AM -0700, Patrick Ulbrich wrote:>
> No, the userscript plugin is still included in mailnag. What
version>
> are you using?>
>
I think that for some reason the mailnag daemon is not working here.>
And I could not use:>
# systemctl enable mailnag >
to make it work :(>
>
Also, how do I set up the mailnag password field to work with:>
"~/.authinfo.gpg" >
Instead of using plain text which is a terrible security flaw?>
>
>
> >
> —>
> You are receiving this because you authored the thread.>
> Reply to this email directly, [1]view it on GitHub, or
[2]unsubscribe.>
> >
> References>
> >
> 1.
#210 (comment)>
> 2.
https://github.com/notifications/unsubscribe-auth/AKLPRKIGJYVABTHWBNN4TTDRZST6TANCNFSM4OLPUD6Q>
>
>
-- >
You are receiving this because you commented.>
Reply to this email directly or view it on GitHub:>
#210 (comment)
--
Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.
|
Hi,
my autostart is:
autostart = 1
but has no effect here.
That's the reason why I asked about systemd.
And how do I set libsecret to work with mailnag.
Is it in the Readme file?
Thank you
On Fri, Jul 3, 2020 at 7:03 PM Patrick Ulbrich <notifications@github.com>
wrote:
… Mailnag does not ship a systemd .service file so you can't enable it via
systemctl. It's enabled via autostart in your desktop session.
In previous versions it stores passwords in gnome-keyring (if
installed),version 2.0 or later utilizes libsecret to store passwords.
Am 3. Juli 2020 23:15:15 MESZ schrieb OrionRandD ***@***.***
>:
>On Thu, Jul 02, 2020 at 08:48:57AM -0700, Patrick Ulbrich wrote:>
>> No, the userscript plugin is still included in mailnag. What
>version>
>> are you using?>
>>
>I think that for some reason the mailnag daemon is not working here.>
>And I could not use:>
># systemctl enable mailnag >
>to make it work :(>
>>
>Also, how do I set up the mailnag password field to work with:>
>"~/.authinfo.gpg" >
>Instead of using plain text which is a terrible security flaw?>
>>
>>
>> >
>> —>
>> You are receiving this because you authored the thread.>
>> Reply to this email directly, [1]view it on GitHub, or
>[2]unsubscribe.>
>> >
>> References>
>> >
>> 1.
>#210 (comment)>
>> 2.
>
https://github.com/notifications/unsubscribe-auth/AKLPRKIGJYVABTHWBNN4TTDRZST6TANCNFSM4OLPUD6Q
>
>>
>>
>-- >
>You are receiving this because you commented.>
>Reply to this email directly or view it on GitHub:>
>#210 (comment)
--
Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#210 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKLPRKLLGBLC6YAZWGZV3FDRZZISLANCNFSM4OLPUD6Q>
.
|
Mailnag is added to ~/.config/autostart automatically if you toggle the enable switch in mailnag-config. |
Please also provide the output of |
journalctl -b _COMM=mailnag
jul 05 10:29:36 cypher mailnag[10322]: INFO (2020-07-05 10:29:36): Checking
1 email account(s).
jul 05 10:29:39 cypher mailnag[10322]: DEBUG (2020-07-05 10:29:39):
Couldn't get Subject from message.
jul 05 10:29:42 cypher mailnag[10322]: WARNING (2020-07-05 10:29:42):
Folder [Gmail] does not exist.
jul 05 10:29:42 cypher mailnag[10322]: ERROR (2020-07-05 10:29:42): Caught
an exception.
Traceback (most recent call last):
File
"/usr/local/lib/python2.7/dist-packages/Mailnag/daemon/mailnagdaemon.py",
line 178, in _start
self._mailchecker.check(self._accounts)
File
"/usr/local/lib/python2.7/dist-packages/Mailnag/daemon/mailchecker.py",
line 58, in check
all_mails =
self._mailsyncer.sync(accounts)
File
"/usr/local/lib/python2.7/dist-packages/Mailnag/daemon/mails.py", line 219,
in sync
rcv_lst =
MailCollector(self._cfg, accounts).collect_mail(sort = False)
File
"/usr/local/lib/python2.7/dist-packages/Mailnag/daemon/mails.py", line 92,
in collect_mail
acc.close()
File
"/usr/local/lib/python2.7/dist-packages/Mailnag/common/accounts.py", line
102, in close
self._get_backend().close()
File
"/usr/local/lib/python2.7/dist-packages/Mailnag/backends/imap.py", line 66,
in close
self._disconnect(self._conn)
File
"/usr/local/lib/python2.7/dist-packages/Mailnag/backends/imap.py", line
219, in _disconnect
conn.close()
File
"/usr/local/lib/python2.7/dist-packages/Mailnag/common/imaplib2.py", line
669, in close
raise self.error('No mailbox
selected.')
error: No mailbox selected.
jul 05 10:33:38 cypher mailnag[26488]: INFO (2020-07-05 10:33:38): Shutting
down...
jul 05 10:39:42 cypher mailnag[10322]: INFO (2020-07-05 10:39:42): Checking
1 email account(s).
jul 05 10:39:43 cypher mailnag[10322]: DEBUG (2020-07-05 10:39:43):
Couldn't get Subject from message.
jul 05 10:39:46 cypher mailnag[10322]: WARNING (2020-07-05 10:39:46):
Folder [Gmail] does not exist.
jul 05 10:39:46 cypher mailnag[10322]: ERROR (2020-07-05 10:39:46): Caught
an exception.
Traceback (most recent call last):
File
"/usr/local/lib/python2.7/dist-packages/Mailnag/daemon/mailnagdaemon.py",
line 197, in poll_func
self._mailchecker.check(non_idle_accounts)
File
"/usr/local/lib/python2.7/dist-packages/Mailnag/daemon/mailchecker.py",
line 58, in check
all_mails =
self._mailsyncer.sync(accounts)
File
"/usr/local/lib/python2.7/dist-packages/Mailnag/daemon/mails.py", line 219,
in sync
rcv_lst =
MailCollector(self._cfg, accounts).collect_mail(sort = False)
File
"/usr/local/lib/python2.7/dist-packages/Mailnag/daemon/mails.py", line 92,
in collect_mail
acc.close()
File
"/usr/local/lib/python2.7/dist-packages/Mailnag/common/accounts.py", line
102, in close
self._get_backend().close()
File
"/usr/local/lib/python2.7/dist-packages/Mailnag/backends/imap.py", line 66,
in close
self._disconnect(self._conn)
File
"/usr/local/lib/python2.7/dist-packages/Mailnag/backends/imap.py", line
219, in _disconnect
conn.close()
File
"/usr/local/lib/python2.7/dist-packages/Mailnag/common/imaplib2.py", line
669, in close
raise self.error('No mailbox
selected.')
error: No mailbox selected.
jul 05 11:19:39 cypher mailnag[50093]: INFO (2020-07-05 11:19:39): Shutting
down...
jul 05 11:19:45 cypher mailnag[50130]: INFO (2020-07-05 11:19:45): Checking
1 email account(s).
jul 05 11:19:48 cypher mailnag[50130]: DEBUG (2020-07-05 11:19:48):
Couldn't get Subject from message.
jul 05 11:20:22 cypher mailnag[50130]: INFO (2020-07-05 11:20:22): Shutting
down...
jul 05 11:20:22 cypher mailnag[50130]: INFO (2020-07-05 11:20:22): Idler
closed
jul 05 11:25:57 cypher mailnag[52142]: INFO (2020-07-05 11:25:57): Checking
1 email account(s).
jul 05 11:26:00 cypher mailnag[52142]: DEBUG (2020-07-05 11:26:00):
Couldn't get Subject from message.
jul 05 11:26:27 cypher mailnag[52142]: INFO (2020-07-05 11:26:27): Shutting
down...
jul 05 11:26:28 cypher mailnag[52142]: INFO (2020-07-05 11:26:28): Idler
closed
jul 05 11:28:05 cypher mailnag[52855]: INFO (2020-07-05 11:28:05): Shutting
down...
jul 05 11:28:14 cypher mailnag[52897]: INFO (2020-07-05 11:28:14): Checking
1 email account(s).
jul 05 11:28:16 cypher mailnag[52897]: DEBUG (2020-07-05 11:28:16):
Couldn't get Subject from message.
jul 05 11:28:17 cypher mailnag[52897]: WARNING (2020-07-05 11:28:17):
Folder [Gmail] does not exist.
jul 05 11:28:31 cypher mailnag[52897]: DEBUG (2020-07-05 11:28:31):
Couldn't get Subject from message.
jul 05 11:28:50 cypher mailnag[52897]: INFO (2020-07-05 11:28:50): Shutting
down...
jul 05 11:28:51 cypher mailnag[52897]: INFO (2020-07-05 11:28:51): Polling
thread exited successfully.
$ mailnag -v
mailnag 1.3.0
…On Sun, Jul 5, 2020 at 11:05 AM Patrick Ulbrich ***@***.***> wrote:
Please also provide the output of journalctl -b _COMM=mailnag
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#210 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKLPRKOJKCE7IIXQKDXJ2XLR2CCEFANCNFSM4OLPUD6Q>
.
|
Ok, so you got a crash due to an invalid email inbox. Can you please also post the contents of ~/.config/mailnag/mailnag.cfg? |
$ search mailnag
gnome-shell-mailnag - mail notification extension for GNOME Shell
mailnag - extensible mail notification daemon
I think I downloaded mailnag through apt-get
Should I remove it and install it again via github to get the latest
version?
[spamfilterplugin]
filter_text = newsletter, viagra
[core]
imap_idle_timeout = 10
enabled_plugins =
poll_interval = 10
credentialstore = none
connectivity_test = auto
autostart = 1
[soundplugin]
soundfile = /usr/share/sounds/KDE-Im-New-Mail.ogg
[libnotifyplugin]
notification_mode = 3
max_visible_mails = 10
[account1]
enabled = 1
type = imap
name = $USER (Gmail)
user = $USER
password =
server = imap.gmail.com
port = 993
ssl = 1
imap = 1
idle = 0
folder = ["INBOX", "[Gmail]", "[Gmail]/All Mail"]
[userscriptplugin]
script_file = /usr/local/bin/vaca_email-notify.sh
I have tested all kind of folders and
not have been lucky...
…On Sun, Jul 5, 2020 at 11:43 AM Patrick Ulbrich ***@***.***> wrote:
Ok, so you got a crash due to an invalid email inbox. Can you please also
post the contents of ~/.config/mailnag/mailnag.cfg?
Please also note that version 1.3 uses gnome-keyring to store passwords
(if gir1.2-gnomekeyring-1.0 is installed), not libsecret.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#210 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKLPRKJUSNAYKGUDQ5TDWQTR2CGPJANCNFSM4OLPUD6Q>
.
|
Ok, please let the folders field empty for now and check the output of |
It says that Gmail folder does not exist...
…-- Logs begin at Mon 2020-02-10 17:01:54 -03, end at Sun 2020-07-05
12:31:06 -03. --
jul 05 10:29:36 cypher mailnag[10322]: INFO (2020-07-05 10:29:36): Checking
1 email account(s).
jul 05 10:29:39 cypher mailnag[10322]: DEBUG (2020-07-05 10:29:39):
Couldn't get Subject from message.
jul 05 10:29:42 cypher mailnag[10322]: WARNING (2020-07-05 10:29:42):
Folder [Gmail] does not exist.
jul 05 10:29:42 cypher mailnag[10322]: ERROR (2020-07-05 10:29:42): Caught
an exception.
Traceback (most recent call last):
File
"/usr/local/lib/python2.7/dist-packages/Mailnag/daemon/mailnagdaemon.py",
line 178, in _start
self._mailchecker.check(self._accounts)
File
"/usr/local/lib/python2.7/dist-packages/Mailnag/daemon/mailchecker.py",
line 58, in check
all_mails =
self._mailsyncer.sync(accounts)
File
"/usr/local/lib/python2.7/dist-packages/Mailnag/daemon/mails.py", line 219,
in sync
rcv_lst =
MailCollector(self._cfg, accounts).collect_mail(sort = False)
File
"/usr/local/lib/python2.7/dist-packages/Mailnag/daemon/mails.py", line 92,
in collect_mail
acc.close()
File
"/usr/local/lib/python2.7/dist-packages/Mailnag/common/accounts.py", line
102, in close
self._get_backend().close()
File
"/usr/local/lib/python2.7/dist-packages/Mailnag/backends/imap.py", line 66,
in close
self._disconnect(self._conn)
File
"/usr/local/lib/python2.7/dist-packages/Mailnag/backends/imap.py", line
219, in _disconnect
conn.close()
File
"/usr/local/lib/python2.7/dist-packages/Mailnag/common/imaplib2.py", line
669, in close
raise self.error('No mailbox
selected.')
error: No mailbox selected.
jul 05 10:33:38 cypher mailnag[26488]: INFO (2020-07-05 10:33:38): Shutting
down...
jul 05 10:39:42 cypher mailnag[10322]: INFO (2020-07-05 10:39:42): Checking
1 email account(s).
jul 05 10:39:43 cypher mailnag[10322]: DEBUG (2020-07-05 10:39:43):
Couldn't get Subject from message.
jul 05 10:39:46 cypher mailnag[10322]: WARNING (2020-07-05 10:39:46):
Folder [Gmail] does not exist.
jul 05 10:39:46 cypher mailnag[10322]: ERROR (2020-07-05 10:39:46): Caught
an exception.
Traceback (most recent call last):
File
"/usr/local/lib/python2.7/dist-packages/Mailnag/daemon/mailnagdaemon.py",
line 197, in poll_func
self._mailchecker.check(non_idle_accounts)
File
"/usr/local/lib/python2.7/dist-packages/Mailnag/daemon/mailchecker.py",
line 58, in check
all_mails =
self._mailsyncer.sync(accounts)
File
"/usr/local/lib/python2.7/dist-packages/Mailnag/daemon/mails.py", line 219,
in sync
rcv_lst =
MailCollector(self._cfg, accounts).collect_mail(sort = False)
File
"/usr/local/lib/python2.7/dist-packages/Mailnag/daemon/mails.py", line 92,
in collect_mail
acc.close()
File
"/usr/local/lib/python2.7/dist-packages/Mailnag/common/accounts.py", line
102, in close
self._get_backend().close()
File
"/usr/local/lib/python2.7/dist-packages/Mailnag/backends/imap.py", line 66,
in close
self._disconnect(self._conn)
File
"/usr/local/lib/python2.7/dist-packages/Mailnag/backends/imap.py", line
219, in _disconnect
conn.close()
File
"/usr/local/lib/python2.7/dist-packages/Mailnag/common/imaplib2.py", line
669, in close
raise self.error('No mailbox
selected.')
error: No mailbox selected.
jul 05 11:19:39 cypher mailnag[50093]: INFO (2020-07-05 11:19:39): Shutting
down...
jul 05 11:19:45 cypher mailnag[50130]: INFO (2020-07-05 11:19:45): Checking
1 email account(s).
jul 05 11:19:48 cypher mailnag[50130]: DEBUG (2020-07-05 11:19:48):
Couldn't get Subject from message.
jul 05 11:20:22 cypher mailnag[50130]: INFO (2020-07-05 11:20:22): Shutting
down...
jul 05 11:20:22 cypher mailnag[50130]: INFO (2020-07-05 11:20:22): Idler
closed
jul 05 11:25:57 cypher mailnag[52142]: INFO (2020-07-05 11:25:57): Checking
1 email account(s).
jul 05 11:26:00 cypher mailnag[52142]: DEBUG (2020-07-05 11:26:00):
Couldn't get Subject from message.
jul 05 11:26:27 cypher mailnag[52142]: INFO (2020-07-05 11:26:27): Shutting
down...
jul 05 11:26:28 cypher mailnag[52142]: INFO (2020-07-05 11:26:28): Idler
closed
jul 05 11:28:05 cypher mailnag[52855]: INFO (2020-07-05 11:28:05): Shutting
down...
jul 05 11:28:14 cypher mailnag[52897]: INFO (2020-07-05 11:28:14): Checking
1 email account(s).
jul 05 11:28:16 cypher mailnag[52897]: DEBUG (2020-07-05 11:28:16):
Couldn't get Subject from message.
jul 05 11:28:17 cypher mailnag[52897]: WARNING (2020-07-05 11:28:17):
Folder [Gmail] does not exist.
jul 05 11:28:31 cypher mailnag[52897]: DEBUG (2020-07-05 11:28:31):
Couldn't get Subject from message.
jul 05 11:28:50 cypher mailnag[52897]: INFO (2020-07-05 11:28:50): Shutting
down...
jul 05 11:28:51 cypher mailnag[52897]: INFO (2020-07-05 11:28:51): Polling
thread exited successfully.
jul 05 12:29:55 cypher mailnag[72874]: INFO (2020-07-05 12:29:55): Checking
1 email account(s).
jul 05 12:29:58 cypher mailnag[72874]: WARNING (2020-07-05 12:29:58):
Folder [Gmail] does not exist.
On Sun, Jul 5, 2020 at 12:24 PM Patrick Ulbrich ***@***.***> wrote:
Ok, please let the folders field empty for now and check the output of journalctl
-b _COMM=mailnag.
It also seems you didn't activate the userscript plugin in mailnag-config.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#210 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKLPRKIUTBB5DL25E5CENQDR2CLKBANCNFSM4OLPUD6Q>
.
|
Please post the actual output |
That is what I am telling you since the beginning that the userscript field
for activating does not appear in my mailnag in X neither inside the
mailnag-cfg
So that, there is no way of running my personal script.
I started this thread just because of this...
Is it related with my mailnag version?
That was the reason I asked if I should purge it with "apt-get purge
mailnag*" and install the most recent one from github...
…On Sun, Jul 5, 2020 at 12:24 PM Patrick Ulbrich ***@***.***> wrote:
Ok, please let the folders field empty for now and check the output of journalctl
-b _COMM=mailnag.
It also seems you didn't activate the userscript plugin in mailnag-config.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#210 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKLPRKIUTBB5DL25E5CENQDR2CLKBANCNFSM4OLPUD6Q>
.
|
Maybe the plugin is not loaded successfully. Please run mailnag-config in a terminal and post the output here |
-- Logs begin at Mon 2020-02-10 17:01:54 -03, end at Sun 2020-07-05 12:43:03 -03. -- |
(mailnag-config:78781): Gtk-CRITICAL **: 12:45:36.679: gtk_widget_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed (mailnag-config:78781): Gtk-CRITICAL **: 12:45:36.952: gtk_widget_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed |
Now I purged mailnag from debian with "apt-get purge mailnag" and installed it from sources and upon lauching it I get this error: mailnag-config |
Something is really wrong here or either in mailnag itself. I've installed with "./setup.py install and it seems to be installed: $ which mailnag |
|
I have mailnag installed via apt in my debian box.
It used to have a field in its configuration for me to add personal scripts.
I was using "xcowsay" in a script to warn me when new emails arrived in my
Inbox.
But, I have noticed, for some time now, that the field to add a path to my script just
desappeared from mailnag configuration.
Does that feature was removed?
The text was updated successfully, but these errors were encountered: