On 08/13/2012 02:38 PM, Cecil Yother, Jr. wrote:

On 08/13/2012 08:26 AM, Eric Shubert wrote:
On 08/13/2012 08:07 AM, Maxwell Smart wrote:

On 08/13/2012 07:56 AM, Eric Shubert wrote:
On 08/12/2012 08:56 PM, Cecil Yother, Jr. wrote:


On 8/12/12 8:29 PM, Eric Shubert wrote:
On 08/12/2012 08:05 PM, Maxwell Smart wrote:

On 08/12/2012 02:46 PM, Eric Shubert wrote:
On 08/12/2012 02:20 PM, Maxwell Smart wrote:
Can I use a non standard ftp for qtp-backup?


CJ

---------------------------------------------------------------------



Define "a non standard ftp".

My bad, non standard port.  3121

--

FTP uses 2 ports.

OK, but doesn't port 20 accept transfers after your initial
connection?
and not otherwise?

---------------------------------------------------------------------

That depends on the arrangement the server makes with the client,
which depends (IIRC) on whether active or passive mode is used.

I am using passive ports
Are you having difficulty getting FTP to work? Why do I get the
feeling that this has more to do with FTP than the subject line? ;)
No it's working, but it actually didn't send the backup by ftp last
night.  Not sure I setup the correct config file.  It appears both are
the same, but not sure how it works.

qtp-backup uses the curl command for transferring the backup to an ftp
server:
# tail $(which qtp-backup)
Of course it sets those $variables all up before invoking the command.
You might want to echo the values of the command before the command is
invoked, so you can see their values. Or you could "set -x" in the
qtp-backup script in order to step through what it does, or run it
with "bash -n" to see what it does without actually running it.

I set all the variables
Does curl work outside of qtp-backup?

It's installed,  but haven't tested functionality.

curl 7.15.5 (i686-redhat-linux-gnu) libcurl/7.15.5 OpenSSL/0.9.8b
zlib/1.2.3 libidn/0.6.5
Protocols: tftp ftp telnet dict ldap http file https ftps
Features: GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz

---------------------------------------------------------------------

Please test curl using a suitable command.

I expect that there's likely a firewall issue somewhere.

Are both hosts (ftp client and ftp server) on public addresses, or is
there NAT going on on either end?

Do you have control of the FTP server? If so, which software is being
used?

Here's a nice explanation which I expect will be helpful:
http://slacksite.com/other/ftp.html

OK, I ran the backup and successfully transferred the files to the second server. I ran qtp-restore and everything appears to have run correctly, but I cannot see any of the accounts. The mail is in the correct vpopmail folder and the mysql database has been created with all the accounts, but if I try to access any of the accounts via webmin or admin-toaster there is nothing there. The list appears in admin-toaster, but when I click on the domain to view it's users it says "Domain has no postmaster!!" and if I click on show users it says "Domain example.com does not exist"

Qmailctl stat shows

# qmailctl stat
authlib: up (pid 17613) 640 seconds
clamd: up (pid 17616) 640 seconds
imap4: up (pid 17618) 640 seconds
imap4-ssl: up (pid 17619) 640 seconds
pop3: up (pid 17603) 640 seconds
pop3-ssl: up (pid 17608) 640 seconds
send: up (pid 17607) 640 seconds
smtp: up (pid 17611) 640 seconds
spamd: up (pid 17604) 640 seconds
submission: up (pid 17612) 640 seconds
authlib/log: up (pid 17617) 640 seconds
clamd/log: up (pid 17620) 640 seconds
imap4/log: up (pid 17605) 640 seconds
imap4-ssl/log: up (pid 17606) 640 seconds
pop3/log: up (pid 17602) 640 seconds
pop3-ssl/log: up (pid 17621) 640 seconds
send/log: up (pid 17610) 640 seconds
smtp/log: up (pid 17614) 640 seconds
spamd/log: up (pid 17609) 640 seconds
submission/log: up (pid 17615) 640 seconds

If I try to send a test email through logwatch.pl for instance I get "Can't execute sendmail -t: No such file or directory"

Any ideas?

I got it sorted. Thanks for all the suggestions. I had the incorrect mysql vpopmail password.
---------------------------------------------------------------------
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



---------------------------------------------------------------------
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com

Reply via email to