Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 28th January 2010, 14:06
Fantu Fantu is offline
Junior Member
 
Join Date: Nov 2007
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default Email account with copy of mail to another email

I not found how i must do in ispconfig3 for send a copy of all mail recived bu one mail account to one mail external
Someone can help me please?
Reply With Quote
Sponsored Links
  #2  
Old 28th January 2010, 16:27
prisfeo prisfeo is offline
Member
 
Join Date: Jan 2010
Posts: 37
Thanks: 3
Thanked 2 Times in 2 Posts
Default

hi,
i think you can do it through a "custom rule" (tab "Custom Rules" inside Mailbox section)

look at here:

http://www.faqforge.com/linux/contro...her-mailboxes/

bye
Reply With Quote
  #3  
Old 28th January 2010, 16:51
prisfeo prisfeo is offline
Member
 
Join Date: Jan 2010
Posts: 37
Thanks: 3
Thanked 2 Times in 2 Posts
Default

i need some help me too..
i have tried to do the above (set up the custom rule in order to resend an email sent to an email account configured inside ispconfig3) for testing purpose..
well..nothing to do..
email always arrive correctly to the user account email address set up inside ispconfig,
but never resent to external email address(my account@gmail.com) configured inside the Custom Rules
tab following this guide:
http://www.faqforge.com/linux/contro...her-mailboxes/

i also tried without quotes, single quotes..always same result:
mail not sent to external email address.
..
in /var/log/maillog
there are no postfix tries to send to external email address..

so i have checked inside:
/var/vmail/mailfilters/mydomain.com/useremailaccount/
and there is not any file created..
(the owner of the /var/vmail/mailfilters/ are "vmail root")

what am i doing wrong ?

(i am using ISPconfig 3.0.1.6 in Centos5.4)

Last edited by prisfeo; 28th January 2010 at 16:55.
Reply With Quote
  #4  
Old 29th January 2010, 10:49
prisfeo prisfeo is offline
Member
 
Join Date: Jan 2010
Posts: 37
Thanks: 3
Thanked 2 Times in 2 Posts
Default

anyone can tell me why filter file it is not created ?
..really a i have to create it manually for each user/filter ?
Reply With Quote
  #5  
Old 29th January 2010, 11:00
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,488
Thanks: 813
Thanked 5,258 Times in 4,122 Posts
Default

Check the system log in the monitor and jobqueue for errors. Also you should be aware that the files in /var/vmail/mailfilters/mydomain.com/useremailaccount/ are hidden files, so you dot see them with ls.

Please post the output of:

ls -la /var/vmail/mailfilters/mydomain.com/useremailaccount/
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 29th January 2010, 11:21
prisfeo prisfeo is offline
Member
 
Join Date: Jan 2010
Posts: 37
Thanks: 3
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by till View Post
Check the system log in the monitor and jobqueue for errors. Also you should be aware that the files in /var/vmail/mailfilters/mydomain.com/useremailaccount/ are hidden files, so you dot see them with ls.

Please post the output of:

ls -la /var/vmail/mailfilters/mydomain.com/useremailaccount/
great tip Till! thanks..
well here it is the output:

ls -la /var/vmail/mailfilters/mydomain.com/useremailaccount/

drwxrwx--- 2 vmail root 4096 29 gen 11:05 .
drwxrwx--- 3 vmail root 4096 28 gen 16:20 ..
-rwxrwx--- 1 vmail root 26 29 gen 11:05 .mailfilter

so yes the .mailfilter file does exist!!
and inside it there's a line with exactly the custom rule:
cc "!myaccount@gmail.com"

now i have retried sending an email to useremailaccount@mydomain.com
and mail is re-sent to that external account..!!
and i can see it correctly in the /var/log/maillog..

i can assure yesterday there was no email trace resent external.
strange behaviour..
but i cannot say if yesterday there was inside that folder the .mailfilter file,
since i have done only the "-lh" flag..
however..now it works!

thanks Till!!
Reply With Quote
  #7  
Old 15th March 2010, 12:09
tilman tilman is offline
Junior Member
 
Join Date: Sep 2009
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

The above settings (cc “!info1@example.tld”) did not work for me.
Now found a working solution:
In the "Custom rules" Tab in the eMail Mailbox Settings (only available if logged in as admin and in the German Version) place these two lines:
redirect "info1@example.tld";
fileinto "INBOX";

Line 1: redirect to the given eMail Address
Line 2: Place a copy in the INBOX folder
Reply With Quote
  #8  
Old 15th March 2010, 14:06
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,488
Thanks: 813
Thanked 5,258 Times in 4,122 Posts
 
Default

I guess you use dovecot and not courier. The instructions above are for courier imap.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix + postfixadmin = SMTP errors... Rashef Server Operation 4 25th June 2009 16:12
Postfix not responding to telnet CarbonCopy Server Operation 6 8th May 2009 05:39
Would the problem come from postfix? satimis Server Operation 10 27th January 2008 10:31
Postfix problem: lost connection after CONNECT from unknown fernando_torrez Server Operation 5 30th November 2007 14:17
Unable to retrive email aberrio HOWTO-Related Questions 2 7th October 2007 19:40


All times are GMT +2. The time now is 11:30.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.