Archive for the 'DirectAdmin Support' Category

SBDavid

Showing hidden files through ftp

Showing hidden files through ftp

To show hidden files through ftp (files that start with a dot), edit your /etc/proftpd.conf.
In the section add the following code

ListOptions -a

Save, exit, then restart proftpd.

Get exim to listen on another port on top of port 25

For example, to get exim to listen on both port 25 and port 587, you’d add the following code to the very top of the /etc/exim.conf file:

daemon_smtp_ports = 25 : 587

To specify listening on ports 25 and 26 on all interfaces:

daemon_smtp_ports = 25 : 26

Once saved, restart exim:

How to prevent exim from including the original email in a bounce message

If you want to stop exim from including the orignal message in a bounced email, add this line to the top section of your /etc/exim.conf:

bounce_return_message = false

save, exit and restart exim. This doesn’t stop bounce emails, only the orignal message from being incuded as part of the message.

Force exim to send email from a particular IP

If you need to change the IP that is used to send email out of your system, you can do so by editing your /etc/exim.conf

Change:

remote_smtp:
driver = smtp

To the following below.

remote_smtp:
driver = smtp
interface = IP ADDRESS

Where IP ADDRESS is the IP you want exim to use.

Increase the max upload filesize in apache/php

You need to edit.

/usr/local/lib/php.ini

Search for

; Maximum allowed size for uploaded files.
upload_max_filesize = 2M

Change the 2M setting the new value you want, then restart apache.

  1. /etc/init.d/httpd restart

« Prev - Next »