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

Re: jedem user eine procmailrc



Also soweit Blicke ich langsam durch, wo überall das Mail hindurchgeht. 
wenn ich in der fetchmailrc:

poll imap.zhwin.ch protocol imap user "hafnetob" there with password
"passwort"
 mda "/usr/bin/procmail -t -a \$EXTENSION" ssl

drinhabe schickt fetchmail es direkt an procmail... leider eben nur an
die /etc/procmailrc

wenn ich "is localuser here" habe schickt fetchmail es dem smtp-server
ja und der... der schickts mir jetzt einfach ins /var/mail...

On Fri, May 14, 2004 at 07:17:49PM +0200, Andreas Schmidt wrote:
> Kannst Du das nicht ueber Deinen Mailserver regeln? Bei postfix zB in / 
> etc/postfix/main.cf die Zeile
> 	mailbox_command = /usr/bin/procmail
habe ich drin... hat nur irgendwie keine wirkung
> 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"
tja hab ich auch noch dazu versucht... 
> 
> Some  mailers  (notably  exim) do not currently accept the above  
> syntax.  In such case use this instead:
> 
> |/usr/bin/procmail
> 
> Schoenen Gruss,
Dir auch:-)
> 
> Andreas
> 
> 
Tobias
>
hier noch einen auszug aus dem mail-header:
Delivered-To: ht@localhost
Received: from localhost (localhost [127.0.0.1])
        by server (Postfix) with ESMTP id 905BBAC2E9
	for <ht@localhost>; Fri, 14 May 2004 22:51:11 +0200
	(CEST)
thread-index: AcQ589AB4/Gmf7vFTNOQ1Mjw3y39UQ==
Content-Transfer-Encoding: 7bit
Received: from imap.zhwin.ch [160.85.196.15]
	by localhost with IMAP (fetchmail-5.9.11)
	for ht@localhost (single-drop); Fri, 14 May 2004
	22:51:11 +0200 (CEST)
	...
		

Attachment: signature.asc
Description: Digital signature


Reply to: