from
http://bbs.thu.edu.tw/cgi-bin/bbsanc?pa ... 16629210.A
&
http://www.bluelavalamp.net/owmvirtual/
&
http://www.vixual.net/wikka/wikka.php?w ... 2003061104
Set on a Mandrake Linux 10.1 Official
1.
urpmi vm-pop3d
2.
mkdir /var/spool/virtual/virtualdomain/
chown -R mail.mail /var/spool/virtual
chmod og+wt /var/spool/virtual/virtualdomain
3. 在 postfix 的 main.cf 底下增加
#Vm-pop3d
default_privs = mail
propagate_unmatched_extensions = virtual
virtual_mailbox_domains = dongliville.com.tw
virtual_mailbox_base = /var/spool/virtual
virtual_mailbox_maps = hash:/etc/postfix/virtual_mailbox
virtual_alias_maps = hash:/etc/postfix/virtual
4.
vi /etc/postfix/virtual_mailbox
加入 virtualdomain /var/spool/virtual/virtualdomain.com
完成後 postmap /etc/postfix/virtual_mailbox
*.
vi /etc/postfix/virtual
在最後加入
username@virtualdomain username.virtualdomain
5.
vi /etc/postfix/aliases
在最後加入
user /var/spool/virtual/virtualdomain/user
修改後 postalias /etc/postfix/aliases
7. 建立vm-pop3d的密碼檔
mkdir /etc/virtual/virtualdomain/
切換到 /etc/virtual/virtualdomain/
htpasswd -c passwd username
8.
重點是在內送郵件伺服器的帳號,請填入user@virtualdomain
密碼就用剛剛設定的userpassword
這樣就大功告成了!!!
ps
執行 htpasswd -c passwd username
這會建出 passwd 這個檔案
往後只要執行 htpasswd passwd new_user 就可以新增使用者
Vm-pop3d
前往
- Software
- ↳ CodeCharge Studio
- ↳ CodeCharge
- ↳ DemoCharge
- ↳ SuperPDF
- ↳ 551einv
- ↳ E3進銷存
- 程式語言
- ↳ PHP
- ↳ CodeLobster PHP Edition
- ↳ Yii
- ↳ CodeIgniter
- ↳ Phalcon
- ↳ Symfony
- ↳ FuelPHP
- ↳ Zend Framework 2
- ↳ laravel
- ↳ WordPress
- ↳ ASP.NET/C#
- ↳ ASP/VBScript
- ↳ JSP
- ↳ Java Servlets
- ↳ ColdFusion
- ↳ Perl
- ↳ Java Script
- ↳ jQuery
- ↳ HTML + CSS
- ↳ jQuery
- ↳ nodejs
- ↳ VB6
- ↳ Git
- ↳ App Inventor 2
- ↳ bash
- ↳ C++/ VC/ OpenCV
- ↳ OpenCV
- ↳ go
- ↳ cordova
- ↳ python
- ↳ Xamarin
- ↳ Assembly
- 資料庫
- ↳ MySQL
- ↳ PostgreSQL
- ↳ ORACLE
- ↳ Access
- ↳ SQL Server
- ↳ SQLite
- ↳ MariaDB
- ↳ Mongodb
- 作業系統
- ↳ Linux
- ↳ Ubuntu
- ↳ CentOS
- ↳ Mint
- ↳ Mandriva
- ↳ Debian
- ↳ Red Hat Enterprise Linux
- ↳ Oracle Linux
- ↳ Fedora
- ↳ Kali Linux
- ↳ OpenSUSE
- ↳ Elementary OS
- ↳ Microsoft
- ↳ Server 2008 R2
- ↳ Server 2012 R2
- ↳ Server 2012
- ↳ 8
- ↳ 10
- ↳ System Center 2016
- ↳ NOVELL
- ↳ FreeBSD
- ↳ VMware
- ↳ VirtualBox
- ↳ Mac OS X
- ↳ Solaris
- ↳ iOS
- ↳ Android
- ↳ Cloud
- ↳ OpenStack
- ↳ Docker
- ↳ Proxmox VE
- ↳ CloudReady
- ↳ chrome
- 網頁伺服器
- ↳ apache
- ↳ tomcat
- ↳ nginx
- ↳ IIS
- ↳ JBoss
- ↳ weblogic
- ↳ WebHosting
- 硬體
- ↳ 硬體及週邊
- ↳ RouterOS
- ↳ LEGO NXT
- ↳ Arduino
- ↳ MSP430
- ↳ Raspberry Pi
- ↳ OpenERP
- ↳ Storage
- ↳ Server
- ↳ Brocade
- ↳ MODELS
- ↳ FortiGate
- 軟體
- ↳ sublime
- ↳ LibreNMS