Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Funny thing today, I'm trying to give plain old IMAP access to computers on a non-local network for my email server. Don't ask why, but it's the last resort.
Anyway, here's the thing. My server is SME server, and I cannot find for the life of me how to change the default IMAP port! There is nothing stored in
Code:
/etc/dovecot.conf
and I'm really beginning to pull my hair out.
I know SME server has things like
Code:
config setprop imap access public
for example, but I'm not finding anything about changing default ports.
By your reply, you probably think I'm messing about, but this is the complete contents of
Code:
/etc/dovecot.conf
Code:
#------------------------------------------------------------
# !!DO NOT MODIFY THIS FILE!!
#
# Manual changes will be lost when this file is regenerated.
#
# Please read the developer's guide, which is available
# at http://www.contribs.org/development/
#
# Copyright (C) 1999-2006 Mitel Networks Corporation
#------------------------------------------------------------
maildir_copy_with_hardlinks = no
As you can see, there is one uncommented line at the end. I'm really not sure what it's in aid of, but leaving it there. There is no conf file. Thats what has got me stumped! I'm really looking for someone with a good idea of SME server to point me in the right direction, and I don't mind hacking about either!
BTW:
Quote:
but.. 8080??? don't run it on 8080 without very good reasons, probably firewall / proxy related.
it's a school I'm working in, government provided net connection, they will open five ports I think: 80, 25, 8080, 443, and one other I can't think of. Believe it or not, all these ports are open on this box. So I really need to route IMAP through 8080, since it is the only port available to me!
[root@mail ~]# dovecot -n
# 1.0.7: /etc/dovecot.conf
Error: Missing auth section for server default
Fatal: Invalid configuration in /etc/dovecot.conf
Code:
ps ax | grep dove
5375 ? S 0:00 /usr/bin/tcpsvd -v -i ./peers -c 400 -C 12:421 per host concurrency limit reached\r\n -l 0 0 imaps sslio -vv -/ ../imap/ssl -C imapd.pem -u stunnel /usr/bin/imapfront-auth /usr/libexec/dovecot/imap
6939 pts/0 S 0:00 less /etc/dovecot.conf
6967 pts/0 S+ 0:00 grep dove
Seems SME has some way of running in runlevel 7 all the time, and all config is done using the type of commands I showed earlier, 'config blah blah', which modify database settings?
Last edited by irishbitte; 11-25-2009 at 01:06 PM.
Hmm ok, I've never been near SME, so wasn't at all aware how closed it appears to seem. I would imagine you could add a listen directive to the dovecot.conf, but if not, you could look to do a nat with iptables, to redirect inbound hits at 8080 to 143 on loopback. Unsure how to configure iptables on SME formally, but it seems to happen under the covers a fair bit... e.g. http://wiki.contribs.org/Ipsec
You've put me on the right track, will get a chance to have a look at this tomorrow, thanks for your help and observations Chris! Never really thought of using iptables, thought that was more routing from one host to another! I'll let you know how it goes....
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.