Skip to content

Commit 7f4438a

Browse files
committed
auth/dovecot_sasl: Remove e.Path check altogether
Unix sockets have e.Path, TCP sockets don't.
1 parent b777664 commit 7f4438a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

internal/auth/dovecot_sasl/dovecot_sasl.go

-3
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,6 @@ func (a *Auth) Init(cfg *config.Map) error {
101101
if err != nil {
102102
return fmt.Errorf("%s: invalid server endpoint: %v", modName, err)
103103
}
104-
if endp.Path != "" {
105-
return fmt.Errorf("%s: unexpected path in endpoint ", modName)
106-
}
107104

108105
// Dial once to check usability and also to get list of mechanisms.
109106
conn, err := net.Dial(endp.Scheme, endp.Address())

0 commit comments

Comments
 (0)