Discussion:
[PERDITION-USERS] Configuring extra IMAP ports
Paul Dudley
2015-07-24 05:54:52 UTC
Permalink
How do you configure perdition to allow IMAP access on ports other than
the standard port of 143? Can you configure perdition to allow IMAP
access on multiple ports?

--
  Paul Dudley
  ***@fastmail.fm
--
http://www.fastmail.com - Same, same, but different...
Egoitz Aurrekoetxea
2015-07-24 06:28:43 UTC
Permalink
Good morning,

Sure you can. The best way is to define a new configuration file and just to specify the perdition binary with -f IIRC…. We had that some time ago… I don’t remember exactly but I’d say it was that way…

Apart of that in the man you can see :

-f, --config_file FILENAME:
Name of config file to read. Command line options override
options set in config file.

The default is derived as follows:

The sysconfig dir ("/etc/perdition" for example) is checked for
<basename>.conf. If this is found then it is used. So if perdi-
tion is invoked as /usr/sbin/perdition.pop3, and /etc/perdi-
tion/perdition.pop3.conf exists then it will be used.

Next the sysconfig dir is checked for peridtion.<protocol>.conf,
where protocol is the ASCII representation of the protocol being
used, one of "imap4", "imap4s", "pop3", "pop3s" or "manage-
sieve". So if perdition is being run in imap4 mode, and
/etc/perdition/perdition.imap4.conf exists, then it is used.
Note that the protocol name is lowercase.

Next the sysconfig dir is checked for perdition.conf, if it is
found then it is used.

If none of these files are found then no configuration file is
used.

Hope it helps :)

Regards,



Egoitz Aurrekoetxea
Departamento de sistemas
944 209 470
Parque Tecnológico. Edificio 103
48170 Zamudio (Bizkaia)
***@sarenet.es <mailto:***@sarenet.es>
www.sarenet.es <http://www.sarenet.es/>
Antes de imprimir este correo electrónico piense si es necesario hacerlo.
How do you configure perdition to allow IMAP access on ports other than the standard port of 143?
Can you configure perdition to allow IMAP access on multiple ports?
--
Paul Dudley
--
http://www.fastmail.com - Same, same, but different...
______________________________________________
Perdition-users mailing list
http://lists.vergenet.net/listinfo/perdition-users
Matthias Hunstock
2015-07-24 08:22:18 UTC
Permalink
Can you configure perdition to allow IMAP access on multiple ports?
If you don't need a separate configuration or separate logging, you
could also use iptables' DNAT or REDIRECT to achieve this.

Regards
Matthias
--
Dipl.-Inf. Matthias Hunstock
UniRZ der TU Ilmenau, Raum 07
Tel.: +49 3677 69-1289
Simon Horman
2015-07-27 00:54:24 UTC
Permalink
Post by Paul Dudley
How do you configure perdition to allow IMAP access on ports other than
the standard port of 143? Can you configure perdition to allow IMAP
access on multiple ports?
Hi Paul,

You should be able to use -b / --bind_address, either in the configuration
file or on the command line to listen on multiple addresses or ports.

http://horms.net/projects/perdition/perdition.8.shtml
Paul Dudley
2015-08-12 05:29:06 UTC
Permalink
Hello Simon,

I have had a look at this but have been unable to work out how to do it.
I would like to add access for port 573 via IMAP through perdition.
In the /etc/perdition/perdition.conf file the only lines which are not
commented out refer to the IP address of the outgoing mail server and
some other lines relating to ssl certificates. In the
/etc/sysconfig/perdition file the only lines which are not commented out
are these below:

POP3=yes
POP3_FLAGS=
POP3S=yes
POP3S_FLAGS="--outgoing_port 110 --ssl_mode ssl_listen"
IMAP4=yes
IMAP4_FLAGS=
IMAP4S=yes
IMAP4S_FLAGS="--outgoing_port 143 --ssl_mode ssl_listen"

Can someone provide an example of either what command needs to be run,
or what needs to be changed in the configuration file to add access for
port 573 for IMAP connectivity?

Thanks
Paul
Post by Simon Horman
Post by Paul Dudley
How do you configure perdition to allow IMAP access on ports other than
the standard port of 143? Can you configure perdition to allow IMAP
access on multiple ports?
Hi Paul,
You should be able to use -b / --bind_address, either in the
configuration
file or on the command line to listen on multiple addresses or ports.
http://horms.net/projects/perdition/perdition.8.shtml
--
Paul Dudley
***@fastmail.fm
--
http://www.fastmail.com - The way an email service should be
Continue reading on narkive:
Loading...