Difference between revisions of "Postfix"

From CBLFS
Jump to navigationJump to search
(New page: {| style="text-align: left; background-color: AliceBlue;" |- !Download Source: | http://gd.tuwien.ac.at/infosys/servers/isc/dhcp/dhcp-{{Dhcp-Version}}.tar.gz |} {| style="text-align: left;...)
 
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| http://gd.tuwien.ac.at/infosys/servers/isc/dhcp/dhcp-{{Dhcp-Version}}.tar.gz
+
| http://www.mirrorspace.org/postfix/official/postfix-2.3.3.tar.gz
|}
 
{| style="text-align: left; background-color: AliceBlue;"
 
|-
 
!Download Patch:
 
| http://svn.cross-lfs.org/svn/repos/patches/dhcp/dhcp-{{Dhcp-Version}}-iproute2-1.patch
 
 
|}
 
|}
 +
  
 
----
 
----
  
== Introduction to DHCP ==
+
== Introduction to Postfix ==
  
The DHCP package contains both the client and server programs for DHCP. '''dhclient''' (the client) is useful for connecting your computer to a network which uses DHCP to assign network addresses. '''dhcpd''' (the server) is useful for assigning network addresses on your private network.
+
The Postfix package contains a Mail Transport Agent.
  
 
== Dependencies ==
 
== Dependencies ==
  
=== Required (If not using the iproute2 patch) ===
+
=== Required ===
* [[NetTools]]
+
 
 +
=== Optionial==
 +
 
 +
* [[PCRE]]
 +
* [[MySQL]]
 +
* [[PostgreSQL]]
 +
* [[OpenLDAP]]
 +
* [[OpenSSL]]
 +
* [[CyrusSASL]]
 +
* [[cdb]] or [[TinyCDB]]
  
  

Revision as of 00:53, 18 March 2007

Download Source: http://www.mirrorspace.org/postfix/official/postfix-2.3.3.tar.gz



Introduction to Postfix

The Postfix package contains a Mail Transport Agent.

Dependencies

Required

= Optionial


User Add

groupadd -g 32 postfix &&
groupadd -g 33 postdrop &&
useradd -c "Postfix Daemon User" -d /dev/null -g postfix \
-s /bin/false -u 32 postfix &&
chown -v postfix:postfix /var/mail

Non-Multilib

Compile the package:

make makefiles \ CCARGS='-DDEF_DAEMON_DIR=\"/usr/lib/postfix\" \

-DDEF_MANPAGE_DIR=\"/usr/share/man\" \
-DDEF_HTML_DIR=\"/usr/share/doc/postfix-2.3.3/html\" \
-DDEF_README_DIR=\"/usr/share/doc/postfix-2.3.3/README\" 
<additional args>' \
<AUXLIBS='additional args'> '

TLS Authentication

CCARGS='-DUSE_TLS -I/usr/include/openssl'
AUXLIBS='-L/usr/lib -lssl -lcrypto'

To use TLS you will also need Cyrus SASL-2.1.21.

Cyrus-SASL

CCARGS='-DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl'
AUXLIBS='-L/usr/lib -lsasl2'

OpenLDAP

CCARGS='-I/usr/include -DHAS_LDAP'
AUXLIBS='-L/usr/lib -lldap -llber'

MySQL

CCARGS='-DHAS_MYSQL -I/usr/include/mysql'
AUXLIBS='-L/usr/lib -lmysqlclient -lz -lm'

PostgreSQL

CCARGS='-DHAS_PGSQL -I/usr/include/postgresql'
AUXLIBS='-L/usr/lib -lpq -lz -lm'

TinyCDB

CCARGS='-DHAS_CDB'
AUXLIBS='</path/to/CDB>/libcdb.a'

Install the package

sh postfix-install -non-interactive

Multilib

32Bit

N32

64Bit

BootScript

Install the init script included in the blfs-bootscripts package.

make install-dhcp
Retrieved from "?title=Postfix&oldid=8329"