Skip to content

Instantly share code, notes, and snippets.

@hidepin
Last active November 7, 2018 12:56
Show Gist options
  • Save hidepin/70eb6a7e2bf103aa9a7be36596b0c08f to your computer and use it in GitHub Desktop.
Save hidepin/70eb6a7e2bf103aa9a7be36596b0c08f to your computer and use it in GitHub Desktop.

このログはなに?

Sep 23 23:36:43 iscsiinitiator01 <mail.info> postfix/postfix-script[12133]:the Postfix mail system is running: PID: 30525
Sep 23 23:36:53 iscsiinitiator01 <mail.info> postfix/postfix-script[12607]:the Postfix mail system is running: PID: 30525
Sep 23 23:37:04 iscsiinitiator01 <mail.info> postfix/postfix-script[13081]:the Postfix mail system is running: PID: 30525
Sep 23 23:37:14 iscsiinitiator01 <mail.info> postfix/postfix-script[13564]:the Postfix mail system is running: PID: 30525
Sep 23 23:37:25 iscsiinitiator01 <mail.info> postfix/postfix-script[14037]:the Postfix mail system is running: PID: 30525
Sep 23 23:37:35 iscsiinitiator01 <mail.info> postfix/postfix-script[14511]:the Postfix mail system is running: PID: 30525
Sep 23 23:37:46 iscsiinitiator01 <mail.info> postfix/postfix-script[14986]:the Postfix mail system is running: PID: 30525

こんな設定

main.cf

virtual_mailbox_domains = func.org
virtual_mailbox_maps = hash:/etc/postfix/virtual-mailbox
virtual_uid_maps = static:3001
virtual_gid_maps = static:3001
virtual_mailbox_base = /opt/ap/share/home/sample

virtual-mailbox

[email protected]   func.org/hoge/Maildir/
[email protected]    func.org/foo/Maildir/
[email protected]    func.org/bar/Maildir/

postmap 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment