leei *nix forums beginner
Joined: 24 Aug 2007
Posts: 1
|
Posted: Fri Aug 24, 2007 4:55 pm Post subject:
Newbie question: How to forward a domain to a mailbox?
|
|
|
I'm new to postfix configuration, but need to figure out how to process a certain set of emails into my webapp. I've easily configured an alias to pipe messages to a particular user through a process, but have been stumped when trying to figure out how to do the same for any email to a particular domain. So, I've aliased:
opntag: | /usr/local/lib/opntag/mail_pipe
For example, I need to pipe email for any user foo@test.kom into my app. So far, I've tried two things in the access file, a FILTER and a REDIRECT. The FILTER doesn't seem like what I want, since the access match should count as a delivery. The REDIRECT seems like the right thing but nothing happens, e.g.:
test.kom REDIRECT opntag
# or
test.kom REDIRECT opntag@localhost
I'm assuming this should be obvious, but I'm having trouble interpreting the wide range of possibility wrt. configuration. |
|