Postfix Virtual Host Mailing List

Postfix Virtual Host Mailing List

I'm setting up a email server using Postfix as the MTA and the users data reside in the OpenLDAP. We used Postfix Virtual Domain configure in Linux Centos 5.

The problem that bugging us is how to create a mailing list address. For example [email protected] will send email to all the users in the email system.

What we have done.

(1) Create a text file that contain all the email addresses and put it under /etc/postfix or /usr/local/etc/postfix for FreeBSD.

[email protected]
[email protected]
(2) Add this lines inside /etc/aliases
# all Users
all-users: :include:/etc/postfix/all-users.txt
(3) Add inside /etc/postfix/virtual
[email protected] [email protected]

[email protected] all-users

We want to control email that send to [email protected]. The email address [email protected] will be used officialy to send email to all the users but it will be forward to [email protected].

Email will be resend using bcc by email address [email protected]

-------- Postfix example

# For Virtual Domain

virtual_alias_maps = ldap:/etc/postfix/

virtual_transport = virtual
virtual_mailbox_base = /var/mail/vmail
virtual_mailbox_limit = 512000000
virtual_mailbox_maps = ldap:/etc/postfix/
virtual_alias_maps = hash:/etc/postfix/virtual
virtual_mailbox_domains =
virtual_minimum_uid = 1000
virtual_uid_maps = static:2033
virtual_gid_maps = static:548
virtual_create_maildirsize = yes
virtual_mailbox_extended = yes

Popular Posts


64bit Activity Adempire advocate Akta Apache ASAS Azam backup backuppc Bash Beowulf Big Data Broadband Budget Centos Cinta Cluster CMS cmsfornerd Company Complain computer Computer Operation Conference Contest Data Centre Operation DBmail Digg Digital Certification Discussion Group Django DNS Docker Domain Duit Online Economy Elastic Stack Elasticsearch ELK email email server English Evangelist Events Family Tree Fedora File System Firefox Foss FreeBSD FTX Gesaan Gluster Gmail Google Google App GTUG Hacking Hadoop hafnie Harisfazillah Jamel horde HP-UX hwclock IBM ICT Service Delivery and Operation Indonesia Internet Internet Tools Itanium Jabatan IT Negara Jaring Java Javascript Jepun Jiwang Joke Joomla K3S K3Sup Kernel Kesihatan Kibana KOSTEM Kubernetes ldap Linux Linux Counter linuxmalaysia Logstash Love Mailman MailScanner Mailwatch Malay Malaysia MAMPU MDeC meetup Melaka Melayu Merdeka Microsoft Migration mirror sites Money Online Monitor MOSC 2010 MOSC2010 mosc2011 MOSC2013 MOSCMY MOSCMY2014 MOSCMY2015 Mozilla MPI MSC Malaysia MSC Malaysia OSCONF MSCOSCONF My Love MyGOSSCON MyMeeting Mypenguin99 mysql Nagios NagiosQL Negaraku nss_ldap ntp OBW2014 Open Office Open Source openldap OpenStack Opera OS2 OS400 OSCC OSCC MAMPU OSS OSS Policy OWASP Parallel Computing People Power Personal Petition PGP PHP Pligg Podman Politik Postfix Postgresql Programming Proxmox Python q1moscmy2015 Questionnaires Research Research tools RPM SASSIAN Sassian 85-89 Sassians 85-89 SCO Security Sekolah Sekolah Alam Shah Shell script Software License Solaris SongketMail SongketMailFilter sourceforge spam spamassassin Spoof Survey SVR4 System Tools Technorati Terjemahan Terminal TMnet Tor Training translation Treasury Malaysia Trend Micro Twitter Ubuntu Unix Virtualization VMS VOIP Wang Web Server Windows Zimbra

LinuxMalaysia Mastodon