LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-11-2015, 09:00 AM   #1
ianj
LQ Newbie
 
Registered: Sep 2015
Posts: 3

Rep: Reputation: Disabled
Question Forwarding emails to external email address


Afternoon,

I'm fairly new to Linux but have had a steep learning curve (15 years in Windows System admin) I have now set up a number of servers with SLES 11 including a mail server.

My question is and I do hope that someone can help is; We have a mail server all set up and able to receive and send no problems. However we have a couple of users who need to access their emails on the move, now the easiest way for me is for them to VPN into the network and then bob's your uncle they're able to access emails. However this is not suitable to them and they would like to have their emails sent to an external address.

Is there any way I can set up a rule to enable emails to be forwarded on (I know I can do it in Windows exchange and if they keep their Macs on I can set up a rule there, but I'm stumped with Linux).

Many thanks in anticipation of an answer.

Ian
 
Old 09-11-2015, 09:27 AM   #2
hortageno
Member
 
Registered: Aug 2015
Distribution: Ubuntu 22.04 LTS
Posts: 240

Rep: Reputation: 67
Quote:
Originally Posted by ianj View Post
Afternoon,

I'm fairly new to Linux but have had a steep learning curve (15 years in Windows System admin) I have now set up a number of servers with SLES 11 including a mail server.

My question is and I do hope that someone can help is; We have a mail server all set up and able to receive and send no problems. However we have a couple of users who need to access their emails on the move, now the easiest way for me is for them to VPN into the network and then bob's your uncle they're able to access emails. However this is not suitable to them and they would like to have their emails sent to an external address.

Is there any way I can set up a rule to enable emails to be forwarded on (I know I can do it in Windows exchange and if they keep their Macs on I can set up a rule there, but I'm stumped with Linux).

Many thanks in anticipation of an answer.

Ian
The short answer is yes.

A longer answer would require more information from you.

A Sieve filter could do this for you

http://wiki2.dovecot.org/Pigeonhole/...arious_headers
 
Old 09-11-2015, 09:57 AM   #3
ianj
LQ Newbie
 
Registered: Sep 2015
Posts: 3

Original Poster
Rep: Reputation: Disabled
What further info would you require?

I noticed the link was for Dovecot, we're running postfix.
 
Old 09-11-2015, 10:31 AM   #4
hortageno
Member
 
Registered: Aug 2015
Distribution: Ubuntu 22.04 LTS
Posts: 240

Rep: Reputation: 67
Quote:
Originally Posted by ianj View Post
What further info would you require?

I noticed the link was for Dovecot, we're running postfix.
Postfix is the SMTP server (MTA). There must be a MDA like Exim, Dovecot, Cyrus IMAP etc. installed on your server. Which one is the information we need to help you.
 
Old 09-11-2015, 10:55 AM   #5
ianj
LQ Newbie
 
Registered: Sep 2015
Posts: 3

Original Poster
Rep: Reputation: Disabled
Cyrus would be the one.

Cheers for the help so far, I will get there with Linux (eventually)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Postfix/Dovecot: Can't receive external eMails, but I can send to an external address Sebi94 Linux - Server 2 07-05-2013 01:07 PM
Not stoping spam emails on Aliases email address talat Linux - Software 1 07-15-2008 01:26 AM
Email Server not picking up external emails Mike-BB Linux - Software 5 01-23-2006 05:17 AM
Block emails which has no 'from email address' using qmail linuxharry Linux - Software 16 03-18-2005 09:11 AM
How to Forwarding all old emails to a new email address tvn Linux - Software 1 12-04-2004 07:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration