Plesk 12 FTP issue- FTP connecting but files not showing

A) We have to add a port on the Plesk server for passive FTP.

[[email protected] ~]#  cd /etc/proftpd.d/
[[email protected] proftpd.d]# cp -pvf 50-plesk.conf 50-plesk.conf_orig
[[email protected] proftpd.d]# vi 50-plesk.conf
Add the line below in the global section-

PassivePorts 57000 58000


B) Setup a custom firewall rule in the Plesk control panel.

Log in as "root" to the server shell over SSH.
Go to Modules > Firewall > Edit Firewall Configuration.
Click Add Custom Rule.

Specify the details below:

1. Rule name - Passive FTP
2. Direction: select Incoming.
3. Action: select Allow.
4. Ports: in the Add Port input box, enter the value 57000-58000. Leave the TCP option selected, and click Add.
5. Click OK.
6. Click Activate, and then click Activate again.

Manoj | Saturday 29 November 2014 - 11:37 am | | Default | One comment
Used tags: , , , , , , ,

How to discard all the emails for non-existing mailboxes (Qmail server)

1. Login onto the Qmail server.

2. Create a catchall mailbox like catchall@<domain>.com

3. Find out the domain directory with the command below-
[[email protected] ~]# ~vpopmail/bin/vdominfo <domain>.com

4. Edit the .qmail-default file as below:
[[email protected] ~]# vi /home/vpopmail/domains/<domain>.com/.qmail-default
===================================================================================
Replace the line-
| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox

With this line-
| /home/vpopmail/bin/vdelivermail '' delete
===================================================================================

5. Restart the qmail services
[[email protected] ~]# /etc/init.d/qmaild restart

Manoj | Wednesday 12 November 2014 - 7:34 pm | | Default | One comment

How to setup a catch-all account on the Qmail server

1. Login onto the Qmail server

2. Create a catchall mailbox like catchall@<domain>.com

3. Find out the domain directory with the command below-
[[email protected] ~]# ~vpopmail/bin/vdominfo <domain>.com

4. Edit the .qmail-default file as below:

[[email protected] ~]# vi /home/vpopmail/domains/<domain>.com/.qmail-default
===================================================================================
Replace the line-
| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox

With this line-
| /home/vpopmail/bin/vdelivermail '' /home/vpopmail/domains/<domain>.com/catchall
===================================================================================

5. Restart the qmail services
[[email protected] ~]# /etc/init.d/qmaild restart

Manoj | Thursday 06 November 2014 - 1:30 pm | | Default | 65 comments
Used tags: , , , ,