public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] using procmail to store mail in some box
@ 2006-08-18 12:10 Enrico Weigelt
  2006-08-18 16:13 ` [gentoo-user] " reader
  2006-08-19 21:58 ` Moshe Kamensky
  0 siblings, 2 replies; 3+ messages in thread
From: Enrico Weigelt @ 2006-08-18 12:10 UTC (permalink / raw
  To: gentoo-user


Hi folks,


I'd like to use procmail to store mails (coming from stdin) 
into an certain mailbox (mbox) given by commandline. Does 
anyone know how I could do that ?

The manpage only states how to use an different config file,
but this would require one extra configfile per target box.


thx
-- 
---------------------------------------------------------------------
 Enrico Weigelt    ==   metux IT service - http://www.metux.de/
---------------------------------------------------------------------
 Please visit the OpenSource QM Taskforce:
 	http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
	http://patches.metux.de/
---------------------------------------------------------------------
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gentoo-user]  Re: using procmail to store mail in some box
  2006-08-18 12:10 [gentoo-user] using procmail to store mail in some box Enrico Weigelt
@ 2006-08-18 16:13 ` reader
  2006-08-19 21:58 ` Moshe Kamensky
  1 sibling, 0 replies; 3+ messages in thread
From: reader @ 2006-08-18 16:13 UTC (permalink / raw
  To: gentoo-user

Enrico Weigelt <weigelt@metux.de> writes:

> Hi folks,
>
>
> I'd like to use procmail to store mails (coming from stdin) 
> into an certain mailbox (mbox) given by commandline. Does 
> anyone know how I could do that ?

Not sure what you mean above.  Is incoming being passed in from smtp
or what?

> The manpage only states how to use an different config file,
> but this would require one extra configfile per target box.

Please explain a little bit more about what you are trying to
accomplish.

You can invoke INCLUDERC from your .procmailrc that would contain
special stuff for a specific mailbox or several mailboxes.

My guess is your need is simpler and can be addressed with a simpler
approach but first we must here what you are trying to accomplish.

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gentoo-user] Re: using procmail to store mail in some box
  2006-08-18 12:10 [gentoo-user] using procmail to store mail in some box Enrico Weigelt
  2006-08-18 16:13 ` [gentoo-user] " reader
@ 2006-08-19 21:58 ` Moshe Kamensky
  1 sibling, 0 replies; 3+ messages in thread
From: Moshe Kamensky @ 2006-08-19 21:58 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 372 bytes --]

* Enrico Weigelt <weigelt@metux.de> [18/08/06 13:26]:
> 
> Hi folks,
> 
> 
> I'd like to use procmail to store mails (coming from stdin) 
> into an certain mailbox (mbox) given by commandline. Does 
> anyone know how I could do that ?

You could call procmail with '-a <mbox>'. Then the name of the mailbox 
will be accessible as $1 inside procmailrc.

Moshe

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-08-19 22:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-18 12:10 [gentoo-user] using procmail to store mail in some box Enrico Weigelt
2006-08-18 16:13 ` [gentoo-user] " reader
2006-08-19 21:58 ` Moshe Kamensky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox