LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Schedule Mail Forwarding (https://www.linuxquestions.org/questions/linux-server-73/schedule-mail-forwarding-4175471251/)

sghazagh 07-28-2013 06:34 PM

Schedule Mail Forwarding
 
Hi Pros,
I am using Ubuntu server 12.04 TSL with Postfix installed as my personal home based business for web hosting services.
I am using ISPConfig3 for my Web Hosting Control panel and I have a question which sure you can help me with.
My main email address is in this server and the problem which I have is that, I cannot check my emails from my work as it is banned.
I need to configure Postfix to schedule forwarding my emails during my work time and back to normal in certain time.Is it possible?

Let me explain a little bit more for better understanding.
I use Squirrelmail to check my email and I cannot open that link when I am working during the day.
Setting mail forwarding from my ISPConfig3 control panel will forward everything to new address and has no option for schedule forwarding.
I need to setup Postfix (or any other way) to forward my emails to another address just in certain times.

I do appreciate your help and thanks

TB0ne 07-30-2013 08:37 AM

Quote:

Originally Posted by sghazagh (Post 4998559)
Hi Pros,
I am using Ubuntu server 12.04 TSL with Postfix installed as my personal home based business for web hosting services.
I am using ISPConfig3 for my Web Hosting Control panel and I have a question which sure you can help me with.
My main email address is in this server and the problem which I have is that, I cannot check my emails from my work as it is banned.
I need to configure Postfix to schedule forwarding my emails during my work time and back to normal in certain time.Is it possible?

Let me explain a little bit more for better understanding.
I use Squirrelmail to check my email and I cannot open that link when I am working during the day.
Setting mail forwarding from my ISPConfig3 control panel will forward everything to new address and has no option for schedule forwarding.
I need to setup Postfix (or any other way) to forward my emails to another address just in certain times.

I do appreciate your help and thanks

So why don't you use the built-in forwarding options in Squirrelmail, or one of the easily-found plugins for Squirrelmail that does exactly what you want?
http://squirrelmail.org/wiki/SquirrelMailFeatures
http://squirrelmail.org/plugin_view.php?id=172

And since you are not allowed personal emails at work, does it occur to you that doing this will get you fired???, and that asking how to get around your company restrictions is against LQ Rules??

sghazagh 07-30-2013 09:17 PM

Squirrelmail is client side.I want to do that on server.

For work, not at all.
The work mail access is not really against company rules.as I have other PC for free internet but I always have to go and use that machine.
I want to forward my emails from main one to my email address in work which mostly is relevant.

TB0ne 07-31-2013 08:25 AM

Quote:

Originally Posted by sghazagh (Post 4999958)
Squirrelmail is client side.I want to do that on server.

Ok...so check the Postfix documentation on fowarding, or look up any of the EASILY FOUND guides, like these:
http://www.postfix.org/local.8.html
http://willjackson.org/blog/configur...ternal-address
http://www.cyberciti.biz/faq/linux-u...other-account/
Quote:

For work, not at all.
The work mail access is not really against company rules.as I have other PC for free internet but I always have to go and use that machine.
I want to forward my emails from main one to my email address in work which mostly is relevant.
That makes no sense. If you ALREADY heave 'free internet', you can check your mail without doing anything. However, since your company policy is clearly saying "No personal email at work", forwarding your personal email to your work address is a violation of that policy, and could get you fired

colucix 08-05-2013 05:10 AM

Whereas mail forwarding is not meant as malicious hacking activity, the discussion can continue. But since you want to act at the server level, you may want to ask to the system administrator of your company. He/she will tell you if it is allowed or not and eventually he/she will help you to set mail forwarding to receive incoming mails from an external account. As noticed, responsibility to fulfill the requirements of your company's policy is up to you.


All times are GMT -5. The time now is 01:49 AM.