Re: [qmailtoaster] Re: qtp-backup won't work
Hello Eric, I've solved it by set a change directory before the problematic tar command. The suggested change will be tested tonight. I'm using CentOS 5 latest update (5.10). Qtp: qmailtoaster-plus-0.3.2-1.4.20 Thanks, Peter Oorspronkelijk bericht Van Eric Shubert e...@shubes.net Datum: 06-04-2014 02:49 (GMT+01:00) Aan qmailtoaster-list@qmailtoaster.com Onderwerp [qmailtoaster] Re: qtp-backup won't work On 04/05/2014 11:13 AM, Peter Peterse wrote: Hello list, on my qtp installation the backup doesn't work any more. I don't remember that I've change something in the script, so maybe it's an issue one of the yum update processes. I've trace the issue to the next command which is located in the script: tar -C $backupdest \ -czf $backupdest/$curlfile $DATENAME-* When I start the command on the console it result to an error: [root@mail ~]# tar -C /backup/qmailbkup -czf /backup/qmailbkup/201404052008-backup.tar.gz 201404052008-* tar: 201404052008-*: Cannot stat: No such file or directory tar: Error exit delayed from previous errors When I look in the directory /backup/qmailbkup I see the next files: 201404052008-assign.tar.bz2 201404052008-backup.tar.gz 201404052008-qmailadminpasswd.tar.bz2 201404052008-qmailcontrol.tar.bz2 201404052008-spamassassin-files.tar.bz2 201404052008-squirrelmail-plugins.tar.bz2 201404052008-squirrelmail-prefs.tar.bz2 201404052008-vpopmail.sql.gz The problem is that I don't see the difference with command which is also in the qtp-backup script: tar -C /var/lib/squirrelmail/prefs \ -cjf $backupdest/$SQMAILPREFS * I hope one of you can see the problem. Regards, Peter - My apologies for breaking this. I don't see the difference either to be honest. I thought this version had been run already, and perhaps it was with an older version where it worked. tar is a little squirrelly with the options. It doesn't appear to be picking up the -C option properly, for whatever reason. Please try this: # tar --create --gzip --file $backupdest/$curlfile \ --directory $backupdest $DATENAME-* and let us know if that works. P.S. Which versions are you running (OS and qtp)? -- -Eric 'shubes' - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
Re: [qmailtoaster] Re: qtp-backup won't work
Gekko Erik, Unfortunaly, the proposed command does not work. Regards, Peter Op 6 apr. 2014 om 08:13 heeft Peter Peterse pe...@peterse-uithuizen.com het volgende geschreven: Hello Eric, I've solved it by set a change directory before the problematic tar command. The suggested change will be tested tonight. I'm using CentOS 5 latest update (5.10). Qtp: qmailtoaster-plus-0.3.2-1.4.20 Thanks, Peter Oorspronkelijk bericht Van Eric Shubert e...@shubes.net Datum: 06-04-2014 02:49 (GMT+01:00) Aan qmailtoaster-list@qmailtoaster.com Onderwerp [qmailtoaster] Re: qtp-backup won't work On 04/05/2014 11:13 AM, Peter Peterse wrote: Hello list, on my qtp installation the backup doesn't work any more. I don't remember that I've change something in the script, so maybe it's an issue one of the yum update processes. I've trace the issue to the next command which is located in the script: tar -C $backupdest \ -czf $backupdest/$curlfile $DATENAME-* When I start the command on the console it result to an error: [root@mail ~]# tar -C /backup/qmailbkup -czf /backup/qmailbkup/201404052008-backup.tar.gz 201404052008-* tar: 201404052008-*: Cannot stat: No such file or directory tar: Error exit delayed from previous errors When I look in the directory /backup/qmailbkup I see the next files: 201404052008-assign.tar.bz2 201404052008-backup.tar.gz 201404052008-qmailadminpasswd.tar.bz2 201404052008-qmailcontrol.tar.bz2 201404052008-spamassassin-files.tar.bz2 201404052008-squirrelmail-plugins.tar.bz2 201404052008-squirrelmail-prefs.tar.bz2 201404052008-vpopmail.sql.gz The problem is that I don't see the difference with command which is also in the qtp-backup script: tar -C /var/lib/squirrelmail/prefs \ -cjf $backupdest/$SQMAILPREFS * I hope one of you can see the problem. Regards, Peter - My apologies for breaking this. I don't see the difference either to be honest. I thought this version had been run already, and perhaps it was with an older version where it worked. tar is a little squirrelly with the options. It doesn't appear to be picking up the -C option properly, for whatever reason. Please try this: # tar --create --gzip --file $backupdest/$curlfile \ --directory $backupdest $DATENAME-* and let us know if that works. P.S. Which versions are you running (OS and qtp)? -- -Eric 'shubes' - 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
[qmailtoaster] Apparent local delivery issue after enabling chkuser
Recently was handed keys to a qmail toaster installation (1.03-1.3.20, on Centos4) and got hammered by a backscatter spam attack. Digging around, I discovered the system had been installed without the Chkuser feature. I followed the procedures at http://wiki.qmailtoaster.com/index.php/Chkuser with no apparent issues. Today I find out that user email is bouncing (that is, it's accepted by the qmailtoaster, and then a second message is generated) with the error message Sorry, no mailbox here by that name. (#5.1.1) Note - Chkuser is functioning correctly - invalid email addresses are rejected during the SMTP transaction with (reason: 511 sorry, no mailbox here by that name (#5.1.1 - chkuser)) So, it looks like something in the local delivery mechanism is broken. Not that familiar with qmail, so I start looking for config files that control local delivery. /var/qmail/control/defaultdelivery seems like a good choice, since the rpm command apparently modified it to contain ./Maildir/ and we're trying to deliver to multiple domains in /var/vpopmail/domains. No sane looking value that I can think of to put in that file seems to work. None of the other .qmail files that exist seem to have been updated when I recompiled to enable Chkuser. Any suggestions appreciated. --Chris - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com