Team, I would like to save UID and metadata of mail in mysql table. I am trying to achieve this using dovecot plugin mail-filter. Also would like to do in the process of mail store (using Dovecot LDA). How can I get UID & metadata through script.
UID means unique identification number used to store mail. Any help is appreciated?. On Fri, Apr 1, 2016 at 5:56 PM, use experience <useexperience at gmail.com> wrote:> Team, > > I would like to save UID and metadata of mail in mysql table. I am trying > to achieve this using dovecot plugin mail-filter. Also would like to do in > the process of mail store (using Dovecot LDA). How can I get UID & metadata > through script. >
On 2/04/2016 6:09 AM, use experience wrote:> UID means unique identification number used to store mail. Any help is > appreciated?.There are UIDs and there are UIDs..... I think that you will find a unique ID in the email header, if you are processing other metadata from the header, this will be there too. The UID in the dovecot-uidlist file may or may not be useful; but the ID in the email header should be. Cheers AndrewM
Thanks AndrewM for your help. Mail UID (unique number for each mail) is the one I am trying to figure out. MailLog filter able to read mail-iid, metadata, etc. In the same way I want to extract mail-uid and metadata using some plugin or script whatever. Can you please guide me how can I get this?. On Sat, Apr 2, 2016 at 12:39 AM, use experience <useexperience at gmail.com> wrote:> UID means unique identification number used to store mail. Any help is > appreciated?. > > On Fri, Apr 1, 2016 at 5:56 PM, use experience <useexperience at gmail.com> > wrote: > >> Team, >> >> I would like to save UID and metadata of mail in mysql table. I am trying >> to achieve this using dovecot plugin mail-filter. Also would like to do in >> the process of mail store (using Dovecot LDA). How can I get UID & metadata >> through script. >> > >