Ubuntu Server Guide Changes, errors and bugs
Download 1.27 Mb. Pdf ko'rish
|
ubuntu-server-guide
- Bu sahifa navigatsiya:
- Dovecot Server
- Configuration
Configuration
The IRC settings can be done in the configuration file /etc/ircd/ircd .conf. You can set the IRC host name in this file by editing the following line: M: i r c . l o c a l h o s t : : Debian i r c d d e f a u l t c o n f i g u r a t i o n : : 0 0 0A Please make sure you add DNS aliases for the IRC host name. For instance, if you set irc . livecipher .com as IRC host name, please make sure irc . livecipher .com is resolvable in your Domain Name Server. The IRC host name should not be same as the host name. The IRC admin details can be configured by editing the following line: A: O r g a n i z a t i o n , IRC dept . : Daemon You should add specific lines to configure the list of IRC ports to listen on, to configure Operator credentials, to configure client authentication, etc. For details, please refer to the example configuration file /usr/share/ doc/ircd−irc2/ircd.conf.example.gz. The IRC banner to be displayed in the IRC client, when the user connects to the server can be set in /etc/ircd/ircd .motd file. After making necessary changes to the configuration file, you can restart the IRC server using following command: sudo s y s t e m c t l r e s t a r t i r c d −i r c 2 . s e r v i c e References You may also be interested to take a look at other IRC servers available in Ubuntu Repository. It includes, ircd-ircu and ircd-hybrid. • Refer to IRCD FAQ for more details about the IRC Server. Dovecot Server Dovecot is a Mail Delivery Agent, written with security primarily in mind. It supports the major mailbox formats: mbox or Maildir. This section explains how to set it up as an IMAP or POP3 server. Installation To install a basic Dovecot server with common POP3 and IMAP functions, run the following command: sudo apt i n s t a l l dovecot−imapd dovecot−pop3d There are various other Dovecot modules including dovecot-sieve (mail filtering), dovecot-solr (full text search), dovecot-antispam (spam filter training), dovecot-ldap (user directory). 236 Configuration To configure Dovecot, edit the file /etc/dovecot/dovecot.conf and its included config files in /etc/dovecot/conf .d/. By default all installed protocols will be enabled via an include directive in /etc/dovecot/dovecot.conf. ! i n c l u d e _ t r y / u s r / s h a r e / d o v e c o t / p r o t o c o l s . d / * . p r o t o c o l IMAPS and POP3S are more secure because they use SSL encryption to connect. A basic self-signed ssl certificate is automatically set up by package ssl-cert and used by Dovecot in /etc/dovecot/conf.d/10−ssl. conf. By default mbox format is configured, if required you can also use Maildir. More about that can be found in the comments in /etc/dovecot/conf.d//10−mail.conf. Also see the Dovecot web site to learn about further benefits and details. Make sure to also configure your Mail Transport Agent (MTA) to transfer the incoming mail to the selected type of mailbox. Once you have configured Dovecot, restart its daemon in order to test your setup: sudo s e r v i c e d o v e c o t r e s t a r t Try to log in with the commands telnet localhost pop3 (for POP3) or telnet localhost imap2 (for IMAP). You should see something like the following: bhuvan@rainbow : ~ $ t e l n e t l o c a l h o s t pop3 Trying 1 2 7 . 0 . 0 . 1 . . . Connected t o l o c a l h o s t . l o c a l d o m a i n . Escape c h a r a c t e r i s ’ ^ ] ’ . +OK Dovecot ready . Download 1.27 Mb. Do'stlaringiz bilan baham: |
Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling
ma'muriyatiga murojaat qiling