Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any way to redirect mail ? #5

Open
edorgeville opened this issue Nov 28, 2014 · 9 comments
Open

Any way to redirect mail ? #5

edorgeville opened this issue Nov 28, 2014 · 9 comments

Comments

@edorgeville
Copy link

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

@lava
Copy link
Owner

lava commented Nov 29, 2014

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/

@avinashtanniru
Copy link

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

@lava
Copy link
Owner

lava commented Dec 14, 2014

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.

@avinashtanniru
Copy link

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.

@lava
Copy link
Owner

lava commented Dec 15, 2014

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.

@avinashtanniru
Copy link

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 ?

@dragonito
Copy link
Contributor

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]

@lava
Copy link
Owner

lava commented May 12, 2015

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.

@dragonito
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants