Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-22-2010, 08:56 AM
Junior Member
 
Posts: 9
Unhappy :( Postfix header_checks doesn't work

Hi all,
I recently finished the upgrade to the V6. Now here is the issue I have :
the header_checks.in does not work. After the reload of postfix, I see my new lines into the header_checks file :

Here is what I add :
Code:
/^Sender:.*/ IGNORE
/^Received: from localhost.*/ IGNORE
/^Received: from .+\..+\.webmail .+(by society\.com .+) / REPLACE Received: $1
/^Received:.*\[127\.0\.0\.1/ IGNORE
/^Return-Path:.*/ IGNORE
/^X-Originating-IP.*/ IGNORE
/^X-Mailer.*/ IGNORE
#/^X-Virus-Scanned:.*/ IGNORE
and well there is just one entry which works :

before :

Code:
Received: 	from webmail.society.com (webmail.society.com ) by mx.google.com with ESMTP
Received: 	from localhost (localhost.localdomain [127.0.0.1]) by webmail.society.com (Postfix) with ESMTP id 
Received: 	from webmail.society.com ([127.0.0.1]) by localhost (webmail.society.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PE8yvmtRoyYo; Mon, 22 Feb 2010 17:26:32 +0100 (CET)
Received: 	from webmail.society.com (localhost.localdomain [127.0.0.1]) by webmail.society.com (Postfix) with ESMTP id

After :

Code:
Received: 	from webmail.society.com (webmail.society.com ) by mx.google.com with ESMTP
Received: 	from localhost (localhost.localdomain [127.0.0.1]) by webmail.society.com (Postfix) with ESMTP id 
Received: 	from webmail.society.com ([127.0.0.1]) by localhost (webmail.popgom.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PE8yvmtRoyYo; Mon, 22 Feb 2010 17:26:32 +0100 (CET)
So just the last line is gone, I disabled through the gui the option which allows the header_cheks to work
Well plus the line "X-Originating-IP."
but I still see 'localhost', X-Virus-Scanned (I commented the line, but I didn't work, that's why

And the most-annoying thing, the
Code:
/^Sender:.*/ IGNORE
doesn't work, that means the "send on behalf of" is not disabled
I run accross hundred pages here, and I don't think I missed a step (enable headers_checks -> PCRE ok, so I wrote the rules -> reload of postfix)

thanks for your help,
Razique

Last edited by Razique; 02-22-2010 at 11:07 AM..
Reply With Quote
  #2 (permalink)  
Old 02-22-2010, 10:03 AM
Moderator
 
Posts: 7,928
Default

Welcome to the forums

Any error messages in /var/log/zimbra.log ? you could try a
Code:
su - zimbra
zmmtactl stop ; zmmtactl start
__________________
Reply With Quote
  #3 (permalink)  
Old 02-22-2010, 11:18 AM
Junior Member
 
Posts: 9
Default

Hi uxbod, thanks
Well everything runs smoothly in the logs
After the restart via zmmtactl, headers now don't show the person who send the email, that's a good point. But now I still see :
Code:
Received: 	from 127.0.0.1  (EHLO webmail.society.com) (94.23.194.148) by mta1068.mail.sp2.yahoo.com with SMTP; Mon, 22 Feb 2010 11:12:51 -0800
	Received: 	from localhost (localhost.localdomain [127.0.0.1]) by webmail.society.com (Postfix) with ESMTP id 9425511E4003 for <xxxxxxxxx@yahoo.fr>; Mon, 22 Feb 2010 20:12:02 +0100 (CET)
	Received: 	from webmail.society.com ([127.0.0.1]) by localhost (webmail.popgom.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ubDAAroQ7eBb; Mon, 22 Feb 2010 20:12:01 +0100 (CET)
and the "send on behalf of" it still enabled :/

any clue ?
thanks !
Reply With Quote
  #4 (permalink)  
Old 09-02-2010, 01:19 AM
Trained Alumni
 
Posts: 336
Default

hi.
did you ever solve this?

I edited conf/postfix_header_checs.in, added the "Sender" line, checked that conf/postfix_header_checs was correctly valued after mta restart, but yet when I send mail the Sender line is still present!
__________________
YetOpen S.r.l. ~ Your open source partner
Lecco (LC) - ITALY
http://www.yetopen.it
Reply With Quote
  #5 (permalink)  
Old 09-15-2011, 07:58 AM
Trained Alumni
 
Posts: 2
Default

Try this:

zmprov mcf zimbraMtaBlockedExtensionWarnRecipient FALSE (default: TRUE)

then restart mta:

zmmtactl restart
Reply With Quote
  #6 (permalink)  
Old 09-15-2011, 08:14 AM
Trained Alumni
 
Posts: 336
Default

Quote:
Originally Posted by fernando.cainelli View Post
zmprov mcf zimbraMtaBlockedExtensionWarnRecipient FALSE (default: TRUE)
indeed this is the fix, I found it as well some time ago
thanks for posting!
__________________
YetOpen S.r.l. ~ Your open source partner
Lecco (LC) - ITALY
http://www.yetopen.it
Reply With Quote
  #7 (permalink)  
Old 09-16-2011, 02:26 PM
Trained Alumni
 
Posts: 2
Default

I thought so.

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.