Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-12-2006, 09:57 AM   #1
LQ Newbie
Registered: Sep 2006
Posts: 3

Rep: Reputation: 0
forwarding mail


Can anybody tell me how to forward mails like this:
I got only one system account and mail server use it and when I mail to and it deliver mails to this same account.

I want to do it like this:
If I receive mail to then mailserver deliver it to rafal_a account and when to it deliver to rafal_b account.

I thing this is .procmailrc or .forward file.

Old 10-13-2006, 02:58 AM   #2
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Sounds like you are describing virtual hosting.

Although, in a very simple situation you could do something with a procmail rule (I would think...). Something like this in a procmailrc file:
* ^
And a similar rule for aaa. The rc might not be exactly correct (that TO might need changing) but that is probably the way to do it on a very simple setup. Ultimately something like that would be done using virtual hosting:



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
Procmail: forwarding mail to remote mail account Cadmium Linux - Software 2 01-14-2010 01:05 PM
Mail Forwarding in postfix/maildrop/redhat (like yahoo mail forwarding) topcat Linux - Software 1 08-31-2007 12:10 PM
mail forwarding r£vilo LQ Suggestions & Feedback 4 08-04-2006 09:09 AM
mail forwarding??? activeq Linux - Networking 1 07-29-2006 12:00 PM
mail forwarding Ammad Linux - Networking 4 05-25-2005 10:40 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:31 PM.

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