Displaying 20 results from an estimated 1000 matches similar to: "How to maintain a persistent SSH connection?"
2014 Dec 22
9
Dealing with roaming machines
Hey folks,
As most of everyone, I use OpenSSH for almost everything and
whenever I can: backups, sync, Git, configuration management, and of
course console sessions. So much for an intro ;)
My laptop and I roam between three networks, though sometimes
I leave the laptop at the office overnight, or hop over to the third
site for an hour or two.
I'd like to find a way to configure OpenSSH (or
2014 Dec 23
2
Dealing with roaming machines
also sprach Nico Kadel-Garcia <nkadel at gmail.com> [2014-12-23 07:50 +0100]:
> If it's not "in the local network", then it shouldn't get the
> subdomain of the internal network, and you've got a DNS "views" or
> DHCP configuration issue.
While the machine is not at the office, other machines can resolve
fishbowl.office to a valid IP? that's the
2014 Dec 22
2
Dealing with roaming machines
also sprach Nico Kadel-Garcia <nkadel at gmail.com> [2014-12-22 14:43 +0100]:
> The problem, I think, isn't that you have an entry in all three. It's
> that you have a *shortened* hostname that is identical in all 3 DNS
> domains. If your DNS admins have gracefully set the local environments
> to each be on their own subdomain, and that subdomain is *first* in
> DHCP
2015 Nov 17
2
Disabling auth fallback to PAM
Hi folks,
According to the wiki,? it's considered a feature of Dovecot and its
ability to support multiple authentication sources that "if the
password doesn't match in the first database, it checks the next
one".
?) http://wiki.dovecot.org/Authentication/MultipleDatabases
I think it's great that Dovecot allows auth sources to be stacked
like this, but I am not sold on the
2014 Dec 23
3
Dealing with roaming machines
That's a good point. DHCP allows you to set DNS search parameters. So as
long as each location sets different search, "ssh fishbowl" will in fact
resolve to the proper local FQDN.
On Monday, December 22, 2014, Nico Kadel-Garcia <nkadel at gmail.com> wrote:
> On Mon, Dec 22, 2014 at 4:26 AM, martin f krafft <madduck at madduck.net
> <javascript:;>> wrote:
2015 May 16
2
Asterisk "virtual hosting"
Hello,
I am in the peculiar situation to have to set up a PBX for two
independent sites, but operated by the same entity. Yes, I could set
up two VPSs and install Asterisk to each, put common stuff (e.g.
conferencing setup) into Git and share between both using includes,
but for various reasons (among them simplicity and cost), I'd prefer
a single Asterisk instance.
I know I can #include
2015 May 17
2
Asterisk "virtual hosting"
also sprach Steve Edwards <asterisk.org at sedwards.com> [2015-05-16 23:22 +0200]:
> I use a preprocessor
> (http://software.hixie.ch/utilities/unix/preprocessor/) to tailor
> dialplans and configuration files to each host based on the client
> (or project) and the hostname.
Yeah sure, templating works, but it introduces a layer of complexity
that can make debugging hard(er).
I
2011 Jun 13
2
Timeout during APPEND
Dear list,
I am running dovecot 1.2.15 on a Debian server.
One user reports continuous problems synchronising her mailbox via
IMAP (offlineimap, via SSH tunnel or SSL socket). It seems that she
has a large, locally-created message, but the uplink bandwidth seems
to be not enough to push it before dovecot times out the APPEND
command.
The error/exception happens inside offlineimap's Python
2013 Dec 27
2
Sieve's spamtest always returns 0
I am a bit at a loss here with Sieve (pigeonhole) and the spamtest
extension. I am using Dovecot 2.1.7 (backported to Debian squeeze),
which comes with Pigeonhole 0.3.0.
Messages are scanned with SpamAssassin, which adds a header like
X-Spam-Status: Yes, score=84.6 required=5.0 tests=?
and so I configured spamtest in conf.d/90-plugin.conf like so:
sieve_spamtest_status_type = score
2014 Jul 28
1
Internal calls without voice transport
Hey,
we're experiencing a weird problem with Asterisk 1.8.13.1
(1:1.8.13.1~dfsg1-3+deb7). Calls that leave and enter Asterisk via
a PBX (sipgate.de) work perfectly fine, almost 100% of the time.
However, calls that are routed to sipgate.de, which then routes the
call back to our Asterisk instance are "silent" most of the time.
What I mean with that is that even though RTP traffic
2014 Feb 10
1
Looking for HowTo Postifx, Dovecot and PostgreSQL
Hi folks,
I know it's a bit a n00bish question, but I'm a little confused about
this many different ways on setting up dovecot with postfix and using a
PostgreSQL backend for virtual hosts. I've found this one quiet helpful:
http://wiki2.dovecot.org/HowTo/DovecotPostgresql
even it seems to be little outdated for recent versions of dovecot (the
auth part of dovecot.conf). Also its
2007 Aug 13
3
imap memory footprint rather large
Dear list,
I am experimenting with a new mail handling setup and it involves
a single IMAP folder with just under 70'000 messages. When
OfflineIMAP connects to the server, the imap process starts to eat
up a lot of memory:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
15607 madduck 35 19 283m 244m 239m D 16.9 49.3 0:09.96 imap
On the contrary, when
2006 Dec 19
1
BUG: messages created with permissions not respecting umask
Using dovecot 1.0rc15, together with postfix and dovecot-lda.
umask is set to 0007. This should ensure directories and files get
created with read/write permissions for both user and group.
However, dovecot-lda writes files with 600 permissions, instead of 660.
So dovecot does not seem to respect the umask configuration property for
local mail delivery.
In my particular case, I have
2008 Jul 17
1
child xxxxx (imap) returned error 83 (Out of memory)
Hi list,
> Jul 17 12:15:10 seamus dovecot: IMAP(someone at somehost.org): block_alloc(): Out of memory
> Jul 17 12:15:10 seamus dovecot: child 26181 (imap) returned error 83 (Out of memory)
I found those two entries in the logs this morning. The system has
ample free memory. What's going on?
--
martin | http://madduck.net/ | http://two.sentenc.es/
"i wish i hadn't slept
2015 Nov 26
1
Let lmtp create target directories
Hello,
we're using vmm? to manage our postfix+dovecot virtual mail setup,
which allows us to give every virtual user a separate EUID and every
domain a separate EGID for additional security (vs. handling all
virtual mail with a single "vmail" user).
As a consequence, however, vmm must itself create the user
directories with the appropriate owners, and to do so, it requires
root
2017 Nov 15
2
How to maintain a persistent SSH connection?
also sprach Phil Pennock <phil.pennock at globnix.org> [2017-11-15 19:41 +0100]:
> So, instead of running no command server side, would a suitable
> workaround be to run 'while sleep 1; do echo .; done' as the server
> command and discard stdout from ssh on the client side? That way, the
> server side should detect the dropped link sooner, leading to sshd exit
> and
2007 Aug 14
3
use of deliver from procmail advisable?
Hi list,
I understand that dovecot's deliver does a little more than deliver:
it also updates the dovecot metadata stored with each Maildir. Thus,
if I use deliver as opposed to procmail's internal Maildir delivery,
it seems that the IMAP server later has less work to do since the
metadata is can use are up to date.
Doing this, however, incurs an extra process for each mail
delivered. I
2013 Apr 03
2
virt-manager slow to connect, hangs on new host dialog
Hello,
I am using virt-manager 0.9.4 on a Debian unstable system (libvirt
0.9.12) to connect to a libvirtd via SSH running on a Debian testing
system (also version 0.9.12), and I have a problem using
virt-manager, which first takes ages to connect, then freezes.
The SSH connection is top-quality, the hosts are next to each other
and connected by Gigabit Ethernet. virsh connections work fine.
2012 Nov 07
4
Impromptu conferencing
Dear list,
we would really like to be able to "invite a third and fourth party"
to our current one-on-one call. At the moment, we have to agree to
dial into MeetMe 10 minutes later, then make calls to the third
parties, and hope it all works out.
I have found a couple of examples on the Internet for converting
channels into conferences, but I could not get any of them working.
Does
2007 Aug 23
2
removing IMAP keywords?
Hi there,
I found that with an IMAP command like
<unique-leader> STORE 1 +FLAGS (testflag)
I can set arbitrary flags on mails through the dovecot IMAP daemon.
This rules.
Now I wonder, however, how I can remove those flags, which become
properties of the folder, really. For instance, after the above,
SELECT on the containing folder gives:
* FLAGS (\Answered \Flagged \Deleted \Seen