1

Topic: Forward to multiple mailboxs

==== Provide required information to help troubleshoot and get quick answer ====
- iRedMail version: beta4
- Linux/BSD distribution name and version: ubuntu 12.04 lts
- Any related log? Log is helpful for troubleshooting.
====

When I log into a webmail alias theres an option to send a "copy of messages" to recipient
So Ive got one forward working fine
However when I setup mutiple  "copy messages to"
none of the forwarding seems to work  ?
Cheers
Glen

2

Re: Forward to multiple mailboxs

May i know which backend do you use? OpenLDAP/MySQL/PostgreSQL?
And the version number of your iRedAdmin-Pro? You can get it after logged in, in "Dashboard" page.

3

Re: Forward to multiple mailboxs

Hi Zhang
backend is Mysql
havnt updated them to pro as yet for the admin
so we are running iRedAdmin v0.1.7 (MySQL) 
if only the pro version works for multiple forwarding thats fine I will upgrade them
but as its a new install Im testing to see if everything is stable for them first
at the moment we seem to be having intermittant mails lost in the system
which logfile will show me whats going on with mails
sorry I know this is going off original topic but now lost mails are becoming more of an issue than forwarding
Thanks
Glen

ZhangHuangbin wrote:

May i know which backend do you use? OpenLDAP/MySQL/PostgreSQL?
And the version number of your iRedAdmin-Pro? You can get it after logged in, in "Dashboard" page.

4

Re: Forward to multiple mailboxs

ssbob wrote:

if only the pro version works for multiple forwarding thats fine I will upgrade them

To be clear, we have only one edition of iRedMail, it's free and open source. And all features are achieved in iRedMail.
iRedAdmin-Pro just help you manage it, it doesn't bring addition "features".

To make things easy, you can try managing multiple forwarding with MySQL command line. For example, forward emails sent to 'orig@domain.ltd' to forwarding01@ and forwarding02@, saving a copy in mailbox also.

mysql> USE vmail;
mysql> UPDATE alias SET goto='orig@domain.ltd,forwarding01@domain.ltd,forwarding02@domain.ltd' WHERE address='orig@domain.ltd';

That's all.

5

Re: Forward to multiple mailboxs

ZhangHuangbin wrote:
ssbob wrote:

if only the pro version works for multiple forwarding thats fine I will upgrade them

To be clear, we have only one edition of iRedMail, it's free and open source. And all features are achieved in iRedMail.
iRedAdmin-Pro just help you manage it, it doesn't bring addition "features".

To make things easy, you can try managing multiple forwarding with MySQL command line. For example, forward emails sent to 'orig@domain.ltd' to forwarding01@ and forwarding02@, saving a copy in mailbox also.

mysql> USE vmail;
mysql> UPDATE alias SET goto='orig@domain.ltd,forwarding01@domain.ltd,forwarding02@domain.ltd' WHERE address='orig@domain.ltd';

That's all.

I get this after trying command
root@mail:~# Access denied for user 'root'@'localhost' (using password: NO)

6

Re: Forward to multiple mailboxs

ssbob wrote:

I get this after trying command
root@mail:~# Access denied for user 'root'@'localhost' (using password: NO)

Dear ssbob,

You should use password to login. For example:

$ mysql -uroot -p

It will ask you to input MySQL root password.

7

Re: Forward to multiple mailboxs

ZhangHuangbin wrote:
ssbob wrote:

I get this after trying command
root@mail:~# Access denied for user 'root'@'localhost' (using password: NO)

Dear ssbob,

You should use password to login. For example:

$ mysql -uroot -p

It will ask you to input MySQL root password.


Hi Zhang Thanks that worked fine
is there somewhere I can have a look at whats forwarded to where
Ive got a forward that goes to about 10 mailboxes and just one didnt work but maybe it was a spelling mistake etc
does it get put intoa conf file or anything ?
Cheers
Glen

8

Re: Forward to multiple mailboxs

ssbob wrote:

is there somewhere I can have a look at whats forwarded to where

Dear Glen,

You can view forwarders with MySQL command line tool, or phpMyAdmin. For example, with MySQL command line tool:

$ mysql -uroot -p
mysql> USE vmail;
mysql> SELECT address,goto FROM alias WHERE address='original@domain.ltd';

Replace "original@domain.ltd" by the real original email address.

With iRedAdmin-Pro, you can view mail forwarding in user profile page, under tab "Forwarding". Screenshot for your reference:
http://iredmail.org/images/iredadmin/user_profile_mail_forwarding.png