Gabriel Ambuehl wrote:
>
> Hello,
> I tryed to upgrade from 4.9 to 4.9.4 which caused one big problem and
> several related ones: Although I used exactly the same build options
> as with 4.9, SMTP after POP just won't work. Instead, clearopensmtp
> complains:
> tcprules: fatal: unable to move /home/vpopmail/etc/open-smtp.tmp.47058 to
>/etc/tcp.smtp.cdb:
> cross-device link
> If I go and delete /home/vpopmail/open-smtp.tmp* etc it stops
> throwing error messages at me but SMTP after POP still doesn't work.
> It get's even worse if I go and delete /home/vpopmail/open-smtp: then
> I end up with the same message as clearopensmtp in the emailclient,
> notabene without getting access to the POP box. What's wrong here?
>
> I use the following parameters to build vpopmail 4.9 which works:
> ./configure --enable-hardquota=6000000 --enable-passwd=n --enable-apop=y
>--enable-roaming-users=y --enable-logging=y --enable-relay-clear-minutes=30
>[EMAIL PROTECTED] -enable-tcpserver-file=/etc/tcp.smtp
> make
> make install-stripr
>
> BTW: I'm wondering why I can't see any error messages in syslog?
>
> Best regards,
> Gabriel
Move your /etc/tcp.* files to /home/vpopmail/etc
Then do a make distclean
then configure with your options
then make and make install-strip
then modify your tcpserver smtp line to use -x
/home/vpopmail/etc/tcp.smtp.cdb
instead of -x /etc/tcp.smtp.cdb
The error is because the mv system call can't move a file across file
system partitions. That is what it's complaining about.
vpopmail builds the tcp.smtp.tmp file in /home/vpopmail/etc for
ownership/permission reasons.
Ken