Tomas Kuliavas <[EMAIL PROTECTED]> wrote:

> Hi,
>
> I got some error messages during configuring vacation plugin. The error
> messages are:
>
> 1.Warning: ftp_put(): Can't build data connection: Connection
> refused. in /usr/share/squirrelmail/plugins/vacation/vac_init.php on line
> 83
> An error occured uploading the file...
> 2.Warning: ftp_get: Can't build data connection: Connection refused.
> in /usr/share/squirrelmail/plugins/vacation/vac_init.php on line 94
> An error occured downloading the file.
>
> My current settings are:
> -SM 1.4.0-1
> -wu-ftpd 2.6.2-12
> -vacation plugin 1.41
>
> Any idea?

This vacation plugin requires ftp server running on the machine set in
plugins/vacation/config.php. You don't have ftp server running (netstat
-an | grep :21), firewall blocks connections to ftp server or ftp server
does not allows logins with username and password that are used when
connecting to squirrelmail and imap ('ftp localhost', enter user name and
password used when you log in sm).

If you don't allow email users to use terminal services (ssh,telnet) and
use some special shell set in /etc/passwd, put that shell in /etc/shells.
Ftp servers usually refuse logins of accounts that use shell not listed in
/etc/shells.

--
Tomas

 

Thanks. Actually, I got the error messages though FTP had been enabled. The above error messages not show again after added a line '-A ABCCHAIN-INPUT -i lo -j ACCEPT' on iptables.

However, I got some error messages again when I sent a test message for auto-reply.

The original message was received at Sun, 9 Nov 2003 23:38:19 +0800
from ABC.mydomain.com [127.0.0.1]

   ----- The following addresses had permanent fatal errors -----
"|/etc/smrsh/vacation keith"
    (reason: Service unavailable)
    (expanded from: <[EMAIL PROTECTED]>)

   ----- Transcript of session follows -----
smrsh: "vacation" not available for sendmail programs (not a file)
554 5.0.0 Service unavailable

Did the above error message said vacatin plugin doesnot support sendmail?

Thanks,

Keith

我不會唱歌、好心好報、出賣...
浪漫鈴聲 情心連繫
http://ringtone.yahoo.com.hk/

Reply via email to