[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: jedem user eine procmailrc



On 2004.05.14 17:09, Tobias Hafner wrote:

naja ich hab mal angenommen fetchmail nimmt einfach procmail als mda,
ist wohl nicht so. Wenn ich den mda mitangebe gehts auch nicht. Also
so:

#poll mail.gmx.net protocol pop3 user "thafner@gmx.ch" there with
password "passwort" is ht here mda "/usr/bin/procmail -t -a
\$EXTENSION"

Kannst Du das nicht ueber Deinen Mailserver regeln? Bei postfix zB in / etc/postfix/main.cf die Zeile
	mailbox_command = /usr/bin/procmail
einfuegen. Bevor die Mail dann in der entsprechenden Mailbox landet, wird sie mit den Einstellungen des jeweiligen Nutzers durch procmail gejagt.

Alternativ gibt es auch noch diese Variante (siehe man procmail, NOTES): If procmail is not installed globally as the default mail delivery agent (ask your system administrator), you have to make sure it is invoked when your mail arrives. In this case your $HOME/.forward (beware, it has to be world readable) file should contain the line below. Be sure to include the single and double quotes, and unless you know your site to be running smrsh (the SendMail Restricted SHell), it must be an absolute path.

"|exec /usr/bin/procmail"

Some mailers (notably exim) do not currently accept the above syntax. In such case use this instead:

|/usr/bin/procmail

Schoenen Gruss,

Andreas





Reply to: