Guenther Niess writes:
> On 02/26/15 16:47, Seth wrote:
> > On Thu, 26 Feb 2015 03:51:37 -0800, Guenther Niess <[email protected]>
> > wrote:
> > 
> >> Hi,
> >> I've problems with a password in the file /etc/mail/secrets containing
> >> the hash symbol '#'. The passwords gets truncated before the hash
> >> symbol, when I try to escape the hash symbol with a backslash \# the
> >> full password with the backslash is sent to the relay server.
> >> Is this a bug, or what section of the man page did I miss to escape
> >> special characters in db files?
> > 
> > Have you tried using single or double quotes around the password?
> 
> Yes, single and double quotes. The first quote mark will be used within
> the password and the password still gets truncated.
> 
> some more observations:
>  - on OpenBSD 5.6-stable a secrets file with:
>       username: passWith#works
>  - on OpenBSD 5.6-stable with a secrets file:
>       label username:passWith#dontWork
>  - on OpenBSD 5.7-current
>       label username:passWith#dontWork
>       username: passWith#dontWork

I reported this to bugs@ a while back, because I had hit the same issue.
# in secrets definitely worked on OpenBSD at some point in the past
(maybe before sendmail's makemap(8) was removed?).

-- 
Anthony J. Bentley

-- 
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]

Reply via email to