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

Re: postfix, fetchmail



Am 2005-04-09 14:04:23, schrieb COLAS Yves:
> Michelle Konzack a écrit :
> 
> >
> >Tu passer pes messages via "smtp" ou l'option "mda" ?
> > 
> >
> dans mon fichier ".fetchmailrc" je n'ai aucune option.
> Comment je peux savoir lequel il utilise ?
> 
> >Oublier pas du rajouter l'option "-i" sur postfix.
> > 
> >
> Je ne trouve rien sur l'option "-i".
> Où faut-il la mettre et à quoi elle correspond ?

Si tu utiliser (en fetchmailrc)

mda	"/usr/sbin/postfix ..."

tu rajouter l'option -i come

mda	"/usr/sbin/postfix -i ..."

  __( manpage 'fetchmail' )_____________________________________________
 /
| fetchmail(1)                                         fetchmail(1)
<snip>
|        -m <command> | --mda <command>
|               (Keyword:  mda)  You can force mail to be passed to
|               an MDA directly (rather than forwarded to port  25)
|               with the --mda or -m option.  To avoid losing mail,
|               use this option only with  MDAs  like  procmail  or
|               sendmail  that return a nonzero status on disk-full
|               and other resource-exhaustion errors;  the  nonzero
|               status  tells  fetchmail  that  delivery failed and
|               prevents the message from  being  deleted  off  the
|               server.   If  fetchmail is running as root, it sets
|               its userid to that of the target user while  deliv­
|               ering  mail through an MDA.  Some possible MDAs are
|               "/usr/sbin/sendmail     -i     -f      %F      %T",
		 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    Normalement ça marcher avec postfix/courier-mta sans changement.

|               "/usr/bin/deliver"  and  "/usr/bin/procmail  -d %T"
|               (but the latter is usually redundant as  it's  what
|               SMTP  listeners normally forward to).  Local deliv­
|               ery addresses will be inserted into the MDA command
|               wherever  you  place  a %T; the mail message's From
|               address will be inserted where you place an %F.  In
|               both  cases  the  addresses  are enclosed in single
|               quotes ('), after removing any single  quotes  they
|               may  contain,  before  the MDA command is passed to
|               the shell.  Do  not  use  an  MDA  invocation  like
|               "sendmail -i -t" that dispatches on the contents of
|               To/Cc/Bcc, it will create mail loops and bring  the
|               just wrath of many postmasters down upon your head.
|               Also, do not try to combine multidrop mode with  an
|               MDA  such  as  procmail  that  can  only accept one
|               addressee; you will lose.
|                                                      fetchmail(1)
 \______________________________________________________________________


Bon weekend
Michelle

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/3/88452356    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature


Reply to: