create Ticket by email with IMAP IDLE ?
Posted: Tue Sep 19, 2017 10:23 am
Hi,
For creating a ticket by email i was wondering why we need to do a cronjob? i mean for IMAP why not use IMAP IDLE ? this way you get real-time email
https://en.wikipedia.org/wiki/IMAP_IDLE or is this not doable? or would this still need a cronjob to work?
As for email piping "Piping e-mail to scripts is something from the past. E-mail is getting more and more "virtualized". In the past e-mail boxes were actually users on the system, which is no longer the case. As of now all mailboxes are virtual and all belong to 1 UID. As piping data means starting a script as that UID, it might have serious security implications.
If a user would be able to create his own pipe script he could start a shell as the mail server, and read mail from all users. Bad ideal.
There are other ways to fix this, eg, using FAM or maybe IMAP IDLE." I got this from here: https://plesk.uservoice.com/forums/1845 ... -forwarder
Anyhow i was wondering if there could be a better way to do this then using pipe script or a cronjob every 5 mins. Would be nice to have real-time.
For creating a ticket by email i was wondering why we need to do a cronjob? i mean for IMAP why not use IMAP IDLE ? this way you get real-time email
https://en.wikipedia.org/wiki/IMAP_IDLE or is this not doable? or would this still need a cronjob to work?
As for email piping "Piping e-mail to scripts is something from the past. E-mail is getting more and more "virtualized". In the past e-mail boxes were actually users on the system, which is no longer the case. As of now all mailboxes are virtual and all belong to 1 UID. As piping data means starting a script as that UID, it might have serious security implications.
If a user would be able to create his own pipe script he could start a shell as the mail server, and read mail from all users. Bad ideal.
There are other ways to fix this, eg, using FAM or maybe IMAP IDLE." I got this from here: https://plesk.uservoice.com/forums/1845 ... -forwarder
Anyhow i was wondering if there could be a better way to do this then using pipe script or a cronjob every 5 mins. Would be nice to have real-time.