[linux] Postfix a fetchmail - nedorucuje maily

martin hudec corwin na aeternal.net
Pondělí Prosinec 27 14:26:54 CET 2004


Ahoj,

On Mon, Dec 27, 2004 at 02:20:44PM +0100 or thereabouts, oravec wrote:
> 
> nepouzivam procmail, len fetchmail. Ak som to dobre pochopil z dokumentacie,
> tak fetchmailom to stiahnem, ten by to mal odovzdat postfixu a ten by to mal
> rozhodit do schranok.
> Alebo sa mylim?
> 
> Ten procmail by mal sluzit na to, aby sa s tou tostou dalo robit, co
> potrebujem, nejake kontroly a pod.
> Ci nie?

    Neviem presne ako sa da este inak spracuvavat posta via fetchmail,
    ja som riesil iba procmail. Kazdopadne procmail je podporovany aj
    postfixom, vid nizsie. Proste mu pridas riadok s mailbox_command,
    ktory sa bude odvolavat na procmail, a procmail nakonfigurujes, aby
    ti triedil postu. Ako vravim, o inom sposobe zatial neviem.

    Z main.cf vynimam tieto riadky:

    # The mailbox_command parameter specifies the optional external
    # command to use instead of mailbox delivery. The command is run as
    # the recipient with proper HOME, SHELL and LOGNAME environment
    # settings.
    # Exception:  delivery for root is done as $default_user.
    #
    # Other environment variables of interest: USER (recipient
    # username),
    # EXTENSION (address extension), DOMAIN (domain part of address),
    # and LOCAL (the address localpart).
    #
    # Unlike other Postfix configuration parameters, the mailbox_command
    # parameter is not subjected to $parameter substitutions. This is to
    # make it easier to specify shell syntax (see example below).
    #
    # Avoid shell meta characters because they will force Postfix to run
    # an expensive shell process. Procmail alone is expensive enough.
    #
    # IF YOU USE THIS TO DELIVER MAIL SYSTEM-WIDE, YOU MUST SET UP AN
    # ALIAS THAT FORWARDS MAIL FOR ROOT TO A REAL USER.
    #
    #mailbox_command = /some/where/procmail
    #mailbox_command = /some/where/procmail -a "$EXTENSION"
    

-- 
martin hudec


   * 421 907 303 393
   * corwin na aeternal.net
   * http://www.aeternal.net

"Nothing travels faster than the speed of light with the possible 
exception of bad news, which obeys its own special laws."

   Douglas Adams, "The Hitchhiker's Guide to the Galaxy"
------------- další část ---------------
Netextová příloha byla odstraněna...
Jméno: [žádný popis není k dispozici]
Typ: application/pgp-signature
Velikost: 187 bytes
Popis: [žádný popis není k dispozici]
Url : http://lists.linux.sk/pipermail/linux/attachments/20041227/bdadb29e/attachment.bin 


Další informace o konferenci linux