Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## main.cf
- smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
- biff = no
- append_dot_mydomain = no
- readme_directory = no
- myhostname = mydomain.com
- alias_maps = hash:/etc/aliases
- alias_database = hash:/etc/aliases
- myorigin = /etc/mailname
- mydestination = mydomain.com, localhost
- relayhost =
- mynetworks = 127.0.0.0/8
- mailbox_size_limit = 0
- recipient_delimiter = +
- inet_interfaces = all
- inet_protocols = all
- home_mailbox = Maildir/
- #virtual_mailbox_domains = mydomain.com
- virtual_mailbox_base = /var/mail/vhosts
- virtual_mailbox_maps = hash:/etc/postfix/vmailbox
- virtual_minimum_uid = 100
- virtual_uid_maps = static:5000
- virtual_gid_maps = static:5000
- ## vmailbox
- info@mydomain.com mydomain.com/info/
- ## Commands
- $ mkdir -p /var/mail/vhosts/info
- $ postmap /etc/postfix/vmailbox
- $ /etc/init.d/postfix restart
- $ sendmail info@mydomain.com
- subject: Test
- ^D
- ## /var/log/mail.info
- Feb 23 13:34:12 dell postfix/pickup[7512]: 7F4B21B70D54: uid=0 from=<root>
- Feb 23 13:34:12 dell postfix/cleanup[20132]: 7F4B21B70D54: message-id=<20090223133412.7F4B21B70D54@mydomain.com>
- Feb 23 13:34:12 dell postfix/qmgr[7510]: 7F4B21B70D54: from=<root@mydomain.com>, size=289, nrcpt=1 (queue active)
- Feb 23 13:34:12 dell postfix/local[20155]: 7F4B21B70D54: to=<info@mydomain.com>, relay=local, delay=9.5, delays=9.5/0.01/0/0.03, dsn=5.1.1, status=bounced (unknown user: "info")
- Feb 23 13:34:12 dell postfix/cleanup[20132]: 9C43A1B70D58: message-id=<20090223133412.9C43A1B70D58@mydomain.com>
- Feb 23 13:34:12 dell postfix/bounce[20157]: 7F4B21B70D54: sender non-delivery notification: 9C43A1B70D58
- Feb 23 13:34:12 dell postfix/qmgr[7510]: 7F4B21B70D54: removed
- Feb 23 13:34:12 dell postfix/qmgr[7510]: 9C43A1B70D58: from=<>, size=1941, nrcpt=1 (queue active)
- Feb 23 13:34:12 dell postfix/local[20155]: 9C43A1B70D58: to=<joe@mydomain.com>, orig_to=<root@mydomain.com>, relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to maildir)
- Feb 23 13:34:12 dell postfix/qmgr[7510]: 9C43A1B70D58: removed
Add Comment
Please, Sign In to add comment