[prev in list] [next in list] [prev in thread] [next in thread] 

List:       getmail
Subject:    Re: Function of %(recipient) variable
From:       NiMhurchu <nimhurchu () web ! de>
Date:       2017-06-27 15:18:39
Message-ID: 0e755999-c91a-6d94-f385-c9ae2eaff4df () web ! de
[Download RAW message or body]



On 27.06.2017 15:25, Charles Cazabon wrote:
> NiMhurchu <nimhurchu@web.de> wrote:
>> How come the described-in-the-documentation %(recipient) variable is
>> being output literally instead of its content?
> Yes, it's because you weren't using a multidrop retriever class.  Without
> that, getmail cannot know who the recipient was.
>
>> I am testing (reinjection into postfix with) getmail like this:
> [...]
>>> [postfix-commandline]
>>> type = MDA_external
>>> #path = /usr/sbin/sendmail
>>> path = /usr/local/bin/testgetmail.sh
>>> arguments = ('-i', '-f', '%(sender)', '%(recipient)', )
> Don't do that!  *Never* reinject without setting the envelope sender address
> to a static address on the local machine, so that bounces and other NDNs do
> not escape back onto the 'net at large, causing "late bounces" and giving
> headaches to the postmasters of every domain that sends email to you.
>
> *Always* use `-f user@localdomain` if you absolutely have to reinject mail.
> This is why I always say that if you have to ask how to do reinjection, you
> don't know enough to do so safely -- you are absolutely in that situation
> here.
Absolutely, maybe, I am in that situation, however on a local, at-home,
behind-a-dynamic-IP, without-MX-record mailserver which is unable to
send out or back to the 'net so far. Anyway, gracias for the hint.
>
> Charles
>
Ni

---------------------------------------------------------------------
To unsubscribe, e-mail: getmail-unsubscribe@lists.pyropus.ca
For additional commands, e-mail: getmail-help@lists.pyropus.ca

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic