Hi All,
I have implemented virtual users (user without system account) in
postfix on Centos but not working.
I have done below things in main.cf file
# vim /etc/postfix/main.cf
myhostname = example.com
mydomain = example.com
myorigin = $mydomain
inet_interfaces = all
inet_protocols = all
mydestination = $myhostname, localhost.$mydomain,
localhost, $mydomain
virtual_mailbox_domains = .
virtual_mailbox_maps = hash:/etc/postfix/vmailbox
virtual_mailbox_base = /vmail
virtual_uid_maps =
static:5000 ## i created vmail
account and set uid and gid 5000
virtual_gid_maps = static:5000
# service postfix restart
# vim /etc/postfix/vmailbox
[email protected] example.com/test
# postmap /etc/postfix/vmailbox
# mail [email protected]
But i am getting *status=bounced (unknown user: "test")* in *
"/var/log/maillog"*
Jul 16 15:34:04 iitb-st postfix/pickup[8012]: 42C8829608CE: uid=0
from=<root>
Jul 16 15:34:04 iitb-st postfix/cleanup[8060]: 42C8829608CE: message-id=<
[email protected]>
Jul 16 15:34:04 iitb-st postfix/qmgr[8013]: 42C8829608CE: from=<
[email protected]>, size=480, nrcpt=1 (queue active)
Jul 16 15:34:04 iitb-st postfix/local[8062]: 42C8829608CE: to=<
[email protected]>, relay=local, delay=0.3, delays=0.19/0.04/0/0.07,
dsn=5.1.1, *status=bounced (unknown user: "test")*
Jul 16 15:34:04 iitb-st postfix/cleanup[8060]: 762DE29608E2: message-id=<
[email protected]>
Jul 16 15:34:04 iitb-st postfix/bounce[8063]: 42C8829608CE: sender
non-delivery notification: 762DE29608E2
Jul 16 15:34:04 iitb-st postfix/qmgr[8013]: 762DE29608E2: from=<>,
size=2308, nrcpt=1 (queue active)
Jul 16 15:34:04 iitb-st postfix/qmgr[8013]: 42C8829608CE: removed
Jul 16 15:34:04 iitb-st postfix/local[8062]: 762DE29608E2: to=<
[email protected]>, relay=local, delay=0.18, delays=0.07/0/0/0.11,
dsn=2.0.0, status=sent (delivered to maildir)
Jul 16 15:34:04 iitb-st postfix/qmgr[8013]: 762DE29608E2: removed
Please help me to resolve this issue.
--
*Thanks & Regards
Manivel Rajendran
System Administrator
*
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
ILUGC Mailing List Guidelines:
http://ilugc.in/mailinglist-guidelines