HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   Procmail with Virtual Users And Domains With Postfix, Courier And MySQL (http://www.howtoforge.com/forums/showthread.php?t=2410)

todgerme 7th February 2006 02:22

Procmail with Virtual Users And Domains With Postfix, Courier And MySQL
 
Can anyone shed some light on how procmail can be called to do various receipes before courier delivers the mail to the directory. a few things confuse me, number one when calling the procmail in the .forward file, what is the exact line i need, different websites give me different syntax and none has worked thus far and two, following the guide, doesn't quite give the old qmail style Maildir format where we have:

somedir with domain in it \ Maildir \ new or cur or tmp

instead we have

somedir with domain in it \ new or cur or tmp

Will this matter if the "Maildir" directory doesn't exist? Where is the .forward file meant to be placed considering we have no Maildir directory?

Any help guys would be greatly appreciated! Also whats the consensus on using Maildrop instead of Procmail?

falko 7th February 2006 10:42

Quote:

Originally Posted by todgerme
Can anyone shed some light on how procmail can be called to do various receipes before courier delivers the mail to the directory. a few things confuse me, number one when calling the procmail in the .forward file, what is the exact line i need, different websites give me different syntax and none has worked thus far and two

Should be

Code:

"|/usr/bin/procmail -f-"
(replace the path to procmail if necessary).

Quote:

Originally Posted by todgerme
following the guide, doesn't quite give the old qmail style Maildir format where we have:

somedir with domain in it \ Maildir \ new or cur or tmp

instead we have

somedir with domain in it \ new or cur or tmp

Will this matter if the "Maildir" directory doesn't exist? Where is the .forward file meant to be placed considering we have no Maildir directory?

You should have a Maildir directory, otherwise something went wrong.
Did you send an email to the account in question? Because the Maildir is created when the first mail arrives.


All times are GMT +2. The time now is 18:05.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.