Re: No dkim signature attached when using mutt
On Mon, Oct 31, 2022 at 12:54:52PM -0400, Jan Schaumann wrote: > Mayuresh wrote: > > So, in short, if I don't own the alias domain, I can't sign dkim? > > Correct - that is the point of DKIM. I have noticed some mail servers (of a bank in a recent incidence , seems Microsoft based from the log messages) that do not deliver the mail to the recipient and do not have the courtesy to bounce it back either. I simply have no way to interact with this domain over email if they are blocking me for dkim, as long as I am using aliased domain. And if this spreads, alias domain will be a thing of the past...? (I have been using my email alias for more than 20 years now. Replacing it will be a painful feeling!.) -- Mayuresh
Re: No dkim signature attached when using mutt
Mayuresh wrote: > So, in short, if I don't own the alias domain, I can't sign dkim? Correct - that is the point of DKIM. -Jan
Re: No dkim signature attached when using mutt
On Mon, Oct 31, 2022 at 09:50:40PM +0530, Mayuresh wrote: > I didn't realize I could set up those keys for alias domain as well. Now > added and dkim is getting attached. But, now just the key gets attached. It can't be validated because the alias domain is not owned by me, so can't create DNS record for it, right? So, in short, if I don't own the alias domain, I can't sign dkim? -- Mayuresh
Re: No dkim signature attached when using mutt
On Mon, Oct 31, 2022 at 11:53:51AM -0400, Jan Schaumann wrote: > That'd be an OpenDKIM configuration thing. Oh yes, thanks. I didn't realize I could set up those keys for alias domain as well. Now added and dkim is getting attached. -- Mayuresh
Re: No dkim signature attached when using mutt
Mayuresh wrote: > On Mon, Oct 31, 2022 at 05:53:10PM +0530, Mayuresh wrote: > > However if I use mutt or neomutt the headers don't contain dkim. > > It seems that "set from" to my email alias which is from a different > domain is the problem. If I use local domain then dkim gets inserted. > > Is there any way I can attach dkim signature when using a from address > from a different domain? That'd be an OpenDKIM configuration thing. Check your opendkim.conf and KeyTable. http://www.opendkim.org/opendkim.conf.5.html -Jan
Re: No dkim signature attached when using mutt
On Mon, Oct 31, 2022 at 05:53:10PM +0530, Mayuresh wrote: > However if I use mutt or neomutt the headers don't contain dkim. It seems that "set from" to my email alias which is from a different domain is the problem. If I use local domain then dkim gets inserted. Is there any way I can attach dkim signature when using a from address from a different domain? -- Mayuresh
Re: No dkim signature attached when using mutt
On Mon, Oct 31, 2022 at 10:10:10AM -0500, Jonathan A. Kollasch wrote: > Is mutt sending through the same path as your sendmail(1)? In /etc/mailer.conf I see the following (but I do not know whether this is what mail command uses, 'man mail' doesn't point to this file): sendmail/usr/libexec/postfix/sendmail By printing sendmail value in running mutt I see: sendmail="/usr/sbin/sendmail -oem -oi" However in mutt if I do this (and confirm that the value has reflected in running mutt), then also dkim is not attached to mails sent from mutt. set sendmail="/usr/libexec/postfix/sendmail -oem -oi" -- Mayuresh
Re: No dkim signature attached when using mutt
On Mon, Oct 31, 2022 at 05:53:10PM +0530, Mayuresh wrote: > If I send emails using command line 'mail' client I can see that dkim > header is getting attached. > > However if I use mutt or neomutt the headers don't contain dkim. mutt's sendmail variable defaults to the following, I checked it in mutt's index view: sendmail="/usr/sbin/sendmail -oem -oi" And /usr/sbin/sendmail soft links to the following on my system: /usr/sbin/mailwrapper -- Mayuresh
Re: No dkim signature attached when using mutt
On Mon, Oct 31, 2022 at 05:53:10PM +0530, Mayuresh wrote: > I have a NetBSD 9.2, postfix and opendkim based setup. > > If I send emails using command line 'mail' client I can see that dkim > header is getting attached. > > However if I use mutt or neomutt the headers don't contain dkim. > > Can someone advise about the mutt/neomutt setting to look for, for this > issue? > Is mutt sending through the same path as your sendmail(1)?
Re: No dkim signature attached when using mutt
On Mon, Oct 31, 2022 at 08:21:01PM +0530, Mayuresh wrote: > sendmail="/usr/sbin/sendmail -oem -oi" And if I try the same command on command line directly (with -t added) then dkim does get inserted. Really confusing why it doesn't happen when using mutt. -- Mayuresh