dockermail icon indicating copy to clipboard operation
dockermail copied to clipboard

Any way to redirect mail ?

Open edorgeville opened this issue 11 years ago • 9 comments

Is there a way to make it so all the mail is redirected to another email adress ?

edorgeville avatar Nov 28 '14 06:11 edorgeville

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/

lava avatar Nov 29 '14 21:11 lava

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

avinashtanniru avatar Dec 13 '14 04:12 avinashtanniru

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.

lava avatar Dec 14 '14 18:12 lava

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.

avinashtanniru avatar Dec 15 '14 05:12 avinashtanniru

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.

lava avatar Dec 15 '14 12:12 lava

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 ?

avinashtanniru avatar Dec 15 '14 12:12 avinashtanniru

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]

dragonito avatar May 12 '15 15:05 dragonito

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.

lava avatar May 12 '15 17:05 lava

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

dragonito avatar May 16 '15 16:05 dragonito