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


  Search this Thread
Old 10-25-2006, 11:27 PM   #1
Registered: Jan 2006
Location: Malaysia
Distribution: RedHat & FreeBSD
Posts: 68

Rep: Reputation: 15
Postfix forward mail

Hi, good day to all of you.

I have a Red Hat Enterprise 4 machine running as mail server for posftix and dovecot.

my question is:-
1) how do i forward all the mails send to user1 to another user account, say user2 (within same domain).

Please advice.

Million Thanks!
Old 10-25-2006, 11:41 PM   #2
Registered: Dec 2002
Location: Brisbane, Australia
Distribution: RedHat (RHEL, FC, CentOS), openSuSE, Mac OS X
Posts: 653

Rep: Reputation: 32
That is a bit complex and depends on how you have it configured. Try checking the Howtos at postfix.

It is very dependent on how you have configured your mail system.

if you love man pages ... look for virtual and forward ...

from memory, if you have something like this in your
virtual_alias_maps = mysql:/etc/postfix/
alias_maps = hash:/etc/postfix/aliases, mysql:/etc/postfix/
you can just define a new alias in /etc/postfix/aliases and re-run newaliases (make sure it acts on the right file though).

Good luck


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
How to make Sendmail forward all incoming mail to localhost port 26 (Domino mail) speedgelb Linux - Software 3 09-27-2013 11:18 AM
forward mail to internal mail server suse 9.2 brian1978 Linux - Security 1 02-22-2006 03:25 PM
Postfix: Need to deliver all local mail to 1 account, then forward OneBinary Linux - Software 3 01-05-2006 05:49 PM
Postfix forward all inbound mail to another server bourbon_beast Linux - Software 2 06-28-2005 05:48 AM
cant see .forward file in home directory >> mail forward/copy steve_babbage Linux - Newbie 0 03-02-2004 07:25 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:07 AM.

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