Hello I had to ditch the qpopper server I have been using for decades and pulled the dovecot server down with zypper. I'm having trouble setting it up. I started it by hand but were does it log and how can I set it up to start out of the box? Is it using xinetd? Ruben -- So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological proportions in the mind of the world - RI Safir 1998 http://www.mrbrklyn.com DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002 http://www.nylxs.com - Leadership Development in Free Software http://www2.mrbrklyn.com/resources - Unpublished Archive http://www.coinhangout.com - coins! http://www.brooklyn-living.com Being so tracked is for FARM ANIMALS and and extermination camps, but incompatible with living as a free human being. -RI Safir 2013 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 10/13/2015 12:04 PM, Ruben Safir wrote:
Hello
I had to ditch the qpopper server I have been using for decades and pulled the dovecot server down with zypper. I'm having trouble setting it up.
I started it by hand but were does it log and how can I set it up to start out of the box? Is it using xinetd?
I use dovecot with systemd. You also need to make sure that the AppArmour (or whatever you use on your system) accommodates it. And yes all this is documented on the varous part of the suse site. Sorry, my notes don't hat URL. /usr/lib/systemd/system/dovecot.service /usr/lib/systemd/system/dovecot.socket :::::::::::::: dovecot.service :::::::::::::: [Unit] Description=Dovecot IMAP/POP3 email server After=local-fs.target network.target [Service] Type=simple ExecStart=/usr/sbin/dovecot -F NonBlocking=yes [Install] WantedBy=multi-user.target :::::::::::::: dovecot.socket :::::::::::::: [Unit] Description=Dovecot IMAP/POP3 email server activation socket [Socket] #dovecot expects separate IPv4 and IPv6 sockets BindIPv6Only=ipv6-only ListenStream=0.0.0.0:143 ListenStream=[::]:143 ListenStream=0.0.0.0:993 ListenStream=[::]:993 KeepAlive=true [Install] WantedBy=sockets.target The following were automatically generated by a tool - can't recall the name - that scans the syslog/error and generates the appropriate apparmor entries apparmor.d/local/usr.lib.dovecot.anvil apparmor.d/local/usr.lib.dovecot.auth apparmor.d/local/usr.lib.dovecot.config apparmor.d/local/usr.lib.dovecot.deliver apparmor.d/local/usr.lib.dovecot.dict apparmor.d/local/usr.lib.dovecot.dovecot-auth apparmor.d/local/usr.lib.dovecot.dovecot-lda apparmor.d/local/usr.lib.dovecot.imap apparmor.d/local/usr.lib.dovecot.imap-login apparmor.d/local/usr.lib.dovecot.lmtp apparmor.d/local/usr.lib.dovecot.log apparmor.d/local/usr.lib.dovecot.managesieve apparmor.d/local/usr.lib.dovecot.managesieve-login apparmor.d/local/usr.lib.dovecot.pop3 apparmor.d/local/usr.lib.dovecot.pop3-login apparmor.d/local/usr.lib.dovecot.ssl-params apparmor.d/local/usr.sbin.dovecot apparmor.d/usr.lib.dovecot.anvil apparmor.d/cache/usr.lib.dovecot.anvil apparmor.d/cache/usr.lib.dovecot.auth apparmor.d/cache/usr.lib.dovecot.config apparmor.d/cache/usr.lib.dovecot.deliver apparmor.d/cache/usr.lib.dovecot.dict apparmor.d/cache/usr.lib.dovecot.dovecot-auth apparmor.d/cache/usr.lib.dovecot.dovecot-lda apparmor.d/cache/usr.lib.dovecot.imap apparmor.d/cache/usr.lib.dovecot.imap-login apparmor.d/cache/usr.lib.dovecot.lmtp apparmor.d/cache/usr.lib.dovecot.log apparmor.d/cache/usr.lib.dovecot.managesieve apparmor.d/cache/usr.lib.dovecot.managesieve-login apparmor.d/cache/usr.lib.dovecot.pop3 apparmor.d/cache/usr.lib.dovecot.pop3-login apparmor.d/cache/usr.lib.dovecot.ssl-params apparmor.d/cache/usr.sbin.dovecot apparmor.d/usr.lib.dovecot.auth apparmor.d/usr.lib.dovecot.config apparmor.d/usr.lib.dovecot.deliver apparmor.d/usr.lib.dovecot.dict apparmor.d/usr.lib.dovecot.dovecot-auth apparmor.d/usr.lib.dovecot.dovecot-lda apparmor.d/usr.lib.dovecot.imap apparmor.d/usr.lib.dovecot.imap-login apparmor.d/usr.lib.dovecot.lmtp apparmor.d/usr.lib.dovecot.log apparmor.d/usr.lib.dovecot.managesieve apparmor.d/usr.lib.dovecot.managesieve-login apparmor.d/usr.lib.dovecot.pop3 apparmor.d/usr.lib.dovecot.pop3-login apparmor.d/usr.lib.dovecot.ssl-params apparmor.d/usr.sbin.dovecot -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 10/13/2015 12:15 PM, Anton Aylward wrote:
On 10/13/2015 12:04 PM, Ruben Safir wrote:
Hello
I had to ditch the qpopper server I have been using for decades and pulled the dovecot server down with zypper. I'm having trouble setting it up.
I started it by hand but were does it log and how can I set it up to start out of the box? Is it using xinetd? I use dovecot with systemd. You also need to make sure that the AppArmour (or whatever you use on your system) accommodates it.
what appaurmor. I have never used that?
And yes all this is documented on the varous part of the suse site. Sorry, my notes don't hat URL.
/usr/lib/systemd/system/dovecot.service /usr/lib/systemd/system/dovecot.socket
:::::::::::::: dovecot.service :::::::::::::: [Unit] Description=Dovecot IMAP/POP3 email server After=local-fs.target network.target
[Service] Type=simple ExecStart=/usr/sbin/dovecot -F NonBlocking=yes
[Install] WantedBy=multi-user.target
:::::::::::::: dovecot.socket :::::::::::::: [Unit] Description=Dovecot IMAP/POP3 email server activation socket
[Socket] #dovecot expects separate IPv4 and IPv6 sockets BindIPv6Only=ipv6-only ListenStream=0.0.0.0:143 ListenStream=[::]:143 ListenStream=0.0.0.0:993 ListenStream=[::]:993 KeepAlive=true
[Install] WantedBy=sockets.target
The following were automatically generated by a tool - can't recall the name - that scans the syslog/error and generates the appropriate apparmor entries
apparmor.d/local/usr.lib.dovecot.anvil apparmor.d/local/usr.lib.dovecot.auth apparmor.d/local/usr.lib.dovecot.config apparmor.d/local/usr.lib.dovecot.deliver apparmor.d/local/usr.lib.dovecot.dict apparmor.d/local/usr.lib.dovecot.dovecot-auth apparmor.d/local/usr.lib.dovecot.dovecot-lda apparmor.d/local/usr.lib.dovecot.imap apparmor.d/local/usr.lib.dovecot.imap-login apparmor.d/local/usr.lib.dovecot.lmtp apparmor.d/local/usr.lib.dovecot.log apparmor.d/local/usr.lib.dovecot.managesieve apparmor.d/local/usr.lib.dovecot.managesieve-login apparmor.d/local/usr.lib.dovecot.pop3 apparmor.d/local/usr.lib.dovecot.pop3-login apparmor.d/local/usr.lib.dovecot.ssl-params apparmor.d/local/usr.sbin.dovecot apparmor.d/usr.lib.dovecot.anvil apparmor.d/cache/usr.lib.dovecot.anvil apparmor.d/cache/usr.lib.dovecot.auth apparmor.d/cache/usr.lib.dovecot.config apparmor.d/cache/usr.lib.dovecot.deliver apparmor.d/cache/usr.lib.dovecot.dict apparmor.d/cache/usr.lib.dovecot.dovecot-auth apparmor.d/cache/usr.lib.dovecot.dovecot-lda apparmor.d/cache/usr.lib.dovecot.imap apparmor.d/cache/usr.lib.dovecot.imap-login apparmor.d/cache/usr.lib.dovecot.lmtp apparmor.d/cache/usr.lib.dovecot.log apparmor.d/cache/usr.lib.dovecot.managesieve apparmor.d/cache/usr.lib.dovecot.managesieve-login apparmor.d/cache/usr.lib.dovecot.pop3 apparmor.d/cache/usr.lib.dovecot.pop3-login apparmor.d/cache/usr.lib.dovecot.ssl-params apparmor.d/cache/usr.sbin.dovecot apparmor.d/usr.lib.dovecot.auth apparmor.d/usr.lib.dovecot.config apparmor.d/usr.lib.dovecot.deliver apparmor.d/usr.lib.dovecot.dict apparmor.d/usr.lib.dovecot.dovecot-auth apparmor.d/usr.lib.dovecot.dovecot-lda apparmor.d/usr.lib.dovecot.imap apparmor.d/usr.lib.dovecot.imap-login apparmor.d/usr.lib.dovecot.lmtp apparmor.d/usr.lib.dovecot.log apparmor.d/usr.lib.dovecot.managesieve apparmor.d/usr.lib.dovecot.managesieve-login apparmor.d/usr.lib.dovecot.pop3 apparmor.d/usr.lib.dovecot.pop3-login apparmor.d/usr.lib.dovecot.ssl-params apparmor.d/usr.sbin.dovecot
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 10/13/2015 12:25 PM, Ruben Safir wrote:
You also need to make sure that the AppArmour (or whatever you use on your system) accommodates it.
what appaurmor. I have never used that?
LOL! Typo on top of typo! Hurrah! Sorry, I have this natural inclination to to spell things with "ou" where American spell with "O". Things like colour, flavour, behaviour, harbour, honour, humour, labour, neighbour, rumour, splendour. It's quite thoroughly ingrained in my fingertips. -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 10/13/2015 12:31 PM, Anton Aylward wrote:
On 10/13/2015 12:25 PM, Ruben Safir wrote:
You also need to make sure that the AppArmour (or whatever you use on your system) accommodates it. what appaurmor. I have never used that?
LOL! Typo on top of typo! Hurrah!
Sorry, I have this natural inclination to to spell things with "ou" where American spell with "O".
Things like colour, flavour, behaviour, harbour, honour, humour, labour, neighbour, rumour, splendour.
It's quite thoroughly ingrained in my fingertips.
No - I don't KNOW what aparmour is or what it does and I have never touched it -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2015-10-13 18:32, Ruben Safir wrote:
On 10/13/2015 12:31 PM, Anton Aylward wrote:
No - I don't KNOW what aparmour is or what it does and I have never touched it
It is a security component, as important as the firewall. rcapparmor status It may be installed and enabled by default, and the default profile may stop dovecot from working. So you have to consider adjusting it or removing it. Your choice. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
On 10/13/2015 01:05 PM, Carlos E. R. wrote:
rcapparmor status ruben@www:~/src/majordomo-1.94.5> sudo rcapparmor status apparmor module is loaded. 42 profiles are loaded. 42 profiles are in enforce mode. /sbin/klogd /sbin/syslog-ng /sbin/syslogd /usr/lib/apache2/mpm-prefork/apache2 /usr/lib/apache2/mpm-prefork/apache2//DEFAULT_URI /usr/lib/apache2/mpm-prefork/apache2//HANDLING_UNTRUSTED_INPUT /usr/lib/apache2/mpm-prefork/apache2//phpsysinfo /usr/lib/colord /usr/lib/dovecot/anvil /usr/lib/dovecot/auth /usr/lib/dovecot/config /usr/lib/dovecot/deliver /usr/lib/dovecot/dict /usr/lib/dovecot/dovecot-auth /usr/lib/dovecot/dovecot-lda /usr/lib/dovecot/imap /usr/lib/dovecot/imap-login /usr/lib/dovecot/lmtp /usr/lib/dovecot/log /usr/lib/dovecot/managesieve /usr/lib/dovecot/managesieve-login /usr/lib/dovecot/pop3 /usr/lib/dovecot/pop3-login /usr/lib/dovecot/ssl-params /usr/sbin/apache2 /usr/sbin/apache2//DEFAULT_URI /usr/sbin/apache2//HANDLING_UNTRUSTED_INPUT /usr/sbin/apache2//phpsysinfo /usr/sbin/avahi-daemon /usr/sbin/dnsmasq /usr/sbin/dovecot /usr/sbin/identd /usr/sbin/mdnsd /usr/sbin/nmbd /usr/sbin/nscd /usr/sbin/ntpd /usr/sbin/smbd /usr/sbin/smbldap-useradd /usr/sbin/smbldap-useradd///etc/init.d/nscd /usr/sbin/winbindd /usr/{sbin/traceroute,bin/traceroute.db} /{usr/,}bin/ping 0 profiles are in complain mode. 7 processes have profiles defined. 7 processes are in enforce mode. /usr/lib/colord (17031) /usr/lib/dovecot/anvil (30281) /usr/lib/dovecot/auth (13686) /usr/lib/dovecot/config (13683) /usr/lib/dovecot/log (30282) /usr/sbin/dovecot (30279) /usr/sbin/ntpd (1884) 0 processes are in complain mode. 0 processes are unconfined but have a profile defined. apparmor.service - LSB: AppArmor initialization Loaded: loaded (/etc/init.d/boot.apparmor) Active: active (exited) since Mon 2015-10-12 17:41:55 EDT; 20h ago
I think I don't need this. Is it blocking dovecot and can I turn aparmour off? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Tue, Oct 13, 2015 at 07:05:36PM +0200, Carlos E. R. wrote:
On 2015-10-13 18:32, Ruben Safir wrote:
On 10/13/2015 12:31 PM, Anton Aylward wrote:
No - I don't KNOW what aparmour is or what it does and I have never touched it
It is a security component, as important as the firewall.
rcapparmor status
It may be installed and enabled by default, and the default profile may stop dovecot from working. So you have to consider adjusting it or removing it. Your choice.
How do I remove it? Yast aparmour interface is nothing but confusing. I don't want to spend a week learning it. I just want it out of my way.
-- Cheers / Saludos,
Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
-- So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological proportions in the mind of the world - RI Safir 1998 http://www.mrbrklyn.com DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002 http://www.nylxs.com - Leadership Development in Free Software http://www2.mrbrklyn.com/resources - Unpublished Archive http://www.coinhangout.com - coins! http://www.brooklyn-living.com Being so tracked is for FARM ANIMALS and and extermination camps, but incompatible with living as a free human being. -RI Safir 2013 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
"Unable to establish TLS connection to POP3 server. The server may be down or may be incorrectly configured. Please verify the correct configuration in the Server Settings for your mail server in the Account Settings window and try again." That is from thunderbird. Looking for a handout at this point. I think I need to setup TLS/SSL connection perhaps? openssl is installed. Ruben -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Il 13. 10. 15 21:36, Ruben Safir ha scritto:
"Unable to establish TLS connection to POP3 server. The server may be down or may be incorrectly configured. Please verify the correct configuration in the Server Settings for your mail server in the Account Settings window and try again."
That is from thunderbird.
Looking for a handout at this point.
I think I need to setup TLS/SSL connection perhaps? openssl is installed.
Ruben
Assuming the POP3 port is reachable (Firewall, etc etc) you can try with disable_plaintext_auth = no auth_mechanism = plain in /etc/dovecot/conf.d/10-auth.conf and then use no connection security and plain text password in Thunderbird. If this works you can (must...) then configure more secure identification/network protocols . And: you don't need to disable apparmor, instead it is more prudent to change usr.lib.dovecot.imap and usr.lib.dovecot.pop3 to "complain" keeping apparmor up-and-running. This is my setup since years and it works well. Marco -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 10/13/2015 04:02 PM, Marco wrote:
Il 13. 10. 15 21:36, Ruben Safir ha scritto:
"Unable to establish TLS connection to POP3 server. The server may be down or may be incorrectly configured. Please verify the correct configuration in the Server Settings for your mail server in the Account Settings window and try again."
That is from thunderbird.
Looking for a handout at this point.
I think I need to setup TLS/SSL connection perhaps? openssl is installed.
Ruben
Assuming the POP3 port is reachable (Firewall, etc etc) you can try with
disable_plaintext_auth = no auth_mechanism = plain
in /etc/dovecot/conf.d/10-auth.conf
and then use no connection security and plain text password in Thunderbird. If this works you can (must...) then configure more secure identification/network protocols .
And: you don't need to disable apparmor, instead it is more prudent to change usr.lib.dovecot.imap and usr.lib.dovecot.pop3 to "complain" keeping apparmor up-and-running. This is my setup since years and it works well.
Marco
are you using starttls ? there is no dovecot.pem anywhere on the system -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2015-10-13 21:36, Ruben Safir wrote:
I think I need to setup TLS/SSL connection perhaps? openssl is installed.
There is a script in the documentation directory that you can use to create your own certificate. Edit the configuration sample in that directory first, -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
On 10/13/2015 12:32 PM, Ruben Safir wrote:
No - I don't KNOW what aparmour is or what it does and I have never touched it
perhaps, scrolling down on my earlier posting, you might have noticed "apparmor", and the various automatically generated config files there in /etc/apparrmor.d" pertaining to dovecot which I mentioned. But, then again, perhap not. You might also find it useful to go back though this list's archives: https://forums.opensuse.org/showthread.php/497085-Dovecot-2-1-17-in-opensuse... This discusses such matters as using "aa-logprof" to analyse the logs for apparmor discrepancies. -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 10/13/2015 01:12 PM, Anton Aylward wrote:
No - I don't KNOW what aparmour is or what it does and I have never touched it
On 10/13/2015 12:32 PM, Ruben Safir wrote: perhaps, scrolling down on my earlier posting, you might have noticed "apparmor", and the various automatically generated config files there in /etc/apparrmor.d" pertaining to dovecot which I mentioned.
But, then again, perhap not.
You might also find it useful to go back though this list's archives:
https://forums.opensuse.org/showthread.php/497085-Dovecot-2-1-17-in-opensuse...
I saw that and I found it not useful.
This discusses such matters as using "aa-logprof" to analyse the logs for apparmor discrepancies.
I need to get rid of apparmor all together. I don't recommend its usage. It just makes things harder. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2015-10-13 20:18, Ruben Safir wrote:
I need to get rid of apparmor all together. I don't recommend its usage. It just makes things harder.
Well, it is your system and your choice. Try removing the package, or disable it: systemctl disable apparmor -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
On 10/13/2015 12:31 PM, Anton Aylward wrote:
On 10/13/2015 12:25 PM, Ruben Safir wrote:
You also need to make sure that the AppArmour (or whatever you use on your system) accommodates it. what appaurmor. I have never used that?
LOL! Typo on top of typo! Hurrah!
Sorry, I have this natural inclination to to spell things with "ou" where American spell with "O".
Things like colour, flavour, behaviour, harbour, honour, humour, labour, neighbour, rumour, splendour.
It's quite thoroughly ingrained in my fingertips.
from thunderbird Sending of username did not succeed. Mail server mrbrklyn.com responded: Plaintext authentication disallowed on non-secure (SSL/TLS) connections. when I try to use SSL/TLS the connection hangs. I missed something on the set up. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 10/13/2015 12:31 PM, Anton Aylward wrote:
On 10/13/2015 12:25 PM, Ruben Safir wrote:
You also need to make sure that the AppArmour (or whatever you use on your system) accommodates it. what appaurmor. I have never used that?
LOL! Typo on top of typo! Hurrah!
Sorry, I have this natural inclination to to spell things with "ou" where American spell with "O".
Things like colour, flavour, behaviour, harbour, honour, humour, labour, neighbour, rumour, splendour.
It's quite thoroughly ingrained in my fingertips.
This POP3 server does not seem to support encrypted passwords. If you just set up the account, please try changing to 'Password, transmitted insecurely' as the 'Authentication method' in the 'Account Settings | Server settings'. If it used to work and now suddenly fails, this is a common scenario how someone could steal your password. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 10/13/2015 11:25 AM, Ruben Safir wrote:
I use dovecot with systemd.
You also need to make sure that the AppArmour (or whatever you use on your system) accommodates it.
what appaurmor. I have never used that?
You installed via zypper, most, if not all, the appaurmor and related policies requirements should already be met. To your question, appaurmor is basically a set of security policies that limit, from an application and OS standpoint, what is allowed to start, stop and interact with any other running applications. It has been part of suse for ages. Back to dovecot, once you download it, you should simply be able to set the /etc/dovecot/dovecot.conf to a minimal config, example: $ cat /etc/dovecot/dovecot.conf auth_mechanisms = plain login passdb { driver = pam } userdb { driver = passwd } service auth { unix_listener /var/spool/postfix/private/auth { group = postfix mode = 0660 user = postfix } } ssl_cert = </etc/ssl/certs/dovecot.pem ssl_key = </etc/ssl/private/dovecot.pem mail_location=mbox:~/Mail:INBOX=/var/spool/mail/%u protocol imap { mail_max_userip_connections = 30 } (2) generate your /etc/ssl/certs/dovecot.pem and /etc/ssl/private/dovecot.pem by configuring: /usr/share/doc/packages/dovecot/dovecot-openssl.cnf with the details for your domain, and then running: # /usr/share/doc/packages/dovecot/mkcert.sh (3) start dovecot # systemctl start dovecot (4) enable dovecot to start at boot # systemctl enable dovecot If you postfix config is good (and it is running), you should then be able to access your mail. Good luck. -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2015-10-14 04:15, David C. Rankin wrote:
Back to dovecot, once you download it, you should simply be able to set the /etc/dovecot/dovecot.conf to a minimal config, example:
$ cat /etc/dovecot/dovecot.conf
IMO, don't touch that file. Use "/etc/dovecot/local.conf" instead, so that updates don't suppose extra work. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
[Unit] Description=Dovecot IMAP/POP3 email server After=local-fs.target network.target [Service] Type=simple ExecStart=/usr/sbin/dovecot -F ExecReload=/usr/bin/doveadm reload NonBlocking=yes [Install] WantedBy=multi-user.target On 10/13/2015 12:15 PM, Anton Aylward wrote:
On 10/13/2015 12:04 PM, Ruben Safir wrote:
Hello
I had to ditch the qpopper server I have been using for decades and pulled the dovecot server down with zypper. I'm having trouble setting it up.
I started it by hand but were does it log and how can I set it up to start out of the box? Is it using xinetd? I use dovecot with systemd. You also need to make sure that the AppArmour (or whatever you use on your system) accommodates it.
And yes all this is documented on the varous part of the suse site. Sorry, my notes don't hat URL.
/usr/lib/systemd/system/dovecot.service /usr/lib/systemd/system/dovecot.socket
:::::::::::::: dovecot.service :::::::::::::: [Unit] Description=Dovecot IMAP/POP3 email server After=local-fs.target network.target
[Service] Type=simple ExecStart=/usr/sbin/dovecot -F NonBlocking=yes
[Install] WantedBy=multi-user.target
:::::::::::::: dovecot.socket :::::::::::::: [Unit] Description=Dovecot IMAP/POP3 email server activation socket
[Socket] #dovecot expects separate IPv4 and IPv6 sockets BindIPv6Only=ipv6-only ListenStream=0.0.0.0:143 ListenStream=[::]:143 ListenStream=0.0.0.0:993 ListenStream=[::]:993 KeepAlive=true
[Install] WantedBy=sockets.target
The following were automatically generated by a tool - can't recall the name - that scans the syslog/error and generates the appropriate apparmor entries
apparmor.d/local/usr.lib.dovecot.anvil apparmor.d/local/usr.lib.dovecot.auth apparmor.d/local/usr.lib.dovecot.config apparmor.d/local/usr.lib.dovecot.deliver apparmor.d/local/usr.lib.dovecot.dict apparmor.d/local/usr.lib.dovecot.dovecot-auth apparmor.d/local/usr.lib.dovecot.dovecot-lda apparmor.d/local/usr.lib.dovecot.imap apparmor.d/local/usr.lib.dovecot.imap-login apparmor.d/local/usr.lib.dovecot.lmtp apparmor.d/local/usr.lib.dovecot.log apparmor.d/local/usr.lib.dovecot.managesieve apparmor.d/local/usr.lib.dovecot.managesieve-login apparmor.d/local/usr.lib.dovecot.pop3 apparmor.d/local/usr.lib.dovecot.pop3-login apparmor.d/local/usr.lib.dovecot.ssl-params apparmor.d/local/usr.sbin.dovecot apparmor.d/usr.lib.dovecot.anvil apparmor.d/cache/usr.lib.dovecot.anvil apparmor.d/cache/usr.lib.dovecot.auth apparmor.d/cache/usr.lib.dovecot.config apparmor.d/cache/usr.lib.dovecot.deliver apparmor.d/cache/usr.lib.dovecot.dict apparmor.d/cache/usr.lib.dovecot.dovecot-auth apparmor.d/cache/usr.lib.dovecot.dovecot-lda apparmor.d/cache/usr.lib.dovecot.imap apparmor.d/cache/usr.lib.dovecot.imap-login apparmor.d/cache/usr.lib.dovecot.lmtp apparmor.d/cache/usr.lib.dovecot.log apparmor.d/cache/usr.lib.dovecot.managesieve apparmor.d/cache/usr.lib.dovecot.managesieve-login apparmor.d/cache/usr.lib.dovecot.pop3 apparmor.d/cache/usr.lib.dovecot.pop3-login apparmor.d/cache/usr.lib.dovecot.ssl-params apparmor.d/cache/usr.sbin.dovecot apparmor.d/usr.lib.dovecot.auth apparmor.d/usr.lib.dovecot.config apparmor.d/usr.lib.dovecot.deliver apparmor.d/usr.lib.dovecot.dict apparmor.d/usr.lib.dovecot.dovecot-auth apparmor.d/usr.lib.dovecot.dovecot-lda apparmor.d/usr.lib.dovecot.imap apparmor.d/usr.lib.dovecot.imap-login apparmor.d/usr.lib.dovecot.lmtp apparmor.d/usr.lib.dovecot.log apparmor.d/usr.lib.dovecot.managesieve apparmor.d/usr.lib.dovecot.managesieve-login apparmor.d/usr.lib.dovecot.pop3 apparmor.d/usr.lib.dovecot.pop3-login apparmor.d/usr.lib.dovecot.ssl-params apparmor.d/usr.sbin.dovecot
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 13/10/2015 18:04, Ruben Safir a écrit :
Hello
I had to ditch the qpopper server I have been using for decades and pulled the dovecot server down with zypper. I'm having trouble setting it up.
I started it by hand but were does it log and how can I set it up to start out of the box? Is it using xinetd?
Ruben
my notes :-)
http://dodin.info/wiki/pmwiki.php?n=Doc.DovecotConfigure jdd -- When will a Label sign her!!? https://www.youtube.com/watch?t=94&v=BeMk3WRh8QI -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 10/13/2015 12:25 PM, jdd wrote:
Le 13/10/2015 18:04, Ruben Safir a écrit :
Hello
I had to ditch the qpopper server I have been using for decades and pulled the dovecot server down with zypper. I'm having trouble setting it up.
I started it by hand but were does it log and how can I set it up to start out of the box? Is it using xinetd?
Ruben
my notes :-)
http://dodin.info/wiki/pmwiki.php?n=Doc.DovecotConfigure
jdd
where does it log? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Carlos E. R. wrote:
On 2015-10-13 18:33, Ruben Safir wrote:
where does it log?
To syslog, as most daemons.
However, this may mean systemd journal.
Or if you have a syslog daemon running, most likely /var/log/mail. -- Per Jessen, Zürich (6.2°C) http://www.dns24.ch/ - free dynamic DNS, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2015-10-14 08:21, Per Jessen wrote:
Carlos E. R. wrote:
On 2015-10-13 18:33, Ruben Safir wrote:
where does it log?
To syslog, as most daemons.
However, this may mean systemd journal.
Or if you have a syslog daemon running, most likely /var/log/mail.
Yes, of course. That's the default syslog configuration :-) -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
Op dinsdag 13 oktober 2015 12:04:18 schreef Ruben Safir:
Hello
I had to ditch the qpopper server I have been using for decades and pulled the dovecot server down with zypper. I'm having trouble setting it up.
I started it by hand but were does it log and how can I set it up to start out of the box? Is it using xinetd?
Ruben
Below is my HOWTO for Dovecot 22 zypper in --no-recommends dovecot In /etc/dovecot/dovecot.conf protocols = imap (I don't want pop3 and lmtp) In /etc/dovecot/conf.d/10-mail.conf mail_location = maildir:~/Maildir Within namespace inbox: prefix = INBOX. (note the dot, it is needed) In /etc/dovecot/conf.d/10-ssl.conf ssl = yes ssl_cert = </etc/ssl/private/dovecot.crt ssl_key = </etc/ssl/private/dovecot.pem zypper in ca-certificates-mozilla change /usr/share/doc/packages/dovecot/dovecot-openssl.cnf with the particulars of your system. and execute mkcert.sh in the same folder. You may need to adapt the time the certificate should be valid (the default is 365 days, I use 3653; 10 years). systemctl enable dovecot.service systemctl start dovecot.service This is all I need. -- fr.gr. member openSUSE Freek de Kruijf -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (9)
-
Anton Aylward
-
Carlos E. R.
-
David C. Rankin
-
Freek de Kruijf
-
jdd
-
Marco
-
Per Jessen
-
Ruben Safir
-
Ruben Safir