SASL authentication failure

12 posts / 0 new
Last post
#1 Fri, 08/12/2016 - 13:19
Miker1029

SASL authentication failure

Wondering if anyone can help me with this, I have E-mails working great everywhere except from my forum, When I try to send mail the the forum I get this in the maillog:

Aug 12 11:15:24 ns1 postfix/smtpd[513]: connect from ns1.android-x86.net[116.93.120.121]
Aug 12 11:15:26 ns1 postfix/smtpd[513]: warning: ns1.android-x86.net[116.93.120.121]: SASL LOGIN authentication failed: authentication failure
Aug 12 11:15:26 ns1 postfix/smtpd[513]: lost connection after AUTH from ns1.android-x86.net[116.93.120.121]
Aug 12 11:15:26 ns1 postfix/smtpd[513]: disconnect from ns1.android-x86.net[116.93.120.121]

Here's a Snipit From Thunderbird E-mail, Not sure if it will help or not.

Aug 11 21:00:55 ns1 postfix/local[28815]: 969EC407F69B: to=<miker1029@ns1.android-x86.net>, orig_to=<miker1029@android-x86.net>, relay=local, delay=73, delays=0.35/0.01/0/73, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME)
Aug 11 21:00:55 ns1 postfix/qmgr[28271]: 969EC407F69B: removed
Aug 11 21:03:03 ns1 postfix/anvil[28812]: statistics: max connection rate 1/60s for (smtp:209.85.192.191) at Aug 11 20:59:41
Aug 11 21:03:03 ns1 postfix/anvil[28812]: statistics: max connection count 1 for (smtp:209.85.192.191) at Aug 11 20:59:41
Aug 11 21:03:03 ns1 postfix/anvil[28812]: statistics: max cache size 1 at Aug 11 20:59:41
Aug 11 21:12:54 ns1 postfix/pickup[23575]: CB91F407F6B0: uid=501 from=<miker1029>
Aug 11 21:12:54 ns1 postfix/cleanup[29784]: CB91F407F6B0: message-id=<20160812021254.CB91F407F6B0@ns1.android-x86.net>
Aug 11 21:12:54 ns1 postfix/qmgr[28271]: CB91F407F6B0: from=<miker1029@ns1.android-x86.net>, size=749, nrcpt=1 (queue active)
Aug 11 21:13:43 ns1 postfix/local[29786]: CB91F407F6B0: to=<miker1029@ns1.android-x86.net>, orig_to=<miker1029@android-x86.net>, relay=local, delay=49, delays=0.04/0.08/0/49, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME)
Aug 11 21:13:43 ns1 postfix/qmgr[28271]: CB91F407F6B0: removed

I tried changing settings that seemed relevant in postfix, One at a time, and tested... and nothing seemed to help..

I went to bootup & shutdown to check if "SASLAUTH" was running, and I had read that maybe it needed to be... It wasn't so I turned it on, and it stopped ALL mail, Client & PHP Mail, from working, so I turned it back off...

Also while SASLAUTH was on and I tried to send the E-mail my forum error log responded with:

Couldn't get mail server response code

When I turn SASL off again my forum error log response was this:

535 5.7.8 Error: authentication failed: authentication failure

What I'm Confused about, If SASL Isn't loaded, Why Is it trying to us it to Authorize the Mail from the Forum, and not from Thunderbird...

If I've read correctly if SASLAUTHD isn't loaded your going to get the rejection.... Is there somewhere that it's set to us SASL to check the Website.. It's on the same Computer (Network)...

At the moment I'm in a continues loop of searching for answers, and ending up on posts I've read already...And going to the outside world (Outside VirtualMin Forums) they all do Manual Edits, And I've messed it up enough in the past doing that...

I have SSL Cerificates in from "LetsEncrypt" and Copied to all, I have all Backups and crons running good, This is one of the last 3 things I need to try and get working VirtualMin wise....

any help with this would be greatly appreciated...

Fri, 08/12/2016 - 15:37
unborn
unborn's picture

authentication failed...what other possibly clearer message you need?

Configuring/troubleshooting Debian servers is always great fun

Fri, 08/12/2016 - 16:40
Miker1029

CentOs 7 Server, Minimal Install, On a VPS.

And what I need is to Know why, SASLAUTH is not loaded, and VirtualMin is set somewhere to check with it....

I've dug about as far as my limited knowledge into the error logs know...

If you can advise of other logs besides "maillog" I can look at that might give me a little more insight, I'd be happy to search it out on my own....

As far as it seems, it's a setting among the thousands in virtualmin that might be the issue.

But I've come from a Paid Host, and am trying to learn how to do this on my own. And think it has come out pretty good so far, with how much I messed up...

So instead of poking around in things I don't know, or doing the things I've read 1 at a time and reverting back if it doesn't work, I need some knowledge....

OK SO "authentication failed...what other possibly clearer message you need?"

Well, Lets start With, SASLAUTHD should be Loaded for SASL to Work.....

AND SASLAUTHD Loaded Breaks ALL Mails....

So It's either turn SASL on for ALL and Configure.... OR turn it off (wherever) for the Website....

OR Include it in an approved list "$my_destination", Which, As I understand, Is supposed to be done by Virtualmin Install, and setup of a Virtual Server....

I've Just installed VB 4.2.3 and IT HAS TSL settings, and It didn't work either... So some setting is Blocking the Website from going through...

Sat, 08/13/2016 - 10:51
unborn
unborn's picture

sorry I have no idea.. not running centos here.

Configuring/troubleshooting Debian servers is always great fun

Sat, 08/13/2016 - 12:27
Miker1029

Ok Thanks anyway...

They have answers for it all over the internet, But I REALLY don't want to tinker with configs manually, I've been at this 30 Some odd days now (1st time EVER Seeing Virtualmin OR a VPS) and I started "Tinkering" from the beginning, and ended up with nothing but problems, Even after Restoring Original Files, I've even put of updating PHP, as I did a DD of all the Required System files, SO, WHEN that failed (Upgrade to PHP 5.6) I went to restore the System Files, and Totally Botched the OS...

So I hope all can see WHY I'm really Hesitant on Messing with stuff....

Mostly my fault, 2 Weeks before my "host" payment was do, I did a free VPS trial, and I got everything up and Running, and I was like, OK, I got this! And jumped 1 Day before payment was do to a VPS, I should have worked on it for a couple months before "JUST going live"...

Live and Learn I Guess, Next year or so I'm going Dedicated, LOL

Sun, 08/14/2016 - 14:23 (Reply to #5)
unborn
unborn's picture

Hi, well small advice to save you money - im running my sites from home.. old laptop thats all you need and domains of course.

Perhaps you can hire folks from virtualmin to help you or other professionals who work with centos. or change distro if that one did not worked for you ;) everything is in documentation so it would be helpful perhaps if you do your reading it.

Configuring/troubleshooting Debian servers is always great fun

Sun, 08/14/2016 - 15:25
Miker1029

Yes, I've read the Docs, doesn't help me, I just get lost... as for hiring, I'm just running a Hobby forum, I just need the Basics to work... Show the Forum, and Mails... I'd like to upgrade the PHP and stuff but it's not a major issue right now...

And on the Distro, Ya that wouldn't be an Issue at all, Can you recommend a good stable version that works good with Virtualmin, Before I went for CentOS I was under the Impression that it was a good choice for Virtualmin, If this isn't the case, I'd be more then Happy to switch...

P.S. AND when I added V-Bulletin Yesterday, Somehow my Postfix config got broke, Checked in the "Check Config" , So Thunderbird asks for my password when I try to send mail, and wont except the right password, So I removed VB and fixed it 3x already, and it just keeps happening, works 1 second the next it don't.. Now it's a pipeline error...

Can't win... LOL

Sun, 08/14/2016 - 16:42 (Reply to #7)
unborn
unborn's picture

I can see from your reply that you looking for basic things - well this suggest me that you have no idea what you doing or you have very low level of 'those' ICT things, so I would strongly suggest to learn linux and networking first or hire some pro. Everyone have its own preference of distro so I would not say that one is good and other one is bad. I would say that here is no point to suggest you any distro - you can use google for those kind of things - I mean you should find the fine thing which would work for you and suits you best.

Configuring/troubleshooting Debian servers is always great fun

Sun, 08/14/2016 - 16:36
Miker1029

To be honest they are all pretty much the same to me, Maybe Commands here and there are different, And Where files are stored, but other then that they all seem pretty much the same to me, I was just figuring that maybe there was a distro that Virtualmin just "WORKS GREAT" with, But I'm sure some of my problems are How I'm setting things up, This would be my 3rd COMPLETE re-install (Os, Vmin, Forum), and I will say, The problems are less, and different... So Learning as I go. Just figured out (When I woke up this morning), that 1 Config can break another, so I guess, that's a really important thing to know...LOL

Appreciate your help with this, when I get good at "ALL THIS", I'll contribute back, I always try...

Sun, 08/14/2016 - 16:48 (Reply to #9)
unborn
unborn's picture

of course.. virtualmin works just great, if you know what you doing, thats why I suggest you to hire folks from virtualmin for pro support or someone here from forums. anyway google is great tool and everything else is in docs.. its just learning process. Good luck :)

Configuring/troubleshooting Debian servers is always great fun

Sun, 08/14/2016 - 16:58 (Reply to #10)
Miker1029

Ya I was just looking at buying the Pro Version for support.

But as I've mentioned, I'm coming from C-PANEL and a Host, To be as far as I am right now, IS AN ACCOMPLISHMENT, I thought the Idea of learning was TO ASK, I'm not getting answers here, I Like Vmin, But if I can find something THAT JUST WORKS, would be nice, When I have EVERYTHING running great, ADD a NEW V-Server, IT SHOULD NOT BREAK POSTFIX CONFIG!!! PERIOD!!! It's called a WHAT??? "CONTROL PANEL" means IT CONTROLS....

This us getting to be BS, I SHOULD NOT HAVE TO KNOW LINUX/UNIX, The Damn thing shouldn't break things that it's meant to CONTROL!!!!!!!

I'm done, I'll go somewhere else as this forum is obviously to force folks into paying money for SUPPORT, If the Damned thing WORKED, I'd pay. So you want me to pay for something that obviously doesn't....

Done.........

This is crap.

Mon, 08/15/2016 - 13:16
unborn
unborn's picture

cpanel is paid version - which was paid to be setup for you so of course you should not need knowledge of linux, here you are using open source (gpl) version which is free and you are on your own which means it is expected from you to setup everything on your own or if you cannot do it you can hire folks from virtualmin to help you - or other pros. I don't think 'ITS' breaking anything on your system and actually it does control things.. Lets be honest here: I think its clear that your problem is between your chair and keyboard.

'' I thought the Idea of learning was TO ASK '' - sure thing, google is there.. you do realize that dropping logs and please help or what to do, means like ict pro support right? At least no single link with your own suggestion or anything... just post it here and they will solve this for me.. actually - nope. You asked and correct answer was supplied to you - which you did not like.

As mentioned in other post, by another forum user to you here, you just came here, drop logs and you do expecting people to do stuff for you - without actually trying to even listen - learn first then do it aka measure twice and cut one time. I was bit more polite (as I am ICT and it is my pro deformation) with you then other user in other post and I did tried to suggest you what to do.. it would be much safer for you (and your users on your forums) to just pay for support from professionals as you do not know what are you doing. I do not run on centos so I wont and did not offer pro support to you personally - anyway, no one was forcing you to do anything, its just no one going to spoon feeding you or anyone else. I will repeat, google is great tool and anything else is in docs properly documented.

Have good day.

Configuring/troubleshooting Debian servers is always great fun

Topic locked