LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 10-25-2006, 10:27 PM   #1
rickylim
Member
 
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, 10:41 PM   #2
chakkerz
Member
 
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. http://www.postfix.org/docs.html

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

if you love man pages ... http://www.postfix.org/postconf.5.html look for virtual and forward ...

from memory, if you have something like this in your main.cf:
Quote:
virtual_alias_maps = mysql:/etc/postfix/mysql_alias.cf
alias_maps = hash:/etc/postfix/aliases, mysql:/etc/postfix/mysql_alias.cf
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
 
  


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


All times are GMT -5. The time now is 10:14 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration