Ubuntu Server Guide Changes, errors and bugs
Download 1.27 Mb. Pdf ko'rish
|
ubuntu-server-guide
Transport
All the configuration files belonging to transport type are stored in the /etc/exim4/conf.d/transport/ direc- tory. You can add the following content to a new file named 40_exim4−config_mailman: mailman_transport : d r i v e r = p i p e command = MM_WRAP \ ’ $ { i f d e f : l o c a l _ p a r t _ s u f f i x \ {$ { s g { $ l o c a l _ p a r t _ s u f f i x }{ −(\\w+) ( \ \ + . * ) ?}{\ $1 }}} \ { p o s t } } ’ \ $ l o c a l _ p a r t c u r r e n t _ d i r e c t o r y = MM_HOME home_directory = MM_HOME u s e r = MM_UID group = MM_GID 243 Router All the configuration files belonging to router type are stored in the /etc/exim4/conf.d/router/ directory. You can add the following content in to a new file named 101_exim4−config_mailman: mailman_router : d r i v e r = a c c e p t r e q u i r e _ f i l e s = MM_HOME/ l i s t s / $ l o c a l _ p a r t / c o n f i g . pck l o c a l _ p a r t _ s u f f i x _ o p t i o n a l l o c a l _ p a r t _ s u f f i x = −bounces : −bounces+* : \ −c o n f i r m+* : −j o i n : −l e a v e : \ −owner : −r e q u e s t : −admin t r a n s p o r t = mailman_transport Warning The order of main and transport configuration files can be in any order. But, the order of router configuration files must be the same. This particular file must appear before the 200_exim4- config_primary file. These two configuration files contain same type of information. The first file takes the precedence. For more details, please refer to the references section. Mailman Once mailman is installed, you can run it using the following command: sudo s y s t e m c t l s t a r t mailman . s e r v i c e Once mailman is installed, you should create the default mailing list. Run the following command to create the mailing list: sudo / u s r / s b i n / n e w l i s t mailman Enter t h e e m a i l a d d r e s s o f t h e p e r s o n r u n n i n g t h e l i s t : bhuvan a t ubuntu . com I n i t i a l mailman password : To f i n i s h c r e a t i n g your m a i l i n g l i s t , you must e d i t your / e t c / a l i a s e s ( o r e q u i v a l e n t ) f i l e by adding t h e f o l l o w i n g l i n e s , and p o s s i b l y r u n n i n g t h e ‘ n e w a l i a s e s ’ program : ## mailman m a i l i n g l i s t mailman : ” | / var / l i b / mailman / m a i l / mailman p o s t mailman ” mailman−admin : ” | / var / l i b / mailman / m a i l / mailman admin mailman ” mailman−bounces : ” | / var / l i b / mailman / m a i l / mailman bounces mailman ” mailman−c o n f i r m : ” | / var / l i b / mailman / m a i l / mailman c o n f i r m mailman ” mailman−j o i n : ” | / var / l i b / mailman / m a i l / mailman j o i n mailman ” mailman−l e a v e : ” | / var / l i b / mailman / m a i l / mailman l e a v e mailman ” mailman−owner : ” | / var / l i b / mailman / m a i l / mailman owner mailman ” mailman−r e q u e s t : ” | / var / l i b / mailman / m a i l / mailman r e q u e s t mailman ” mailman−s u b s c r i b e : ” | / var / l i b / mailman / m a i l / mailman s u b s c r i b e mailman ” mailman−u n s u b s c r i b e : ” | / var / l i b / mailman / m a i l / mailman u n s u b s c r i b e mailman ” Hit e n t e r t o n o t i f y mailman owner . . . # 244 We have configured either Postfix or Exim4 to recognize all emails from mailman. So, it is not mandatory to make any new entries in /etc/ aliases . If you have made any changes to the configuration files, please ensure that you restart those services before continuing to next section. Note The Exim4 does not use the above aliases to forward mails to Mailman, as it uses a discover approach. To suppress the aliases while creating the list, you can add MTA=None line in Mailman configuration file, /etc/mailman/mm_cfg.py. 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