Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Sendmail and OpenDKIM
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
mario.zi...@gmail.com  
View profile  
 More options Oct 25 2012, 5:01 am
Newsgroups: comp.mail.sendmail
From: mario.zi...@gmail.com
Date: Thu, 25 Oct 2012 02:01:42 -0700 (PDT)
Local: Thurs, Oct 25 2012 5:01 am
Subject: Sendmail and OpenDKIM
Hello,

I have run into a problem described in section Sendmail REWRITING FEATURES on http://www.opendkim.org/README:

Due to the way the milter protocol is incorporated into the MTA, opendkim sees the headers before they are modified as required by those two features (MASQUERADE_AS and FEATURE(genericstable)).
This means the DKIM signature is generated based on the headers originally
injected by the mail client and not on the headers which are actually sent
out by the MTA. As a result, the verifying agent at the receiver's side
will be unable to verify the signature as the signed data and the received
data don't match.

The suggested solutions to this problem are:

(1) Send mail with the headers already written as needed, obviating the
    need for these features (or just turn them off).

(2) Have two MTAs set up, either on separate boxes or on the same box.
    The first MTA should do all of the rewriting (i.e. use these two
    features) and the second one should use opendkim to add the signature
    and do no rewriting at all.

(3) Have multiple DaemonPortOptions lines in your configuration file.  The
    first daemon port (port 25) does the header rewriting and then routes
    the message to the second port; the latter does no rewriting but does the
    signing and then sends the message on its way.

Since I'm not an expert in Sendmail I have configured it with help of online tutorials and used masquerade to remove host from email address (to get an address to look like user@domain instead of u...@host.domain). Due to same reason (not being an expert), I have problems understanding suggestions above.

Main question: What is the most elegant way to achieve host removal from email address without breaking OpenDKIM?

Best regards,
Mario


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rob  
View profile  
 More options Oct 25 2012, 7:20 am
Newsgroups: comp.mail.sendmail
From: Rob <nom...@example.com>
Date: 25 Oct 2012 11:20:39 GMT
Local: Thurs, Oct 25 2012 7:20 am
Subject: Re: Sendmail and OpenDKIM

I used this solution, but it nicely fits in our existing system.
There is one internal system that holds all the received mail and
makes it accessible to the users (IMAP), and the users have this
system as their default gateway.  This is where all the masquerading
takes place.
This system has a "smarthost" which it sends all mail to, and it is
the system in the DMZ where internet mail is queued and incoming mail
is scanned for spam and viruses.  On that system I implemented OpenDKIM.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
mario.zi...@gmail.com  
View profile  
 More options Oct 25 2012, 7:31 am
Newsgroups: comp.mail.sendmail
From: mario.zi...@gmail.com
Date: Thu, 25 Oct 2012 04:31:21 -0700 (PDT)
Local: Thurs, Oct 25 2012 7:31 am
Subject: Re: Sendmail and OpenDKIM
First of all, I'm so stupid!

As my colleague suggested, from field can be set by mail user agents to exclude host from email address.

I tried it and of course it works and I don't need masquerading nor genericstable.

Dana četvrtak, 25. listopada 2012. 11:01:42 UTC+2, korisnik mario...@gmail.com napisao je:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »