Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 11th May 2012, 17:59
gdavid gdavid is offline
Junior Member
Join Date: Oct 2010
Posts: 19
Thanks: 0
Thanked 2 Times in 1 Post
Question Amavis headers Received: from localhost

Hi everybody. I'm facing with a small but annoying problem.
All incoming e-mails scanned by our amavis in ISPConfig3 server comes with extra headers similar to:

Received: from localhost (isp.mydomain.it [])
by isp.mydomain.it (Postfix) with ESMTP id 4D8849EA45C;
Fri, 11 May 2012 15:30:21 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at isp.mydomain.it
Received: from isp.mydomain.it ([])
by localhost (isp.mydomain.it []) (amavisd-new, port 10024)
with ESMTP id lfYFR3D03r86; Fri, 11 May 2012 15:30:21 +0200 (CEST)

Of course, these are added by amavis when it receive the email to scan and by postfix when the email re-enters after scanning. These actions are performed via localhost ( ports. Nothing strange.
The problem is that forwarding these e-mail to other mail servers, sometimes are classified as spam because of "localhost" in headers.
I've been googleing a lot to find a solutions, but most of teh strategies sorted no effect.
In details, adding
$allowed_added_header_fields{lc('Received: from localhost')} = 0;
to amavis configuration file (ie in /etc/amavis/conf.d/50-user)
seems to be ignored.
Also, adding
/^Received: from localhost/ IGNORE
to /etc/postfix/headers_check
seems to have any effect.

Can anyone point me in the right direction to avoid that headers?
Many thanks

Last edited by gdavid; 11th May 2012 at 18:02.
Reply With Quote
Sponsored Links


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
postfix problems with smtp linkdeb Server Operation 13 15th March 2014 18:58
strange fail2ban behaviour > doesn't ban specific IP Djamu Server Operation 2 13th January 2012 03:29
CPU load locks up box. Apache or MYSQL related. crypted General 61 29th October 2010 23:16
Question about Virtual Hosting With Proftpd And MySQL (Incl. Quota) On Debian Etch ikkem HOWTO-Related Questions 30 26th February 2008 20:38
Mail errors unknown address terryoleary1981 General 9 10th January 2008 17:51

All times are GMT +2. The time now is 10:46.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.