View Full Version : forward e-mail for virtual mailbox and leave copy
f-coval
11-23-2009, 07:37 AM
Hello i created .forward in a user X home directory and conf. of this file is:
\X,somemail@domain.pl ok forwarder works great and the copy of oryginal message leaves on X mail. But user X has got virtual mail box-es in a directory
$home/imap/domain.pl/virtualmail1
$home/imap/domain.pl/virtualmail2
$home/imap/domain.pl/virtualmail3
And i wish to do forwards for them to and i don't know how to do this using file ".forward"
jissh
11-23-2009, 10:58 AM
Please don't double post.
You can either use the forwarders option in DA or edit /etc/virtual/YourDomain/aliases
Add
YourVirtualUser: me@mydomain.com
f-coval
11-24-2009, 03:01 AM
Thx
It works but for me works only 2 example. I dont know why when creating forward i DA from mail1 to mail2 there is no copy of message on mail1(or no option to select copy on/copy off). And that was my client wish to have a copy on mail1.
Thanks
jissh
11-24-2009, 03:25 AM
Is mail1 the main email account that's created when the account was setup?
f-coval
11-24-2009, 04:30 AM
Yes it is.
jissh
11-24-2009, 06:24 AM
In that case any email sent to that account is actually redirected and never delivered to that account.
The easiest thing to do is forward it to another virtual email account to and have that account forward it to the rest of your recipients.
f-coval
11-24-2009, 07:01 AM
Ok thx for Your time to help me. It was very helpfull. :) Everything what i was trying to do works now :)
nobaloney
11-24-2009, 06:18 PM
Generally, do not use .forward files when using DirectAdmin (unless you have a special reason and know what you're doing).
Instead, from the control panel, create a mailbox if you want a local copy, a forward if you want a forward, and both if you want both.
Jeff
Powered by vBulletin™ Version 4.0.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.