Any way to redirect mail ?
Is there a way to make it so all the mail is redirected to another email adress ?
I haven't tried it yet, but things might actually just work (tm) if you put the forward into mail-base/aliases.
It that doesn't work, I'm afraid you'll have to manually edit the postfix config. A helpful description can be found at http://www.binarytides.com/postfix-mail-forwarding-debian/
When i install a dovecot in a docker it shows dovecot is un recognise and mail.log file is also not generating can you help me out from this. @lava
Hi avinash, I'm afraid I don't quite understand what you want to say. I would suggest to open a separate issue and describe your problem in detail there.
Thanks for replying @lava I'm using docker container with latest Ubuntu 14.04 when i install a postfix services mail.log file have to generate in /var/log/ directory but it fails to generate and when i install dovecot through "apt-get install postfix postfix-mysql dovecot-core dovecot-imapd dovecot-lmtpd dovecot-mysql" when i tends to restart it by "sudo service dovecot restart" it shows "dovecot is unrecognise" but it will installed correctly without any error. what is the solution to this problem in docker.
If I read correctly, you're trying to manually install dovecot and postfix in Ubuntu? This is not necessary for using dockermail. Both postfix and dovecot will be installed automatically within the Docker container if you follow the procedure described in the readme.
You are right @lava I Used to pull Ubuntu Image and I install that services but it is not recognizing can you tell me y ?
is it possible to forward to a gmail-adress, i tried it in aliases file but it doesn´t work.
Perfect would be a forward to a external address and also save it.
Exim was is a .forward file in user dir with something like this:
unseen deliver [email protected]
By default all mail gets delivered to local addresses, so you'd need to modify some of the configuration files to get forwarding. That said, if you just want to forward your mail, there is probably an easier solution.
For those who want to forward Mails to gmail. Test it with an external adress ;)
test@mydomain [email protected] test@mydomain
will forward mail to gmail and save it to your dovecot.
Sometimes Mails went to spam-folder. I don´t know why