Displaying 20 results from an estimated 20000 matches similar to: "bash off topic"
2019 May 17
0
bash off topic
So others have commented about the particulars of bash and shell quotes, etc.
I wanted to suggest you take a look at ShellCheck [1,2] and BATS [3].
I have been doing syntax, lint, and acceptance testing for Puppet code
for about a year...and love it... but I recently came across these and
have been working to apply the same principles to my shell script
projects. The sheer number of fringe bugs
2011 Oct 28
6
dsync should sync sieve-dirs to!
Having dsync to make backups from existing mail-spaces, it would be nice
to make dsync syncing the sieve-dirs too. -Otherweise backups aren't
complete...
Peer
--
Heinlein Professional Linux Support GmbH
Linux: Akademie - Support - Hosting
http://www.heinlein-support.de
Tel: 030 / 40 50 51 - 0
Fax: 030 / 40 50 51 - 19
Zwangsangaben lt. ?35a GmbHG:
HRB 93818 B / Amtsgericht
2015 Nov 28
2
How to delete "proxy" attribute in passdb lookup?
Hi,
I have a complicated SQL backend with stored procedures to generate
passdb/userdb queries. This result have the proxy-attribute set and it's
very complicated to change that procedures.
On one system I tried to override/delete the proxy attribute:
passdb {
driver = sql
args = /etc/dovecot/dovecot-sql.conf.ext
override_fields = proxy=n
}
Looks like that doesn't work.
2013 Oct 02
2
doveadm can't import his own mdboxes
We're running Dovecot 2.1.17 on Debian:
# 2.1.17 (9efbc0731929): /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-042stab078.27.debug i686 Debian 7.1 simfs
and we're having this namespace configuration:
mail_location = mdbox:/var/mail/%Ld/%Ln/mdbox
namespace inbox {
disabled = no
hidden = no
ignore_on_failure = no
inbox = yes
list = yes
location =
prefix =
separator = .
2011 Dec 22
2
crash on shared folders if remote user has empty $home
Hi,
in seldom cirumstances it's possible that the imap-process is crashing
without write something usefule into the logfile.
a) User foo exists, is happy and everything's alright
b) He had a shared folder given from bar
c) In our setup we have mailforwarding adresses without a valid $home in
LDAP
c) if user bar is changed from a user with into a mailforwarding adress,
the user foo
2011 Nov 08
2
Multiple Patitions with with mdbox
Having > 10 TByte mailstore filesystem-checks takes too much time.
At the moment we have four different partitions, but I don't like to set
symlinks or LDAP-flags to sort customers and their domains to there
individual mount-point. I'd like to work with mdbox:/mail/%d/%n to calculate
the path automatically.
How do you handle >> 10 TB mailstore?
I'm very interested in the
2016 May 24
2
New feature: HTTP API
Thanks for the new HTTP API.
I get the API with some commands up and running, but I'm still not able
to create folder.
curl -k -H "Content-Type: application/json" -H "Authorization: Basic
secret" -d
'[["mailboxCreate",{"user":"user at example.org","mailbox":["INBOX/TEST"]},c01]]'
2012 Apr 18
2
[PATCH libguestfs] maint: fix doc typos
Hi Rich,
I ran this command to spot a few typos:
git ls-files|misspellings -f -|grep -v '^po'
Here are fixes:
>From ec62fad96cc2884c8fd43ecb550a8bcac317cca0 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering at redhat.com>
Date: Wed, 18 Apr 2012 11:15:57 +0200
Subject: [PATCH libguestfs] maint: fix doc typos
Fix typos spotted by http://github.com/lyda/misspell-check.
*
2013 Feb 26
1
dsync can't sync mbox2mdbox two times
Hi,
I have a server with Dovecot 2.1.x and I'm trying to convert
mbox-storages to mdbox-storages.
# 2.1.7: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-5-amd64 x86_64 Debian 6.0.7
mail_location = mbox:~/mail
During the first run everything's okay, but if I run the migration a
second time, the later migration is broken:
root at mailstore1:/srv/vmail/cklein# rm -R mdbox/
root at
2016 Jan 21
4
segfaults with Dovecot 2.2.21
We're running Dovecot 2.2.21 from Stephan Bosch's build service on
Dovecot 7.x. Everything's up2date.
# 2.2.devel (7ab22fc): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.4.11 (71e908a)
# OS: Linux 3.16.0-0.bpo.4-amd64 x86_64 Debian 7.9
root at mailimap01:/etc/dovecot/conf.d # apt-show-versions | grep dovecot
debian-dovecot-auto-keyring/oldstable-auto uptodate 2010.01.30
2016 Jan 06
3
Mapping of INBOX.INBOX breaks imapc_list_prefix=INBOX?
We're running a huge imapc-Migration from an old Courier-IMAP to Dovecot.
Courier always uses "INBOX."-prefix for his folders, so we set
namespace inbox {
[...]
separator = .
prefix = INBOX.
[...]
}
on our new Dovecot 2.2.20 system.
And also we added:
imapc_list_prefix=INBOX
to avoid the dublication of the INBOX prefix.
At the end, doveadm/dsync/imapc see
2017 Feb 06
1
GCC 4.9 in CentOS 7 ??
On Sun, 5 Feb 2017, Gordon Messmer wrote:
> Yes. Use the software collections.
>
> https://www.softwarecollections.org/en/
>
> https://www.softwarecollections.org/en/scls/rhscl/devtoolset-4/
There are three ways to utilize SCLs: a temporary subshell invoked
with the scl utility, a session-long environment shift by sourcing the
package's 'enable' script, or a
2017 Feb 06
3
GCC 4.9 in CentOS 7 ??
The following features of the C++11/C++14 standards are not supported by
g++:
* std::make_unique function (C++14)
* digit separators (C++14)
* binary literals (C++14)
* generic lambdas (C++14)
If you are using the GNU C compiler collection (gcc) then you need
at least v4.9.x.
configure: error: support for required C++11/C++14 features incomplete
Is there by chance a compat package
2007 Jul 10
18
Recursive permissions
Does anyone know if it''s possible to do the following:
Given the directory structure:
/foo/bar
/foo/bar/<bunch of stuff>
Is it possible to set /foo/bar to, say 555, and all stuff below to 440
or the directory equivalent?
Thanks,
Trevor
2011 Nov 08
9
Performance-Tuning
Hi,
I have > 11 TB hard used Mailstorage, saved als maildir in ext3 on HP EVA.
I always wanted to make some mesurements about several influences to the
performance (switch to ext4, switch to mdbox), but I never had enough time
to do that.
At the moment I *need* more speed, we have too much waitI/O on the system
and I already used all other performance and tuning-tricks (separated cache,
2007 Aug 14
8
sh DTrace provider available
As noted on my blog and at
http://www.opensolaris.org/os/community/dtrace/shells/ I''ve made
available a DTrace provider for the Bourne shell. Before anyone starts
yelling at me for not starting with another shell, read the blog I made
explaining why we started with shell (link on the community page
referenced above).
For /bin/sh, I''ve put up something akin to a chapter in
2012 Aug 15
5
stupid bash question
the relevant snippet is...
NAME="*.mov"
cd $IN
if test -n "$(find . -maxdepth 1 -name $NAME -print -quit)"
and if there is one file in this directory - ie test.mov, this works fine
but if there are two (or more) files in this directory - test.mov, test2.mov
then I get an error...
find: paths must precede expression
So my code is evidently wrong. I just want a test for 1 or
2015 Apr 16
2
mailbox deletion is not replicated correctly
i can't delete several folders at once. I have a folder structure like
folder1/folder2/folder3 (we use slash as hierarchy separator). When i
delete folder1 server1 executes the command correctly
Apr 16 13:44:28 server1 dovecot: imap(d.kuhn at heinlein-support.de):
Mailbox deleted: INBOX/Trash/folder1/folder2/folder3
Apr 16 13:44:28 server1 dovecot: imap(d.kuhn at heinlein-support.de):
2015 Apr 20
4
doveadm-server hangs with 100% cpu usage
we have some replication issues. From time to time a doveadm-server
process takes 100% cpu in the state recv_mailbox_tree_deletes on the
replica. The process runs forever until it is manually killed. Strace on
this process doesn't show anything.
Sometimes we have several doveadm-server processes in this state, all
for the same account, all with 100% CPU Load.
The logfile on the master says:
2016 Jan 22
2
segfaults with Dovecot 2.2.21
> On 22 Jan 2016, at 15:07, Peer Heinlein <p.heinlein at heinlein-support.de> wrote:
>
> Am 22.01.2016 um 12:46 schrieb Timo Sirainen:
>
>
>> I think this was fixed by https://github.com/dovecot/core/commit/f136b0050b3125b466af73984177250b7ed1a3be
>
> But our installed release ~2.2.21-1~auto+66 has been build on January,
> 21th 13:58... So it should be