User Tools

Site Tools


exim4:install_exim4_complete

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
exim4:install_exim4_complete [2016/11/08 11:49] peterexim4:install_exim4_complete [2020/07/25 16:30] (current) – old revision restored (2016/11/08 11:39) 92.220.10.100
Line 45: Line 45:
 pw useradd exim -c "Exim" -d /var/spool/mqueue -s /sbin/nologin -g mail  pw useradd exim -c "Exim" -d /var/spool/mqueue -s /sbin/nologin -g mail 
 exit  exit 
-cat /etc/passwd | grep exim+cat /etc/passwd | grep exim -d /var/spool/mqueue -s /sbin/nologin -g mail  
 +exit  
 +cat /etc/passwd | pw useradd exim -c "Exim" -d /var/spool/mqueue -s /sbin/nologin -g mail  
 +exit  
 +cat /etc/passwd | grep exim  
 +pw useradd exim -c "Exim" -d /var/spool/mqueue -s /sbin/nologin -g mail  
 +exit  
 +cat /etc/passwd | grep exim exim:*:1003:6:Exim:/var/spool/mqueue/:/sbin/nologin mqueue /:/sbin/nologin
 </code> </code>
  
Line 63: Line 70:
  
 <code bash> <code bash>
-ee Local/Makefile+ee Local/Makefile
 </code> </code>
  
Line 111: Line 118:
  
 To find the path to library files and MySQL headers, execute:  To find the path to library files and MySQL headers, execute: 
- 
-<code bash> 
-/usr/local/mysql/bin/mysql_config 
-</code> 
- 
-Result 
- 
-<code> 
-Usage: /usr/local/mysql/bin/mysql_config [OPTIONS] 
- Options: 
- --cflags [-I /usr/local/mysql/include/mysql -fomit-frame-pointer] 
- --include [-I /usr/local/mysql/include/mysql] 
- --libs [-L /usr/local/mysql/ lib/mysql -lmysqlclient -lz -lcrypt -lm] 
- --libs_r [-L /usr/local/mysql/lib/mysql -lmysqlclient_r -lz -lcrypt -lm 
-   -lpthread] 
- --socket [/tmp/mysql.sock] 
- --port [3306] 
- --version [4.1.10a] 
- --libmysqld-libs [-L /usr/local/mysql/lib/mysql -lmysqld -lcrypt -lm -lpthread] 
-</code> 
- 
- 
-These values ​​are substituted into the lines below ...  
- 
-<file bash> 
- # LOOKUP_INCLUDE = -I /usr/local/ldap/include -I /usr/local/mysql/include 
- # LOOKUP_LIBS = -L /usr/local/lib -lldap -llber -lmysqlclient -lpq 
- 
-  on  
- 
- LOOKUP_INCLUDE = -I /usr/local/mysql/include/mysql  
- LOOKUP_LIBS = -L /usr/local/mysql/lib/mysql -lmysqlclient -lz -lcrypt -lm 
-  EXIM_MONITOR = eximon.bin 
-  on  
- 
-  # EXIM_MONITOR = eximon.bin 
-  Here, we turn off support for Exim Monitor.  
- 
-  For Exim Monitor requires X11, contact is not used.  
- 
-  # WITH_CONTENT_SCAN = yes 
-  on  
- 
-  WITH_CONTENT_SCAN = yes 
-  # WITH_OLD_DEMIME = yes 
-  on  
- 
-  WITH_OLD_DEMIME = yes 
-  Here we include an option that will help Exim work with ClamAV and Spamassassin.  These are the same options that were not available prior to version 4.50.  He saved patch exiscan-acl.  
- 
-  # AUTH_CRAM_MD5 = yes  
-  # AUTH_PLAINTEXT = yes 
-  on  
- 
-  AUTH_CRAM_MD5 = yes  
-  AUTH_PLAINTEXT = yes 
-  Here we include of SMTP-authentication support for PLAIN and CRAM-MD5.  
- 
-  # SUPPORT_TLS = yes 
-  on  
- 
-  SUPPORT_TLS = yes 
-  Here we include TLS / SSL support for secure connection.  
- 
-  # TLS_LIBS = -lssl -lcrypto 
-  on  
- 
-  TLS_LIBS = -lssl -lcrypto 
-  Here we specify the names of libraries for TLS / SSL.  
- 
-  # LOG_FILE_PATH = / var / log / exim_% slog 
-  on  
- 
-  LOG_FILE_PATH = / var / log / exim / exim_% slog 
-  Putting log files to a separate directory.  
- 
-  EXICYCLOG_MAX = 10 
-  on  
- 
-  EXICYCLOG_MAX = 20 
-  Number of saved log files do I increase to 20 in the event debriefing with his superiors: "Where's my letter, which I sent two weeks ago?"  
- 
-  # EXIM_PERL = perl.o 
-  on  
- 
-  EXIM_PERL = perl.o 
-  Here we include support perl, to ensure the use of Perl-compatible regular expressions, etc ...  
- 
-  # CHOWN_COMMAND = / usr / bin / chown 
-  on  
- 
-  CHOWN_COMMAND = / usr / sbin / chown 
-  Here we specify the correct path to the chown command.  
- 
-  # SUPPORT_MOVE_FROZEN_MESSAGES = yes 
-  on  
- 
-  SUPPORT_MOVE_FROZEN_MESSAGES = yes 
-  Here we include support for the automatic movement "frozen" posts of the input directories and directories msglog Finput and Fmsglog main spool.  
-</file> 
- 
- 
-Save the changes.  It remains to compile and install Exim.  
- 
-<code bash> 
-make  
-su  
-make install 
-</code> 
- 
-After the installation is complete, you need to create a symbolic link, this will do the following:  
- 
-<code bash> 
-ln -fs /usr/local/exim/bin/exim /usr/lib/sendmail  
-ln -fs /usr/local/exim/bin/exim /usr/sbin/sendmail  
-ln -fs /usr/local/exim/bin/exim /usr/bin/mailq  
-ln -fs /usr/local/exim/bin/exim /usr/bin/runq  
-</code> 
- 
-After that you want to remove from the object files Exim table name and line number information for this issue:  
- 
-<code bash> 
-strip /usr/local/exim/bin/exim*  
-exit 
-</code> 
- 
-Before configuring Exim, you need to create a database, the user and the appropriate table for this issue:  
- 
  
exim4/install_exim4_complete.1478605783.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki