Openbsd 5.7 and sendmail

2015-05-26 Thread Peter Fraser
I put OpenBSD 5.7 up, but because we make use of the SpamHaus I didn't want to 
move to smtpd.

It was easy enough to put sendmail in but I found I could not rebuild my 
/etc/mail/access.db

makemap did not like the "To:" prefix in the /etc/mail/access file.

being somewhat slow to took me a couple of days to realize that there are now 2 
makemap's

/usr/libexec/smtpd/makemap

and

/usr/local/libexec/sendmail/makemap

using the right one for sendmail fixed my problem.



Re: Openbsd 5.7 and sendmail

2015-05-26 Thread Antoine Jacoutot
On Tue, May 26, 2015 at 04:11:24PM +, Peter Fraser wrote:
> I put OpenBSD 5.7 up, but because we make use of the SpamHaus I didn't want 
> to move to smtpd.
> 
> It was easy enough to put sendmail in but I found I could not rebuild my 
> /etc/mail/access.db
> 
> makemap did not like the "To:" prefix in the /etc/mail/access file.
> 
> being somewhat slow to took me a couple of days to realize that there are now 
> 2 makemap's
> 
> /usr/libexec/smtpd/makemap
> 
> and
> 
> /usr/local/libexec/sendmail/makemap
> 
> using the right one for sendmail fixed my problem.

Yes, the pkg-readme already documents this 
(/usr/local/share/doc/pkg-readmes/sendmail-*):


Tweaking /etc/mailer.conf
-
Two scripts are provided along with this package.  Run sendmail-enable
to adjust your mailer.conf(5), and sendmail-disable to revert your
changes.

-- 
Antoine



Re: Openbsd 5.7 and sendmail

2015-05-26 Thread John Merriam
On Tue, 26 May 2015, Peter Fraser wrote:

> I put OpenBSD 5.7 up, but because we make use of the SpamHaus I didn't want 
> to move to smtpd.
> 
> It was easy enough to put sendmail in but I found I could not rebuild my 
> /etc/mail/access.db
> 
> makemap did not like the "To:" prefix in the /etc/mail/access file.
> 
> being somewhat slow to took me a couple of days to realize that there are now 
> 2 makemap's
> 
> /usr/libexec/smtpd/makemap
> 
> and
> 
> /usr/local/libexec/sendmail/makemap
> 
> using the right one for sendmail fixed my problem.
> 

You may need to edit your /etc/mailer.conf file.  See the mailer.conf(5) 
man page and /usr/local/share/doc/pkg-readmes/sendmail-*

-- 

John Merriam



Re: Openbsd 5.7 and sendmail

2015-05-27 Thread Peter Fraser
Thanks I managed to miss noting  that I should look at 
/usr/local/share/doc/pkg-readmes/sendmail-*

-Original Message-
From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On Behalf Of John 
Merriam
Sent: Tuesday, May 26, 2015 12:20 PM
To: Peter Fraser
Cc: 'misc@openbsd.org'
Subject: Re: Openbsd 5.7 and sendmail

On Tue, 26 May 2015, Peter Fraser wrote:

> I put OpenBSD 5.7 up, but because we make use of the SpamHaus I didn't want 
> to move to smtpd.
> 
> It was easy enough to put sendmail in but I found I could not rebuild 
> my /etc/mail/access.db
> 
> makemap did not like the "To:" prefix in the /etc/mail/access file.
> 
> being somewhat slow to took me a couple of days to realize that there 
> are now 2 makemap's
> 
> /usr/libexec/smtpd/makemap
> 
> and
> 
> /usr/local/libexec/sendmail/makemap
> 
> using the right one for sendmail fixed my problem.
> 

You may need to edit your /etc/mailer.conf file.  See the mailer.conf(5) man 
page and /usr/local/share/doc/pkg-readmes/sendmail-*

-- 

John Merriam