PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : fetchmail + postfix | size limit



MonkeyT
23.04.09, 11:34
Hi,

ich habe folgendes Problem:


hermes:/etc/postfix# postconf message_size_limit
message_size_limit = 10240000


Apr 22 17:56:17 hermes fetchmail[4226]: erweckt um Mi 22 Apr 2009 17:56:17 CEST
Apr 22 17:56:19 hermes fetchmail[4226]: 1 Nachricht für LOGIN bei ISP (13413826 Bytes).
Apr 22 17:56:19 hermes postfix/smtpd[7749]: connect from localhost[127.0.0.1]
Apr 22 17:56:19 hermes postfix/smtpd[7749]: NOQUEUE: reject: MAIL from localhost[127.0.0.1]: 552 5.3.4 Message size exceeds fixed limit; proto=ESMTP helo=<hermes.MEINE.DOMAIN>
Apr 22 17:56:19 hermes fetchmail[4226]: Nachricht LOGIN@ISP:1 von 1 wird gelesen (13413826 Bytes) (Log-Meldung unvollständig)
Apr 22 17:56:20 hermes fetchmail[4226]: SMTP-Fehler: 552 5.3.4 Message size exceeds fixed limit
Apr 22 17:57:16 hermes fetchmail[4226]: gelöscht
Apr 22 17:57:16 hermes postfix/smtpd[7749]: disconnect from localhost[127.0.0.1]
Apr 22 17:57:23 hermes fetchmail[4226]: Mi 22 Apr 2009 17:57:23 CEST: schlafe 180 Sekunden lang


Die E-Mail wird leider einfach gelöscht, ohne den Absender oder sonst jemanden zu benachrichtigen. Was muss ich tuen, damit das aber erfolgt?

Stormbringer
23.04.09, 11:55
Setze die Nachrichtengröße in /etc/postfix/main.conf hoch, oder rufe mit fetchmail nur Emails ab, die kleiner sind:


Resource Limit Control Options
-l <maxbytes> | --limit <maxbytes>
(Keyword: limit) Takes a maximum octet size argument, where 0 is the default and also the special value des-
ignating "no limit". If nonzero, messages larger than this size will not be fetched and will be left on the
server (in foreground sessions, the progress messages will note that they are "oversized"). If the fetch
protocol permits (in particular, under IMAP or POP3 without the fetchall option) the message will not be
marked seen.

An explicit --limit of 0 overrides any limits set in your run control file. This option is intended for
those needing to strictly control fetch time due to expensive and variable phone rates.

Combined with --limitflush, it can be used to delete oversized messages waiting on a server. In daemon
mode, oversize notifications are mailed to the calling user (see the --warnings option). This option does
not work with ETRN or ODMR.

Quelle: man fetchmail