登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

欢迎光临我的博客

 
 
 

日志

 
 

install postfix package on solaris  

2011-01-06 16:17:47|  分类: 邮件服务 |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |

This Postfix package depends only on packages which are shipped with Solaris and it's to replace Solaris' Sendmail with Postfix. Please uninstall SUNWsndmr and SUNWsndmu before you install Postfix.
The package was compiled with Sun Studio 12 and it supports OpenSSL and LDAP (native Solaris libraries).

This package will automaticaly add the required Postfix user and group to the system and register the SMF manifest. Please feel free to contact me for suggestions or bug reports: ihsan@dogan.ch.

Howto install:
This package is to replace Sendmail on Solaris, so you have to uninstall first Sendmail:
# svcadm disable sendmail

# svcadm disable svc:/network/sendmail-client

# pkgrm SUNWsndmu
# pkgrm SUNWsndmr

Uncompress the file with bunzip2 and then install the package with pkgadd:
# bunzip2 CNDpostfix-2.4.6,REV=080102-SunOS5.10-sparc.pkg.bz2
# pkgadd -d CNDpostfix-2.4.6,REV=080102-SunOS5.10-sparc.pkg CNDpostfix

Now you can change /etc/postfix/main.cf according to your needs and start Postfix with:
# svcadm enable svc:/network/postfix:default

Please have a look a the Postfix documentation.

Downloads:
Postfix 2.7.2, revision 101208 for Solaris 10 sparc
Postfix 2.7.2, revision 101208 for Solaris 10 x86

Postfix 2.6.2, revision 090607 for OpenSolaris 2009.06 x86 NEW! (experimental)

Additional information:

Upgrading:
Uninstall the package and then follow the installation instructions above:
# pkgrm CNDpostfix

Keeping up to date:
Follow me on Twitter

Building your own package:

The package which is provided here, is very generic. If you need a specific functionallity, you may want to build your own package. Please use the Postfix documentation to find out the right options to create the makefiles.

First set the linker options:
$ LD_OPTIONS="-L/opt/SUNWspro/lib -R/usr/sfw/lib -L/usr/sfw/lib" ; export LD_OPTIONS

Set the PATH variable:
$ PATH="/usr/bin:/usr/sfw/bin:/usr/ccs/bin" ; export PATH

Generate the makefiles
$ make makefiles CCARGS="-DUSE_TLS -DHAS_LDAP -lssl -lcrypto -lldap" \
-I/usr/sfw/include -I/usr/sfw/include/openssl AUXLIBS="-R/usr/sfw -L/usr/sfw"

Build Postfix
$ make

To build the package, just execute makePostfixPkg.sh in the Postfix source directory.
$ makePostfixPkg.sh

  评论这张
 
阅读(883)| 评论(0)

历史上的今天

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2018