On Sun, Feb 03, 2013 at 10:19:02PM +0100, Frank Brodbeck wrote:
> Hi,
> 
> I upgraded yesterday to the latest snapshot and have a problem with my 
> smtpd.conf which I can't resolve:
> 
> /etc/mail/smtpd.conf:12: error: invalid url: smtps+auth://mail.split-brain.de
> 
> The corresponding line is:
> 
> # grep smtps+auth /etc/mail/smtpd.conf                                        
>                                                                               
>                                                                    
> accept for any relay via smtps+auth://mail.split-brain.de auth <secrets> as 
> f...@split-brain.de
> 
> smtpd.conf(5) didn't help me either. I guess I am missing something very 
> obvious here...

I had the same issue today after installing the snapshot from Feb 1. Looks 
like a "label" in the url is now required and used as lookup key in the 
secrets map.

# /etc/mail/smtpd.conf:
listen on lo0
table aliases db:/etc/mail/aliases.db
table secrets file:/etc/mail/secrets
accept for local alias <aliases> deliver to mbox
accept for any relay via smtps+auth://b...@typhoon.relo.ch auth \
  <secrets>

# /etc/mail/secrets
blue user:pass


I would prefere if just the host or a combination of user and host would
be used for password lookup and not a label.

Remi

Reply via email to