Re: No dkim signature attached when using mutt

2022-10-31 Thread Mayuresh
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

Re: No dkim signature attached when using mutt

2022-10-31 Thread Jan Schaumann
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

2022-10-31 Thread Mayuresh
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

Re: No dkim signature attached when using mutt

2022-10-31 Thread Mayuresh
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

2022-10-31 Thread Jan Schaumann
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. > >

Re: No dkim signature attached when using mutt

2022-10-31 Thread Mayuresh
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

Re: No dkim signature attached when using mutt

2022-10-31 Thread Mayuresh
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

Re: No dkim signature attached when using mutt

2022-10-31 Thread Mayuresh
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

Re: No dkim signature attached when using mutt

2022-10-31 Thread Jonathan A. Kollasch
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

Re: No dkim signature attached when using mutt

2022-10-31 Thread Mayuresh
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