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 General Discussion
  • Search

block incoming SMTP, while only allowing outbound connection

General questions about VestaCP
Post Reply
  • Print view
Advanced search
15 posts
  • Previous
  • 1
  • 2
30874
Posts: 33
Joined: Tue Mar 03, 2015 1:22 am

Re: block incoming SMTP, while only allowing outbound connec
  • Quote

Post by 30874 » Fri Mar 20, 2015 7:13 am

30874 wrote:
skurudo wrote:
30874 wrote: How can I block incoming SMTP, while only allowing outbound connections.
SMTP for outcomming mail, IMAP/POP3 for incomming.
Check firewall and block.

Max, where mail not from your server?

Code: Select all

postqueue: warning: Mail system is down -- accessing queue directly mail queue is emply.
Do you really use exim or it's postfix??
mailq --help
Can you show output?

Result is


mailq: invalid option -- '-'
mailq: invalid option -- '-'
mailq: fatal: usage: mailq [options]


or

mailq -help
postqueue: warning: Mail system is down -- accessing queue directly
Mail queue is empty


Please suggestion.
Where is the firewall ? How to check it? Please help for this.

Best regards,
Narong.
Top

30874
Posts: 33
Joined: Tue Mar 03, 2015 1:22 am

Re: block incoming SMTP, while only allowing outbound connec
  • Quote

Post by 30874 » Fri Mar 20, 2015 8:04 am

skurudo wrote:It's possible. Check your exim - service exim stop - and then - service exim start
And change passwords for root and admin users
Dear Vestacp,

Detail as below. Still the same problem.

[root@30 etc]# service exim stop
Shutting down exim: [ OK ]
[root@30 etc]# service exim restart
Shutting down exim: [ OK ]
Starting exim: [ OK ]
[root@30 etc]# amilq
-bash: amilq: command not found
[root@308 etc]# mailq
postqueue: warning: Mail system is down -- accessing queue directly
Mail queue is empty
[root@30s etc]#

Best regards,
Top

30874
Posts: 33
Joined: Tue Mar 03, 2015 1:22 am

Re: block incoming SMTP, while only allowing outbound connec
  • Quote

Post by 30874 » Fri Mar 20, 2015 8:07 am

I don't have a firewall option .How to install for this.

http://image.ohozaa.com/view2/yejSmapnuKhv2PzX

Please help.
Best regards,
Top

30874
Posts: 33
Joined: Tue Mar 03, 2015 1:22 am

Re: block incoming SMTP, while only allowing outbound connec
  • Quote

Post by 30874 » Wed Mar 25, 2015 12:09 am

Help me please ..

Best regards,
Top

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

Re: block incoming SMTP, while only allowing outbound connec
  • Quote

Post by skurudo » Wed Mar 25, 2015 9:37 am

30874 wrote:Help me please ..
,
If you don't have firewall, you can you third-party software for this - like UFW
https://en.wikipedia.org/wiki/Uncomplicated_Firewall

Install and setup.
Top


Post Reply
  • Print view

15 posts
  • Previous
  • 1
  • 2

Return to “General Discussion”



  • 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