Re: Opensmtpd auth in 6.4

2019-01-14 Thread Flipchan
I got it working , thanks :) On January 14, 2019 1:45:22 PM GMT+01:00, Gilles Chehade wrote: >On Mon, Jan 14, 2019 at 01:42:19PM +0100, Flipchan wrote: >> I tried to echo it another way (echo -ne '\user\passwd' | base64 ) >> and then >> auth plain string >> and it works >> >> >> Now im

Re: Opensmtpd auth in 6.4

2019-01-14 Thread Edgar Pettijohn
Sorry for top post. Make sure your match rules start with the most specific and work your way down to the least specific. 'tag's are your friend. Also you will need to have a match auth ... rule as auth is no longer the same as local. Edgar On Jan 14, 2019 6:42 AM, Flipchan wrote: > > I

Re: Opensmtpd auth in 6.4

2019-01-14 Thread Gilles Chehade
On Mon, Jan 14, 2019 at 01:42:19PM +0100, Flipchan wrote: > I tried to echo it another way (echo -ne '\user\passwd' | base64 ) > and then > auth plain string > and it works > > > Now im getting new errrors :/ or i think i have misconfigured match, i cant > send to external addresses, log: >

Re: Opensmtpd auth in 6.4

2019-01-14 Thread Flipchan
I tried to echo it another way (echo -ne '\user\passwd' | base64 ) and then auth plain string and it works Now im getting new errrors :/ or i think i have misconfigured match, i cant send to external addresses, log: http://dpaste.com/2M8JMQC.txt On January 14, 2019 1:10:24 PM GMT+01:00,

Re: Opensmtpd auth in 6.4

2019-01-14 Thread Gilles Chehade
On Mon, Jan 14, 2019 at 01:03:19PM +0100, Flipchan wrote: > Seems like it adds "\^J" to the username , i base64 encode it using: > echo "user" | base64 > > Log from smtpd -dv -T smtp : > http://dpaste.com/0CAVJFF.txt > honestly, i'm confused by what you're doing can you setup a temporary

Re: Opensmtpd auth in 6.4

2019-01-14 Thread Flipchan
Seems like it adds "\^J" to the username , i base64 encode it using: echo "user" | base64 Log from smtpd -dv -T smtp : http://dpaste.com/0CAVJFF.txt On January 14, 2019 9:41:42 AM GMT+01:00, Gilles Chehade wrote: >On Sat, Jan 12, 2019 at 05:36:11PM +0100, Flipchan wrote: >> Hey, am tryin to

Re: Opensmtpd auth in 6.4

2019-01-14 Thread Gilles Chehade
On Sat, Jan 12, 2019 at 05:36:11PM +0100, Flipchan wrote: > Hey, am tryin to upgrade my opensmtpd > email server running on openbsd 6.3 towards a new one on 6.4, > i have used a simple config with the new syntax: > cat /etc/mail/smtpd.conf > > table aliases file:/etc/mail/aliases > > #table

Re: Opensmtpd auth in 6.4

2019-01-13 Thread Antonino Sidoti
Hi, Do you get any errors using ’doas smtpd -n’? Can you tried to add this ‘listen’ statement in your smtpd.conf - (This is how I have my setup) listen on egress mask-src port submission tls-require pki mail.example.com auth Another option is to try a different password. Now, test the login

Re: Opensmtpd auth in 6.4

2019-01-13 Thread Flipchan
I changed mask-src and tried some other stuff still without success when using openssl ehlo test and auth login , all i get is authentication failed , i have verified that the password is legit but no luck On January 12, 2019 11:37:42 PM GMT+01:00, Carlin Bingham wrote: >On Sat, Jan 12, 2019

Re: Opensmtpd auth in 6.4

2019-01-12 Thread Carlin Bingham
On Sat, Jan 12, 2019 at 05:36:11PM +0100, Flipchan wrote: > Hey, am tryin to upgrade my opensmtpd > email server running on openbsd 6.3 towards a new one on 6.4, > i have used a simple config with the new syntax: > cat /etc/mail/smtpd.conf > > table aliases file:/etc/mail/aliases > > #table

Re: Opensmtpd auth in 6.4

2019-01-12 Thread edgar
On Sat, Jan 12, 2019 at 05:36:11PM +0100, Flipchan wrote: > Hey, am tryin to upgrade my opensmtpd > email server running on openbsd 6.3 towards a new one on 6.4, > i have used a simple config with the new syntax: > cat /etc/mail/smtpd.conf > > table aliases file:/etc/mail/aliases > > #table