Re: [exim] Discard spam

Top Page
Delete this message
Reply to this message
Author: Александр Кириллов
Date:  
CC: exim-users
Subject: Re: [exim] Discard spam
Final cut:

$ cat ~XXXXX/.fetchmailrc

set postmaster XXXXX@localhost

set no bouncemail
set no spambounce

...

The issue is closed.
Thanks everybody.


2017-11-12 14:39 GMT+03:00 Александр Кириллов <nevis2us@???>:

> Seems like I rejoiced too early. I didn't get any bounces because of the
> following error:
>
> 2017-11-12 05:55:02 unqualified recipient rejected: <XXXXX>
> H=(xxxxx.xxxxxxxxx.xxxx) [127.0.0.1] (127.0.0.1 does not match any IP
> address for localhost)
>
> where XXXXX is a local user name which owns .fetchmailrc. So the part of
> fetchmail configuration which actually worked was
>
> set no bouncemail
>
> which directs error mails to the unqualified username of the user running
> fetchmail.
>
> And now the question is why exim can't deliver mail to an unqualified
> local username. See rather cryptic
>
> 127.0.0.1 does not match any IP address for localhost
>
> above. I've found several VERY old threads on the subject but no real
> solution. The host is IPv6-aware.
>
> # host localhost
> localhost has address 127.0.0.1
> localhost has IPv6 address ::1
>
> # host 127.0.0.1
> 1.0.0.127.in-addr.arpa domain name pointer localhost.
>
>
> 2017-11-12 11:56 GMT+03:00 Александр Кириллов <nevis2us@???>:
>
>> xxxxx.xxxxxxxxx.xxxx is a LAN hostname. [127.0.0.1] is locally running
>> fetchmail so I can't reject messages from this address. I've added
>>
>> set no bouncemail
>> set no spambounce
>>
>> to .fetchmailrc and this seems to be helping though I thought "no
>> spambounce" is the default.
>>
>>
>> 2017-11-12 9:07 GMT+03:00 Jasen Betts <jasen@???>:
>>
>>> On 2017-11-11, Always Learning <exim@???> wrote:
>>> >
>>> > On Fri, 2017-11-10 at 18:38 +0300, Александр Кириллов via Exim-users
>>> > wrote:
>>> >
>>> >> 2017-11-09 23:15:02 1eCtE6-0002Q1-6H H=(xxxxx.xxxxxxxxx.xxxx)
>>> [127.0.0.1]
>>> >
>>> > If the HELO/EHLO = 127.0.0.1 then you should immediately reject the
>>> > message. No point in further processing of any description.
>>>
>>> looks more like helo was xxxxx, and the connection was from localhost.
>>>
>>> xxxxx was probaby a lie, 127.0.0.1 may be untrue also.
>>>
>>>
>>> --
>>> This email has not been checked by half-arsed antivirus software
>>>
>>> --
>>> ## List details at https://lists.exim.org/mailman/listinfo/exim-users
>>> ## Exim details at http://www.exim.org/
>>> ## Please use the Wiki with this list - http://wiki.exim.org/
>>>
>>
>>
>