NEXTftpのサーバー側のファイル一覧に隠しファイル(.から始まるファイル)が表示されない時の対処


ホストの設定
 |
高度な設定
 |
ファイルリスト
 |
取得コマンドに「LIST -laL」を選択


再接続すると見れるようになる(場合がある)

もし見れない場合は、取得コマンドを「NLST -laL」に変更する等してみる。
1.vhost.confを作成
/var/www/vhosts/system/(ドメイン名)/conf/vhost.conf を作成し、下記を記述

DocumentRoot /var/www/vhosts/(ドメイン名)/(ドキュメントルートにするパス)/

2.下記のコマンドを実行
/usr/local/psa/admin/sbin/websrvmng --reconfigure-vhost --vhost-name=(ドメイン名)
Hi. This is the qmail-send program at server.xxxxx.xxx.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<xxxxxxxxxx@gmail.com>:
99.99.99.999 failed after I sent the message.
Remote host said: 550-5.7.1 [999.999.999.99 1] Our system has detected an unusual rate of
550-5.7.1 unsolicited mail originating from your IP address. To protect our
550-5.7.1 users from spam, mail sent from your IP address has been blocked.
550-5.7.1 Please visit http://www.google.com/mail/help/bulk_mail.html to review
550 5.7.1 our Bulk Email Senders Guidelines. l8si2607036pao.36 - gsmtp

--- Below this line is a copy of the message.

メール本文・・



ドメイン毎にSPFの設定を行う。

v=spf1 include:_spf.google.com ~all

参考サイト:
https://support.google.com/a/answer/178723?hl=ja&ref_topic=2759192
https://support.google.com/a/answer/33786?hl=ja
http://milksizegene.blog.fc2.com/blog-entry-7.html
※ファイル名が文字化けして、rmコマンドで削除できない場合など。
該当ファイルの中身を確認せずに削除する場合
# ls -li (inode番号+αを表示)
# find . -inum inode番号 -exec rm -f {} \; (該当inode番号のファイルを削除)
該当ファイルの中身を確認したい場合
# ls -li (inode番号+αを表示)
# find . -inum inode番号 -ok mv '{}' 新しいファイル名 \; (該当inode番号のファイル名を変更)
これで削除or再利用も可能なはず。