fetchmail-friends
[Top] [All Lists]

[Fetchmail] Suffix in addresses

2002-01-26 19:39:40
Hello,

Are the suffixes of addresses (andre+blabla(_at_)domain) handled by
fetchmail, and if so how?

For now I have the following problem: (using a multidrop), depending
on whether the enveloppe is set to user+blalba(_at_)mailserver(_dot_)domain or 
to
user+blabla(_at_)somethingelse(_dot_)domain, the local delivery is not the same.
[something can be empty, see logs below]

I think fetchmail checks if is there is a localuser with
name andre+blabla only when the domain part of the enveloppe is not 
set to mailserver.domain (in my case it is not called mailserver,
but reconized as an alias for it).  [Side note: Shouldn't it be always
the case?]

So the local user (destination) is andre+blabla in the first case, and
andre in the other ones, but I would like it to be andre+blabla all the
time.

In other words, I'm asking for the feature of reconizing suffixes for
email addresses (typically + or - signs), so if checking for user+blabla 
fails, but check on user is OK, then deliver to user+blabla
[this leaves open the case if the MTA is not configured to reconize
suffixes] 
or else not_check for local existence.

My .fetchmailrc
poll popsrv.cs.cornell.edu protocol POP3 user "andre" pass "xxxxxx" to * 
fetchall

Local delivery is done via Postfix (then procmail)
Remote MailServer: I don't know, but they do a strange staff of
rewriting addresses for erasing local machine names (only in from/to
headers maybe)


fetchmail: analyzing Received line:
Received: from sundown.cs.cornell.edu (sundown.cs.cornell.edu [128.84.96.20])
        by sundial.cs.cornell.edu (8.11.3/8.11.3/M-3.8) with ESMTP id 
g0R18i920319
        for <andre+1234(_at_)sundial(_dot_)cs(_dot_)cornell(_dot_)edu>; Sat, 26 
Jan 2002 20:08:44 -0500 (EST)
fetchmail: line accepted, sundial.cs.cornell.edu is an alias of the mailserver
fetchmail: found Received address 
`andre+1234(_at_)sundial(_dot_)cs(_dot_)cornell(_dot_)edu'

fetchmail: mapped andre+1234 to local andre+1234


fetchmail: analyzing Received line:
Received: from sundown.cs.cornell.edu (sundown.cs.cornell.edu [128.84.96.20])
        by sundial.cs.cornell.edu (8.11.3/8.11.3/M-3.8) with ESMTP id 
g0R19O920380
        for <andre+12345(_at_)sui(_dot_)cs(_dot_)cornell(_dot_)Edu>; Sat, 26 
Jan 2002 20:09:25 -0500 (EST)
fetchmail: line accepted, sundial.cs.cornell.edu is an alias of the mailserver
fetchmail: found Received address 
`andre+12345(_at_)sui(_dot_)cs(_dot_)cornell(_dot_)Edu'

fetchmail: no local matches, forwarding to andre


fetchmail: analyzing Received line:
Received: from manoul.cti.ecp.fr (manoul.cti.ecp.fr [138.195.33.28])
        by sundial.cs.cornell.edu (8.11.3/8.11.3/M-3.8) with ESMTP id 
g0R1UX923270
        for <andre+1234(_at_)cs(_dot_)cornell(_dot_)edu>; Sat, 26 Jan 2002 
20:30:34 -0500 (EST)
fetchmail: line accepted, sundial.cs.cornell.edu is an alias of the mailserver
fetchmail: found Received address `andre+1234(_at_)cs(_dot_)cornell(_dot_)edu'

fetchmail: no local matches, forwarding to andre


Fetchmail -V gives
This is fetchmail release 5.9.6+NTLM+SDPS+NLS
Linux khaffy.u.cs.cornell.edu 2.4.9 #1 Thu Oct 4 18:26:28 CDT 2001 i686 unknown
Taking options from command line and /home/andre/.fetchmailrc
Idfile is /home/andre/.fetchids
Fetchmail will forward misaddressed multidrop messages to andre.
Options for retrieving from andre(_at_)popsrv(_dot_)cs(_dot_)cornell(_dot_)edu:
  True name of server is popsrv.cs.cornell.edu.
  Protocol is POP3.
  All available authentication methods will be tried.
  Server nonresponse timeout is 300 seconds (default).
  Default mailbox selected.
  All messages will be retrieved (--all on).
  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: localhost (default)
  Recognized listener spam block responses are: 571 550 501 554
  Multi-drop mode: 1 local name(s) recognized.
  DNS lookup for multidrop addresses is enabled.
  Server aliases will be compared with multidrop addresses by name.
  Envelope header is assumed to be: Received
  No UIDs saved from this host.

-- 
André Allavena                     (local) 154 A Valentine Place   
École Centrale Paris (France)      Ithaca NY 14850 USA
Cornell University (NY)            (permanent) 879 Route de Beausoleil 
Grad Student in Computer Science   06320 La Turbie FRANCE



<Prev in Thread] Current Thread [Next in Thread>