POP3 with Fetchmail scores each mail with RDNS_NONE(1.274)

Steffen Hildinger

New Member
Mar 6, 2019
7
0
1
46
When collecting mails via fetchmail, all mails are rated with a score of 1.274.
Message in Quarantine: Delivered to internal network by a host with no rDNS.

All IPs and domains can be resolved. 127.0.0.1 to localhost.

How to fix or disable rdns lookup in case of fetchmail?

Thanks in advance.

LOG:
Oct 21 12:12:43 mg01 fetchmail[499]: 5916 messages (5915 seen) for REMOVED@gmx.de at proxmox0000 (500230699 octets).
Oct 21 12:12:43 mg01 postfix/postscreen[16300]: CONNECT from [172.21.1.100]:42936 to [172.21.1.100]:25
Oct 21 12:12:43 mg01 postfix/postscreen[16300]: WHITELISTED [172.21.1.100]:42936
Oct 21 12:12:43 mg01 postfix/smtpd[16301]: connect from mg01.REMOVED.local[172.21.1.100]
Oct 21 12:12:43 mg01 postfix/smtpd[16301]: 134891C0C6B: client=mg01.REMOVED.local[172.21.1.100]
Oct 21 12:12:43 mg01 postfix/cleanup[16304]: 134891C0C6B: message-id=<1285456800.29521931.1571651369047@rnd-11.broadmail.live>
Oct 21 12:12:43 mg01 postfix/qmgr[296]: 134891C0C6B: from=<return@mailing.dhl.de>, size=49663, nrcpt=1 (queue active)
Oct 21 12:12:43 mg01 fetchmail[499]: reading message REMOVED@gmx.de@pop.gmx.net:5916 of 5916 (49292 octets) not flushed
Oct 21 12:12:43 mg01 postfix/smtpd[16301]: disconnect from mg01.REMOVED.local[172.21.1.100] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Oct 21 12:12:43 mg01 pmg-smtp-filter[14095]: 2019/10/21-12:12:43 CONNECT TCP Peer: "[127.0.0.1]:59736" Local: "[127.0.0.1]:10024"
Oct 21 12:12:43 mg01 pmg-smtp-filter[14095]: 1C0D4D5DAD849B30B5D: new mail message-id=<1285456800.29521931.1571651369047@rnd-11.broadmail.live>
Oct 21 12:12:43 mg01 clamd[461]: SelfCheck: Database status OK.
Oct 21 12:12:43 mg01 clamd[461]: SelfCheck: Database status OK.
Oct 21 12:12:46 mg01 pmg-smtp-filter[14095]: 1C0D4D5DAD849B30B5D: SA score=3/5 time=3.375 bayes=undefined autolearn=no autolearn_force=no hits=AWL(1.174),DKIMWL_WL_MED(-0.001),DKIM_SIGNED(0.1),DKIM_VALID(-0.1),DKIM_VALID_AU(-0.1),DKIM_VALID_EF(-0.1),HTML_IMAGE_RATIO_02(0.001),HTML_MESSAGE(0.001),HTML_TEXT_INVISIBLE_STYLE(1.747),KAM_SHORT(0.001),RCVD_IN_DNSWL_NONE(-0.0001),RDNS_NONE(1.274),SPF_HELO_PASS(-0.001),SPF_PASS(-0.001)
Oct 21 12:12:47 mg01 pmg-smtp-filter[14095]: 1C0D4D5DAD849B30B5D: moved mail for <REMOVED> to spam quarantine - 1C0D845DAD849EF39A0 (rule: Quarantine/Mark Spam (Level 3))
Oct 21 12:12:47 mg01 pmg-smtp-filter[14095]: 1C0D4D5DAD849B30B5D: processing time: 3.867 seconds (3.375, 0.242, 0)
Oct 21 12:12:47 mg01 postfix/lmtp[16305]: 134891C0C6B: to=<REMOVED>, relay=127.0.0.1[127.0.0.1]:10024, delay=4, delays=0.07/0.01/0.04/3.9, dsn=2.5.0, status=sent (250 2.5.0 OK (1C0D4D5DAD849B30B5D))
Oct 21 12:12:47 mg01 postfix/qmgr[296]: 134891C0C6B: removed
 
Could you try to enter an entry in '/etc/hosts' for 172.21.1.100?
 
Hello Steffen,
did you find a solution for this behaviour?
I have the same problem with a fetchmail setup and PMG 5.2-7.

Maybe it is possible with a template for the spamassassin config to set "score RDNS_NONE 0"?!
 
Copy /var/lib/pmg/templates/local.cf.in to /etc/pmg/templates/
Add score RDNS_NONE 0 to that file and sync config with # pmgconfig sync --restart 1

Works for me. Cheers.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!