Thanks AKI! I'm a step closer to achieving my goals. However, I'm getting a new error as indicated from below: Apr 11 01:45:34 lmtp(user at mydomain.com)<20801><pVlIEJ7wrlxBUQAAUdwEFQ>:*Debug: push-notification-ox: Skipped because not active (/private/vendor/vendor.dovecot/pvt/server/vendor/vendor.dovecot/http-notify METADATA not set)* Apr 11 01:45:34 lmtp(user at mydomain.com)<20801><pVlIEJ7wrlxBUQAAUdwEFQ>:*Debug: push-notification: Push notification transaction completed *By the way, the file****/private/vendor/vendor.dovecot/pvt/server/vendor/vendor.dovecot/http-notify* *does not exist on my server. Again, I appreciate the help :) **> On 11 April 2019 07:57 Robust Coding via dovecot <dovecot at dovecot.org> wrote: > > > Hi Admin, > > I hope you consider reading and addressing my concern promptly. > > For the past few days I've been setting up a VPS with cPanel and WHM > pre-installed on Bluehost. I want to enable push notification plugin in > Dovecot2.3.5. I tried OX and Lua plugins and got errors. > > For using OX plugin: > push_notification_driver = ox:url=http://staging.mydomain.com/mail-notify/v1 > user_from_metadata > And got this error on runtime: > Error: push-notification-ox: Skipped because unable to get attribute: Mailbox > attributes not enabled >mail_attribute_dict = file:%h/Maildir/dovecot-attributes> When using Lua: > mail_plugins = $mail_plugins mail_lua notify push_notification > push_notification_lua > > plugin { > push_notification_driver = lua:file=/path/to/lua/push.lua > } > And got this order: > Plugin 'push_notification_lua' not found from directory /usr/lib64/dovecot >You do not have push_notification_lua installed.> I think I'm missing?something here but I can't figure it out. Please HELP! > > Sincerely, > John Lopena > > -- > > "Become a programmer - Lose your brain's virginity"Aki -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20190411/eb68d944/attachment-0001.html>
It is supposed to be set by OX AppSuite when user logs in. That's why the IMAP METADATA extension needs to be enabled. Aki> On 11 April 2019 11:00 Pabsky via dovecot <dovecot at dovecot.org> wrote: > > > Thanks AKI! I'm a step closer to achieving my goals. > > However, I'm getting a new error as indicated from below: > > Apr 11 01:45:34 lmtp(user at mydomain.com)<20801><pVlIEJ7wrlxBUQAAUdwEFQ>: Debug: push-notification-ox: Skipped because not active (/private/vendor/vendor.dovecot/pvt/server/vendor/vendor.dovecot/http-notify METADATA not set) > Apr 11 01:45:34 lmtp(user at mydomain.com)<20801><pVlIEJ7wrlxBUQAAUdwEFQ>: Debug: push-notification: Push notification transaction completed > > By the way, the file /private/vendor/vendor.dovecot/pvt/server/vendor/vendor.dovecot/http-notify does not exist on my server. > > Again, I appreciate the help :) > ? > > On 11 April 2019 07:57 Robust Coding via dovecot <dovecot at dovecot.org> wrote: > > > > > > Hi Admin, > > > > I hope you consider reading and addressing my concern promptly. > > > > For the past few days I've been setting up a VPS with cPanel and WHM > > pre-installed on Bluehost. I want to enable push notification plugin in > > Dovecot2.3.5. I tried OX and Lua plugins and got errors. > > > > For using OX plugin: > > push_notification_driver = ox:url=http://staging.mydomain.com/mail-notify/v1 > > user_from_metadata > > And got this error on runtime: > > Error: push-notification-ox: Skipped because unable to get attribute: Mailbox > > attributes not enabled > > > > mail_attribute_dict = file:%h/Maildir/dovecot-attributes > > > When using Lua: > > mail_plugins = $mail_plugins mail_lua notify push_notification > > push_notification_lua > > > > plugin { > > push_notification_driver = lua:file=/path/to/lua/push.lua > > } > > And got this order: > > Plugin 'push_notification_lua' not found from directory /usr/lib64/dovecot > > > > You do not have push_notification_lua installed. > > > I think I'm missing?something here but I can't figure it out. Please HELP! > > > > Sincerely, > > John Lopena > > > > -- > > > > "Become a programmer - Lose your brain's virginity" > > Aki
> On 11 Apr 2019, at 11.00, Pabsky via dovecot <dovecot at dovecot.org> wrote: > > Thanks AKI! I'm a step closer to achieving my goals. > > However, I'm getting a new error as indicated from below: > > Apr 11 01:45:34 lmtp(user at mydomain.com <mailto:user at mydomain.com>)<20801><pVlIEJ7wrlxBUQAAUdwEFQ>: Debug: push-notification-ox: Skipped because not active (/private/vendor/vendor.dovecot/pvt/server/vendor/vendor.dovecot/http-notify METADATA not set) > Apr 11 01:45:34 lmtp(user at mydomain.com <mailto:user at mydomain.com>)<20801><pVlIEJ7wrlxBUQAAUdwEFQ>: Debug: push-notification: Push notification transaction completed > > By the way, the file /private/vendor/vendor.dovecot/pvt/server/vendor/vendor.dovecot/http-notify does not exist on my server.It's not supposed to be a file. It's supposed to be a attribute on the users INBOX. Also you need to enable imap metadata or appsuite can't set the attribute. Sami -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20190411/48259618/attachment.html>
Hi, doveadm mailbox metadata get -u victim INBOX /private/vendor/vendor.dovecot/pvt/server/vendor/vendor.dovecot/http-notify or doveadm mailbox metadata set if you are not using appsuite as your mail frontend then you need to set the metadata manually or make sure that your mail frontend does set it. Sami> On 11 Apr 2019, at 11.50, Pabsky <j0hnw0rk3r at gmail.com> wrote: > > Sami, > > the package 'appsuite' is not mentioned in the documentation, also I already enabled imap metadata. > > What do you mean by 'It's not supposed to be a file. It's supposed to be a attribute on the users INBOX'? > > I'm attaching my dovecot configuration file for you to examine. Thanks Sami! > > On 11/04/2019 4:37 PM, Sami Ketola wrote: >> >> >>> On 11 Apr 2019, at 11.00, Pabsky via dovecot <dovecot at dovecot.org <mailto:dovecot at dovecot.org>> wrote: >>> >>> Thanks AKI! I'm a step closer to achieving my goals. >>> >>> However, I'm getting a new error as indicated from below: >>> >>> Apr 11 01:45:34 lmtp(user at mydomain.com <mailto:user at mydomain.com>)<20801><pVlIEJ7wrlxBUQAAUdwEFQ>: Debug: push-notification-ox: Skipped because not active (/private/vendor/vendor.dovecot/pvt/server/vendor/vendor.dovecot/http-notify METADATA not set) >>> Apr 11 01:45:34 lmtp(user at mydomain.com <mailto:user at mydomain.com>)<20801><pVlIEJ7wrlxBUQAAUdwEFQ>: Debug: push-notification: Push notification transaction completed >>> >>> By the way, the file /private/vendor/vendor.dovecot/pvt/server/vendor/vendor.dovecot/http-notify does not exist on my server. >> >> It's not supposed to be a file. It's supposed to be a attribute on the users INBOX. Also you need to enable imap metadata or appsuite can't set the attribute. >> >> Sami >> >> > <dovecot.conf>-------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20190411/a37af128/attachment.html>