bug-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-mailutils] imap4d configuration


From: Sergey Poznyakoff
Subject: Re: [bug-mailutils] imap4d configuration
Date: Mon, 25 May 2009 12:58:01 +0300

Andrew Barnes <address@hidden> ha escrit:

>    How do you use the /etc/mailutils.rc to configure the imap4d daemon.
>    The documentation is confusing :(

In /etc/mailutils.rc:

program imap4d {
  /* ... Imap4d-specific configuration goes here ... */
}

Alternatively, you may write a separate file with imap4d configuration
settings (without enclosing `program' stanza) and include it in
/etc/mailutils.rc.  I'd recommend to keep each program configuration in
a separate configuration file.  E.g. on my installations I store these
files in /etc/mailutils.d directory:

$ ls /etc/mailutils.d
imap4d  meta-alias     pop3d
maidag  meta-virtuser  frm

and use the following statement in the /etc/mailutils.rc to include
them:

include /etc/mailutils.d;

>    Currently, its binding to all the network adapters and I only want it
>    to bind to one of them.

Use the `server' statement, e.g.:

server 213.130.31.39:143 {
  ...
}

By the way, the `server' statement is a good place to declare ACLs in.
E.g. the following all-permissive ACL is useful to provide additional
diagnostics about incoming connections:

server 213.130.31.39:143 {
  acl {
     log from any "Connect from ${address}";
     allow from any;
  }
}

Regards,
Sergey




reply via email to

[Prev in Thread] Current Thread [Next in Thread]