Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
12-19-2006, 02:00 AM
|
#1
|
|
Member
Registered: Oct 2005
Posts: 34
Rep:
|
how to forward mail to postfix virtual user
I want sales@test.com forward to three email account (e.g. admin@test.com, sysadmin@test.com and manager@test.com)
my postfix virtual /etc/postfix/virtual:
Code:
sales@test.com test.com/admin
how to add another two
|
|
|
|
12-19-2006, 02:39 AM
|
#2
|
|
Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep: 
|
Try adding them to your aliases file. You can have an entry like
sales: user1, user2, user3
|
|
|
|
12-19-2006, 02:55 AM
|
#3
|
|
Member
Registered: Oct 2005
Posts: 34
Original Poster
Rep:
|
my mail server is runing virtual domain and virtual user, your setting like system account alias, i want add sales@test.com to three virutal domain user account. But just add one, another two cannot add to same line.
|
|
|
|
12-19-2006, 04:06 AM
|
#4
|
|
Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep: 
|
Gotcha. i'd try posting on the postfix list - it clearly isn't obvious having looked at the docs
|
|
|
|
12-20-2006, 01:05 AM
|
#5
|
|
Member
Registered: Oct 2005
Posts: 34
Original Poster
Rep:
|
can anyone help me.
i want the email send to sales on virtual domain user, that forward to another three virtual user.
|
|
|
|
12-20-2006, 02:44 AM
|
#6
|
|
Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep: 
|
Weird, I know I posted this earlier today but it isn't here.
Anyway have a look at man virtual(5) (ie man -s 5 virtual). You can have
user@domain address, address, ...
Redirect mail for user@domain to address. This form has the
highest precedence.
Anyway I think it achieves what you want
Rgds
Bill
|
|
|
|
12-21-2006, 09:57 PM
|
#7
|
|
Member
Registered: Oct 2005
Posts: 34
Original Poster
Rep:
|
In my /etc/postfix/virtual
test.com anything
admin@test.com test.com/admin
master@test.com test.com/master
sales@test.com test.com/sales
How to alias sales as admin, master
My /etc/postfix/aliases
admin.test.com: /var/spool/virtual/test.com/admin
master.test.com: /var/spool/virtual/test.com/master
sales.test.com /var/spool/virtual/test.com/sales
|
|
|
|
12-22-2006, 12:43 AM
|
#8
|
|
Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep: 
|
Sorry, but isn't the file you've shown above the db for virtual_mailbox_maps rather than virtual_alias_maps?
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:56 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|