fetchmail-friends
[Top] [All Lists]

[fetchmail]fetchmail used as a forwarder does not bounce

2001-11-13 09:23:37
I use fetchmail on a given machine, to get mails from a private server, and
feed it to a public SMTP/POP server :

I read the FAQ, the manpage, especially the paragraph SPAM FILTERING :
The fetchmail code recognizes and discards the message on any of a list
of responses that defaults to [571, 550, 501, 554] but can be set with
the ?antispam¹ option. This is one of the only three circumstance under
                                 ^^^^^^^^^^^^^^^^^^^^^
which fetchmail ever discards mail (the others are the 552 and 553
errors described below, and the suppression of multidropped messages
with a message-ID already seen). 


I cannot succeed in bouncing back refused messages to the originator ( `set
spambounce`) even to the postmaster (`set no bouncemail`)

I played with `spambounce` and `bouncemail` with no success. Anyway the key
word, as indicated in manpage is `antispam -1`

I simply can't understand what's wrong. This fetchmail handles hundreds of
accounts, and it _must_ bounce.

Thanks for any help

Here is my config :

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
[fetchmail]% cat .fecthmailrc
set postmaster postmaster(_at_)injep(_dot_)fr
set no bouncemail
set spambounce
defaults protocol pop3 smtphost valinor.injep.fr antispam -1
poll private.server
    user    "HUMBERTX"    pass    "******"    is    "labo-info"    here
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


Here is a transcription :
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Message bounced by antispam rule :

fetchmail: forwarding to valinor.injep.fr
fetchmail: SMTP> MAIL FROM:<xavier(_at_)injep(_dot_)fr> SIZE=482
fetchmail: SMTP< 250 2.1.5 sender OK
fetchmail: SMTP> RCPT TO:<labo-info(_at_)valinor(_dot_)injep(_dot_)fr>
fetchmail: SMTP< 250 2.1.5 user labo-info(_at_)valinor(_dot_)injep(_dot_)fr 
known
fetchmail: SMTP> DATA
fetchmail: SMTP< 354 send your message
fetchmail: SMTP>. (EOM)
fetchmail: SMTP< 550 5.7.0 This message is a spam
fetchmail: SMTP error: 550 5.7.0 This message is a spam
fetchmail: SMTP> RSET
fetchmail: SMTP< 250 2.0.0 connection reset
 not flushed
fetchmail: POP3> QUIT
[...]
fetchmail: terminated with signal 13

User unknow (introduced a typo in .fetchmailrc) :

fetchmail: forwarding to valinor.injep.fr
fetchmail: SMTP> MAIL FROM:<xavier(_at_)injep(_dot_)fr> SIZE=471
fetchmail: SMTP< 250 2.1.5 sender OK
fetchmail: SMTP> RCPT TO:<lafo(_at_)valinor(_dot_)injep(_dot_)fr>
fetchmail: SMTP< 550 5.1.1 user laboinfo(_at_)valinor(_dot_)injep(_dot_)fr not 
known
fetchmail: SMTP error: 550 5.1.1 user 
laboinfo(_at_)valinor(_dot_)injep(_dot_)fr not
           known
fetchmail: SMTP listener doesn't like recipient address 
           `laboinfo(_at_)valinor(_dot_)injep(_dot_)fr'
fetchmail: SMTP> RCPT TO:<postmaster(_at_)injep(_dot_)fr>
fetchmail: SMTP< 250 2.1.5 user postmaster(_at_)injep(_dot_)fr known
fetchmail: no address matches; forwarding to 
postmaster(_at_)injep(_dot_)fr(_dot_)
fetchmail: SMTP> DATA
fetchmail: SMTP< 354 send your message
fetchmail: SMTP>. (EOM)
fetchmail: SMTP< 250 2.6.0 message received OK
 flushed
fetchmail: POP3> DELE 3
fetchmail: POP3< +OK
fetchmail: POP3> QUIT

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Finally, the output from fetchmail -V
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
[fetchmail]% fetchmail -V
This is fetchmail release 5.9.4+SSL+INET6+NLS
NetBSD moria 1.5Y NetBSD 1.5Y (XAVIER) #2: Thu Nov  8 11:32:33 CET 2001
root(_at_)moria:/usr/src/sys/arch/macppc/compile/XAVIER macppc
Taking options from command line and /var/fetchmail/.fetchmailrc
Idfile is /var/fetchmail/.fetchids
Fetchmail will forward misaddressed multidrop messages to 
postmaster(_at_)injep(_dot_)fr(_dot_)
Fetchmail will direct error mail to the postmaster.
Options for retrieving from HUMBERTX(_at_)private(_dot_)server:
  True name of server is private.server.
  Protocol is POP3.
  All available authentication methods will be tried.
  Server nonresponse timeout is 300 seconds (default).
  Default mailbox selected.
  Only new messages will be retrieved (--all off).
  Fetched messages will not be kept on the server (--keep off).
  Old messages will not be flushed before message retrieval (--flush off).
  Rewrite of server-local addresses is enabled (--norewrite off).
  Carriage-return stripping is disabled (stripcr off).
  Carriage-return forcing is disabled (forcecr off).
  Interpretation of Content-Transfer-Encoding is enabled (pass8bits off).
  MIME decoding is disabled (mimedecode off).
  Idle after poll is disabled (idle off).
  Nonempty Status lines will be kept (dropstatus off)
  Delivered-To lines will be kept (dropdelivered off)
  Messages will be SMTP-forwarded to: valinor.injep.fr
  Recognized listener spam block responses are: -1
  Single-drop mode: 1 local name(s) recognized.
  No UIDs saved from this host.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


-- 
Xavier HUMBERT  -  Systemes et Reseaux     |     labo-info(_at_)injep(_dot_)fr
INJEP                                      |     humbert(_at_)injep(_dot_)fr



<Prev in Thread] Current Thread [Next in Thread>
  • [fetchmail]fetchmail used as a forwarder does not bounce, Xavier HUMBERT <=