[linux] Getmail
Kocur
kocur na nocka.sk
Pondělí Prosinec 10 12:33:19 CET 2001
nazdar lidi..
mam mensi problem...
v dokumentacii ku getmailu som sa docital ze by mal vediet predat mail
dalsiemu programu na dalsie spracovanie..
/usr/bin/procmail prip. iny prikaz...
v getmailrc mam nieco taketo:
>[default] # This section provides
default arguments and values,
> # and variables which
can be used in other sections
>verbose = 1 # Be verbose by default
>readall = 1 # Retrieve all messages by
default
>delete = 0 # Delete mail after
retrieval by default
>message_log = /var/log/getmail.log # Log message retrieval and
delivery to this file by default
>timeout = 240 # TCP timeout value;
increase if on a poor connection or
> # slow POP3 server.
getmail defaults to a 180 second timeout.
>
>[My Mail] # Simple configuration for a
single-user POP3 mailbox
>server = mail.ics.sk
>port = 110
>readall = 1
>username = kocur
>password = # no password specified; prompt for it when getmail is
run
>
>postmaster =/var/spool/mail/kocur # Default delivery to this
Maildir
>local = ^vkocur na ics.sk$,|/usr/bin/procmail
>message_log = /var/log/kocur.log # Don't log for this
account
> # No "local" directives
necessary.
>recipient_header = received # For this account, only look for
recipient headers
>recipient_header = x-envelope-to # in "Received:" and
"X-Envelope-To:" headers
>use_apop = 0 # Use APOP authentication for
this account instead of
# cleartext PASS
>no_delivered_to = 0 # Don't add a Delivered-To: header
for this mailbox
>no_received = 0
pripadne som skusal dat ako postmastra " postmaster = |/usr/bin/procmail
a polozku lokal som nepouzil...
lenze stale mi getmail koncil takto..
> getmail v.2.1.5 - POP3 mail retriever with reliable Maildir and mbox
delivery.
> (ConfParser version 2.0)
>
> Copyright (C) 2001 Charles Cazabon <getmail @ discworld.dyndns.org>
> Licensed under the GNU General Public License version 2. See the file
> COPYING for details.
>
> mail.ics.sk: POP3 session initiated on port 110 for "kocur"
> mail.ics.sk: POP3 greeting: +OK ics.sk POP service ready [2] MDaemon
v2.8.7.2 R
> mail.ics.sk: POP3 user response: +OK Kocur... Recipient ok
> mail.ics.sk: POP3 PASS response: +OK Kocur's mailbox has 1 total
messages (13684 octets).
> mail.ics.sk: POP3 list response: +OK 1 13684
> msg #1 : len 13684 ... retrievedfailed to process message list for
"kocur" (refuse to deliver to commands as root)
> Resetting connection and aborting...
neviete poradit ze co stym...????
---
Odchádzajúca správa neobsahuje vírusy.
Skontrolované antivírusovým systémom AVG (http://www.grisoft.cz).
Verzia: 6.0.306 / Vírusová databáza: 166 - dátum vydania: 12/4/01
Další informace o konferenci linux