Modify mail server config and now having problem

kajlaajay

New member
Registered
Joined
Jul 2, 2016
Messages
6
Points
0
Hello Brothers/Sisters

Please help me out with this problem. I am new to linux and its commands i can only use a little vi editor. Sorry if this type of thread posted earlier but i need solution please.

Here is my problem - "SMTP Error (250): Authentication failed." in roundcube

I did some changes in my mail server like postfix and dovecot from some website steps to secure my emails but got only problems no solution. I modify many files in my centos 7 server to secure but nothing happen.

Few errors after using different website steps to use postfix and dovecot:-
1. SMTP Error (250): Authentication failed.
2. connection failed
3. nothing happen only processing in roundcube

Now i am not getting any mails and not able to send too.

To solve my problem i delete every line which i write for postfix and dovecot (i think i deleted but maybe few left which i dont remember or dont understand)

Please help because this is my production vps and i dont want to loose this server at all.

Other then mail server everything is working fine.
 

Attachments

Moebuntu

Well-known member
Registered
Joined
Jul 1, 2016
Messages
103
Points
18
i did some changes in my mail server like postfix and dovecot from some website steps to secure my emails but got only problems no solution. I modify many files in my centos 7 server to secure but nothing happen.

Few errors after using different website steps to use postfix and dovecot:-
1. SMTP Error (250): Authentication failed.
2. connection failed
3. nothing happen only processing in roundcube

From your errors, I can see them came from your changes on files, what codes have you added and what files did you change? we need to know in details so can help you out.

If no, you can need to reinstall postfix and dovecot on your VPS in the case the problem it not solved.
 

kajlaajay

New member
Registered
Joined
Jul 2, 2016
Messages
6
Points
0
Thanks for really fast response

I followed different sites steps now not even remember all but one last website name i remember i can send you links you can check what i modified if possible. All that i mentioned that i deleted the lines i added using those websites.

I followed these three pages to implement postfix and dovecot and i messed up my mail server before this implementation. After getting errors from different websites steps i lastly used this website and found no luck with this too.
 

Wesley

Member
Registered
Joined
Apr 28, 2016
Messages
22
Points
0
Wesley
You problem is easy to fix by a fresh installation for postfix and dovecot. Don't try to find what you have added to your mail config files
 

kajlaajay

New member
Registered
Joined
Jul 2, 2016
Messages
6
Points
0
Please can you send the complete commands for centos 7 for fresh installation postfix and dovecot
 

Wesley

Member
Registered
Joined
Apr 28, 2016
Messages
22
Points
0
Please can you send the complete commands for centos 7 for fresh installation postfix and dovecot
Frst off, you need to remove postfix and dovecot before reinstall them

# systemctl stop postfix
# yum remove dovecot-postfix
If you also want to delete your local/config files for dovecot-postfix then using this code

yum purge dovecot-postfix
Otherwise, you can do a fresh installation on a different server (new server) and compare config files between new server and old server ( which you are getting errors ) to know which ones you have added, from there, you can remove exacts things and restart your mail server for working.

Simply you overwrite files from new server to old server so you have got a fresh installation.
 

kajlaajay

New member
Registered
Joined
Jul 2, 2016
Messages
6
Points
0
Please send the fresh installation of postfix and dovecot commands because i dont have anyother server for fresh installation.

And what do you mean by "if you also want to delete" - is it necessary or not - if its necessary then i follow this command.

is there any other effect by removing postfix and dovecot.

PLease send the command for fresh installation of postfix and dovecot
 

Wesley

Member
Registered
Joined
Apr 28, 2016
Messages
22
Points
0
Please send the fresh installation of postfix and dovecot commands because i dont have anyother server for fresh installation.

And what do you mean by "if you also want to delete" - is it necessary or not - if its necessary then i follow this command.

is there any other effect by removing postfix and dovecot.

PLease send the command for fresh installation of postfix and dovecot
Installing dovecot

Code:
yum -y install dovecot
After installation you can open file dovecot.conf in /etc/dovecot/ and add the below line at the end of the file.

Code:
protocols = imap pop3
mail_location = maildir:~/mail
pop3_uidl_format = %08Xu%08Xv
Now start dovecot service
service dovecot start
Automatically start the dovecot at startup
Code:
chkconfig --level 235 dovecot on
Installing postfix

Code:
yum -y install postfix
Next, install SMTP AUTH packages
Code:
yum -y install cyrus-sasl cyrus-sasl-devel cyrus-sasl-gssapi cyrus-sasl-md5 cyrus-sasl-plain
Postfix package installation is completed .
 

kajlaajay

New member
Registered
Joined
Jul 2, 2016
Messages
6
Points
0
Thanks alot friend ill try now and let you know the result. As i am using sentora for my vps is there any other problem can occur ??? Is there anything related to sentora. Sentora have there own mail server setting ? hope you know this too friend
 

Wesley

Member
Registered
Joined
Apr 28, 2016
Messages
22
Points
0
Wesley
You are most welcome, you can try, they are short guides to install dovecot and postfix on Centos. If you want to find out more about how to config them after installed, just Google for more details.
 

kajlaajay

New member
Registered
Joined
Jul 2, 2016
Messages
6
Points
0
After doing these remove and install in my sentora panel status this is shown "SMTP (port 25 is closed)" and all other ports open

Mail sent error is remain same as before
 
Newer Threads
Replies
4
Views
2,722
Replies
3
Views
2,256
Replies
8
Views
5,467
Latest Threads
Replies
0
Views
24
Replies
1
Views
38
Replies
0
Views
227
Replies
1
Views
49

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top