On 30/01/2021 18:53, Matus UHLAR - fantomas wrote:
>> Dnia 29.01.2021 o godz. 19:29:14 Matus UHLAR - fantomas pisze:
>>> yes, but OTOH I'm not sure if fetchmail or getmail support single
>>> mail for
>>> multiple recipients.
>
> On 29.01.21 22:24, Jaroslaw Rafa wrote:
>>> From fetchmail website:
>> "Fetchmail can be used as a POP/IMAP-to-SMTP gateway for an entire DNS
>> domain, collecting mail from a single drop box on an ISP and
>> SMTP-forwarding
>> it based on header addresses. (We don't really recommend this,
>> though, as it
>> may lose important envelope-header information. ETRN or a UUCP
>> connection is
>> better.)"
>
> from single drop box does not necessarily mean it supports mail to
> multiple
> recipients (To: and Cc: not counted because of above).
>
> it can parse X-Original-To: header but I'm not sure whether it can
> send mail
> to multiple recipients if there are multiple headers or mmultiple
> recipients. 

The mailbox my ISP provides me with has a number of aliases associated
with it. Fetchmail is able to establish which of these aliases an email
was sent to and is able to deliver it to different local mail accounts.

Here is an obfuscated extract from my fetchmailrc file:

user "mainaccountn...@isp.example.com" to "localaccount1"
      "ali...@isp.example.com"="localaccount1"
      "ali...@isp.example.com"="localaccount2"
      "ali...@isp.example.com"="localaccount1"
      "ali...@isp.example.com"="localaccount1"
      "ali...@isp.example.com"="localaccount3"
      "ali...@isp.example.com"="localaccount1"

HTH, Jan

Reply via email to