Difficulty with procmail


#1

I’m trying to set up a moblog, so I need to forward mail that arrives at an address at a script.

Here’s what I have set up

/home/nemongt/.forward

|IFS=’ '&&exec /usr/bin/procmail -f-||edit 75 nemongt

/home/nemongt/.procmailrc

:0

  • ^From.*[my cell phone]@vzwpix.com
    | /home/nemongt/resources.ninegoodthings.com/blog/mt/mt-moblog.pl

I’m pretty confident that mt-moblog.pl is set up correctly, and these emails also arrive in my Inbox, which shouldn’t happen if they are sucessfully sent to mt-moblog.pl (because of :0) right?

Can anyone help?


#2

Read the kbase article on procmail. You need to name the .forward file “.forward.postfix”. Doublecheck your permissions. You can probably get away with just:
"|/usr/bin/procmail -t"
in the .forward file; that’s what we use.

[quote]@vzwpix.com[

[/quote]

Don’t forget to escape the literal dot (. instead of .)