|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Nils Vogels (nivo+postfix-users
yuckfou.org)Date: Sun Dec 16 2001 - 04:14:25 CST
Hello!
First of all: Could you please turn off HTML mailing?
On Sun, 2001-12-16 at 06:04, roy murray wrote:
> I have searched everywhere, but I can't seem to find what the structure is in the .forward file. It took me a few days of research to get to the point of the incoming mail getting to the .forward file, but now it only post it to the .forward file and is not forwarding it. This mail is going to a discussion board script.
> Main.cf is default(no changes)
The forward file is found in the homedir of the user that the postfix
local process is trying to deliver to. It contains a comma-seperated
list of local or remote users the email should be forwarded to, and can
also contain pipes.
--8<-
> ApplianceTechBoard: /var/spool/mail/appliancetechboard/.forward
> (I tried both cases)
> My .forward file
> /var/spool/mail/appliancetechboard/.forward
> ??? what do I put here | /var/www/cgi-bin/discus/reply-email.cgi
> This is a part list of what I have tried
> ApplianceTechBoard /var/www/cgi-bin/discus/reply-email.cgi
> | " /var/www/cgi-bin/discus/reply-email.cgi "
> Both upper and lower case
> I know this is something simple I am missing
You should put the .forward in the homedir of the user you have created
to run the bboard as.
For instance: you created user "bboard" for this purpose, in that case,
if you want to use .forward's it would look like this:
/etc/postfix/aliases:
ApplianceTechBoard: bboard
/home/bboard:
echo "\"|/var/www/cgi-bin/discus/reply-email.cgi\"" > \
/home/bboard/.forward
However, it seems more useful to me, in this case not to use a .forward
and have the delivery to pipe done right in aliases, so that you dont
have to create a user only for this:
/etc/postfix/aliases:
ApplianceTechBoard: "|var/www/cgi-bin/discus/reply-email.cgi"
> hang me for this dumb question.......please.....
There is no such thing as a dumb question .. ;)
-- Nils Vogels PGP:0xC26BD15F Available on keyservers. SH:2507WU/3.830yr --> setiathome.ssl.berkeley.edu. Will you find aliens? Every OS sucks! http://www.yuckfou.org/every_os_sucks.mp3
Why did it happen ? BOFH Excuse: sticky bit has come loose
- To unsubscribe, send mail to majordomo
postfix.org with content (not subject): unsubscribe postfix-users
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]