1

Topic: Notify users abaut new mails on iRed server to an alternative mail

Hello Hi there to all,
First at all thanx on great sets of app, I start loving Centos again after  instaling  iRedMail
My success stories is on way.
Here is my first post to forum sory if I miss a point.

I have start and running my first iRedMail.
All users in iRedMail are generated by code automatically .
Over mySql-C# combination insert into mailbox allias combination.
I am extending my DotNetNuke portal.
(it is not some nice code but if someone want to try same Ill share code freely). :):)
Users at DNN getting an e mail account  automatically .

To propagate use of my iRedMail server I want to send mails to my users to their old mails when new mail arrives at iRedMail

I do not want to forward mails, I want to just from time to time send notification to user to old (alternative) e mail adress ?

Something like.
Helo there oldEmail@gmail.com
There is an unread e-mail at  Hello user@ireMailServer.new waiting for you.

I hope so that you can understand my wish,(my English is ugly)

Here is questions on subject ;
Does this feature exists in paid version ? (Ill anyway tr to pay for pro version, I just need to show deposition makers in my Comany)

Does doveadm can tell me whic mails is unreads ?

Does any MySQL table have been populated upon incoming mail ?

How I can query folder vmail and what I shoed look inside to find unread mails ?

If I solve my problem ill try to share here .






==== Required information ====
- iRedMail version:     v0.2.1 (MySQL)
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MYSQL
- Linux/BSD distribution name and version: Centos 6(lates)
- Related log if you're reporting an issue:
====

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Notify users abaut new mails on iRed server to an alternative mail

adopilot wrote:

Does this feature exists in paid version ?

Unfortunately, no.
The paid version is iRedAdmin-Pro, it's just a web admin panel.

adopilot wrote:

Does doveadm can tell me whic mails is unreads ?

I'm afraid not.

adopilot wrote:

Does any MySQL table have been populated upon incoming mail ?

Amavisd logs basic info of in/out emails (not the entire email message) in SQL database, you can try to get info from its database (database name: amavisd).

adopilot wrote:

How I can query folder vmail and what I shoed look inside to find unread mails ?

I don't think query mailboxes folder directly is a good idea.