Re: fun with smtpd, (two bugs)

2014-06-07 Thread Clint Pachl
Jason McIntyre wrote, On 05/15/14 13:54: the man page sates that: Both auth and auth-optional accept an optional table as a parameter. When provided, credentials are looked up in this table. but reading the new smtpd.conf(5) gives the impression that authtable is mandatory. I haven't

Re: fun with smtpd, (two bugs)

2014-06-07 Thread Jason McIntyre
On Sat, Jun 07, 2014 at 12:22:35AM -0700, Clint Pachl wrote: Jason McIntyre wrote, On 05/15/14 13:54: the man page sates that: Both auth and auth-optional accept an optional table as a parameter. When provided, credentials are looked up in this table. but reading the new

Re: fun with smtpd, (two bugs)

2014-06-07 Thread Clint Pachl
Jason McIntyre wrote, On 06/07/14 00:51: On Sat, Jun 07, 2014 at 12:22:35AM -0700, Clint Pachl wrote: Jason McIntyre wrote, On 05/15/14 13:54: the man page sates that: Both auth and auth-optional accept an optional table as a parameter. When provided, credentials are looked up in this

Re: fun with smtpd, (two bugs)

2014-05-16 Thread Creamy
On Thu, May 15, 2014 at 09:53:39PM +0059, Jason McIntyre wrote: On Thu, May 15, 2014 at 10:40:27PM +0200, Frank Brodbeck wrote: Hi Jason, On Wed, May 14, 2014 at 11:16:59PM +0059, Jason McIntyre wrote: it's still missing some . also i think we can wholly simplify the

Re: fun with smtpd, (two bugs)

2014-05-15 Thread Frank Brodbeck
Hi Jason, On Wed, May 14, 2014 at 11:16:59PM +0059, Jason McIntyre wrote: it's still missing some . also i think we can wholly simplify the auth/auth-optional line. Heh. Thought I found all, thanks for fixing the rest. -.Op Ic auth | auth-optional | auth Ar authtable | Ic auth-optional Ar

Re: fun with smtpd, (two bugs)

2014-05-14 Thread Frank Brodbeck
Hi, here's a new version for the manpage bug Creamy mentioned. Frank. Index: usr.sbin/smtpd/smtpd.conf.5 === RCS file: /cvs/src/usr.sbin/smtpd/smtpd.conf.5,v retrieving revision 1.117 diff -u -r1.117 smtpd.conf.5 ---

Re: fun with smtpd, (two bugs)

2014-05-14 Thread Jason McIntyre
On Wed, May 14, 2014 at 11:10:03PM +0200, Frank Brodbeck wrote: Hi, here's a new version for the manpage bug Creamy mentioned. Frank. it's still missing some . also i think we can wholly simplify the auth/auth-optional line. how's this? jmc Index: smtpd.conf.5

Re: fun with smtpd, (two bugs)

2014-05-11 Thread Creamy
On Sat, May 10, 2014 at 10:39:22PM +0200, Frank Brodbeck wrote: On Sat, May 10, 2014 at 07:03:14PM +0100, Creamy wrote: So the manual page is wrong, or at least misleading, because the syntax of the examples differs between from, sender, and for, so it's not clear whether the angle brackets

Re: fun with smtpd, (two bugs)

2014-05-11 Thread Frank Brodbeck
Shouldn't that be: +.Op Ic auth | auth-optional | auth Aq Ar authtable Aq | Ic auth-optional Ar authtable ??? Looks like it fixed itself incorrectly :-))) :-P But you're right, the fix was wrong, missed that one. But it doesn't work your way either. If I understand mdoc(7) correctly

Re: fun with smtpd, (two bugs)

2014-05-10 Thread Denis Fondras
Le 10/05/2014 17:54, Creamy a écrit : table creamy db:/etc/mail/creamy.db table secrets db:/etc/mail/secrets.db accept sender creamy for domain example.com relay via smtps+auth://foo...@smtp.creamylan.lan auth secrets Shouldn't it be : accept sender creamy for domain example.com ...

Re: fun with smtpd, (two bugs)

2014-05-10 Thread Creamy
On Sat, May 10, 2014 at 06:48:18PM +0200, Denis Fondras wrote: Le 10/05/2014 17:54, Creamy a ?crit : table creamy db:/etc/mail/creamy.db table secrets db:/etc/mail/secrets.db accept sender creamy for domain example.com relay via smtps+auth://foo...@smtp.creamylan.lan auth secrets

Re: fun with smtpd, (two bugs)

2014-05-10 Thread Frank Brodbeck
On Sat, May 10, 2014 at 07:03:14PM +0100, Creamy wrote: So the manual page is wrong, or at least misleading, because the syntax of the examples differs between from, sender, and for, so it's not clear whether the angle brackets are intended to be literally included, or whether they are just