hello, mailboxes that i setup with ispconfig get stored in /var/vmail. I can send and recieve mails for my virtual domains fine. just for my server name its a bit diffrent: i fist set up a new mail domain which is equal to my hostname. mailboxes i set up for that mail domain will be created in /var/vmail as supposed. when there are incoming mails for that domain postfix tries to put them in /var/mail instead of /var/vmail. so only mails for one preconfigured mail account (i guess i set that up during installation) get delivered others will be rejected with "user unknown". i also cannot find the mailboxes in my IMAP/POP3 account since its loaded from /var/vmail... what might be configured incorrectly here? can anyone point me to where i can fix this? greetings
Do not use a domain that you want to use for email as server name as postfix does not support it to mix virtual and real system users. Reconfigure postfix to use a subdomain like mail.yourdomain.com instead of just yourdomain.com
So i am supposed to have this in /etc/postfix/main.cf myhostname = mail.mydomain.com instead of myhostname = mydomain.com ?