Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Mail Server
  • Search

how to edit exim.conf in VestaCP

Questions regarding the Mail Server
Dovecot, Exim, RoundCube
Post Reply
  • Print view
Advanced search
10 posts • Page 1 of 1
only4mohan
Posts: 7
Joined: Mon Aug 17, 2015 2:03 pm

how to edit exim.conf in VestaCP
  • Quote

Post by only4mohan » Mon Aug 17, 2015 2:15 pm

Hello,
Does anyone know how to edit exim.conf in vestaCP? I need to disable ipvp6 in exim. I have vestaCP with centos.

Please give me directions

Thank you
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: how to edit exim.conf in VestaCP
  • Quote

Post by skurudo » Mon Aug 17, 2015 2:34 pm

ssh console -> /etc/exim/exim.conf

Code: Select all

disable_ipv6 = true
Config and log locations on a RHEL and CentOS:
https://vestacp.com/docs/#config-log-lo ... hel-centos
Top

only4mohan
Posts: 7
Joined: Mon Aug 17, 2015 2:03 pm

Re: how to edit exim.conf in VestaCP
  • Quote

Post by only4mohan » Mon Aug 17, 2015 2:44 pm

When i try it in SSH, error coming saying

-bash: /etc/exim/exim.conf: Permission denied
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: how to edit exim.conf in VestaCP
  • Quote

Post by skurudo » Mon Aug 17, 2015 2:45 pm

only4mohan wrote:When i try it in SSH, error coming saying
-bash: /etc/exim/exim.conf: Permission denied
Use some editor nano or vi

Code: Select all

nano /etc/exim/exim.conf
or sudo nano (when you're not root)
Top

only4mohan
Posts: 7
Joined: Mon Aug 17, 2015 2:03 pm

Re: how to edit exim.conf in VestaCP
  • Quote

Post by only4mohan » Mon Aug 17, 2015 3:11 pm

its says,

-bash: nano: command not found
Top

only4mohan
Posts: 7
Joined: Mon Aug 17, 2015 2:03 pm

Re: how to edit exim.conf in VestaCP
  • Quote

Post by only4mohan » Mon Aug 17, 2015 3:15 pm

vi is working.

Can you tell me how to save the configuration after i done?
Top

only4mohan
Posts: 7
Joined: Mon Aug 17, 2015 2:03 pm

Re: how to edit exim.conf in VestaCP
  • Quote

Post by only4mohan » Mon Aug 17, 2015 3:52 pm

Thanks for the help. But could you help me with how to delete the swap file i have accidentaly created.

this one "/etc/exim/.exim.conf.swp"
Top

tjebbeke
Collaborator
Posts: 783
Joined: Mon May 11, 2015 8:43 am
Contact:
Contact tjebbeke
Website

Os: CentOS 6x
Web: apache + nginx
Re: how to edit exim.conf in VestaCP
  • Quote

Post by tjebbeke » Mon Aug 17, 2015 10:08 pm

I think it is better to first learn to work in linux for doing this. Simply removing it with rm.
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: how to edit exim.conf in VestaCP
  • Quote

Post by skurudo » Tue Aug 18, 2015 7:15 am

only4mohan wrote:its says,
-bash: nano: command not found

Code: Select all

yum install nano
It's a little simpler for work. (for my opinion)
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: how to edit exim.conf in VestaCP
  • Quote

Post by skurudo » Tue Aug 18, 2015 7:16 am

only4mohan wrote:vi is working.
Can you tell me how to save the configuration after i done?
ESC -> :wq
http://www.washington.edu/computing/unix/vi.html
Top


Post Reply
  • Print view

10 posts • Page 1 of 1

Return to “Mail Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password