Hi Postfix Users, I am having some difficulty getting my mail to send where I'd like.
Our Postfix server supports a web application where the web app logs into Postfix with a username and password (where the username is actually a username - not username@domain). This has caused some issues on my end as I am using virtual users/domain. Currently, when I send an e-mail to t...@domain1.com, it places mail in /home/vmail/domain1.com/test/new. When I log in with my POP3 provider (Dovecot) as the e-mail address above, I can see the e-mail. Our web app seems to be creating a mailbox in /home/vmail/test/new - instead of the above.. assuming this is the way it does it because of the way it wants to log in. I can also log in to this mailbox - but obviously I see nothing. I need to be able to route all e-mail that anyone sends to t...@domain1.com to /home/vmail/test/new and NOT /home/vmail/domain1.com/test/new. Is it possible that virtual users/domains will not work in this situation and I will need to use system users instead? Here is my main.cf: [root new]# postconf -n alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix data_directory = /var/lib/postfix debug_peer_level = 2 debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd $daemon_directory/$process_name $process_id & sleep 5 home_mailbox = Maildir/ html_directory = no inet_interfaces = all inet_protocols = ipv4 local_recipient_maps = mail_owner = postfix mailq_path = /usr/bin/mailq.postfix manpage_directory = /usr/share/man mime_header_checks = regexp:/etc/postfix/mime_header_checks mydestination = $myhostname, localhost.$mydomain, localhost mydomain = domain myhostname = hostname mynetworks = 10.1.1.0/24, 127.0.0.0/8, 10.1.10.0/24 mynetworks_style = subnet myorigin = $mydomain newaliases_path = /usr/bin/newaliases.postfix notify_classes = resource, software, bounce queue_directory = /var/spool/postfix readme_directory = /usr/share/doc/postfix-2.11.0/README_FILES sample_directory = /usr/share/doc/postfix-2.11.0/samples sendmail_path = /usr/sbin/sendmail.postfix setgid_group = postdrop unknown_local_recipient_reject_code = 550 virtual_gid_maps = static:5000 virtual_mailbox_base = /home/vmail virtual_mailbox_domains = /etc/postfix/vhosts virtual_mailbox_maps = hash:/etc/postfix/vmaps virtual_minimum_uid = 1000 virtual_uid_maps = static:5000 If more information is needed, please feel free to let me know. Thanks, Joey -- View this message in context: http://postfix.1071664.n5.nabble.com/Mailbox-structure-help-tp66641.html Sent from the Postfix Users mailing list archive at Nabble.com.