i installed squirrelmail as webmail client with the plugin "virtusertable" to login with email@example.com
. It was very easy to install. Just creating a new webmail.example.com domain in ispconfig and deleting the co-domain with no host after this. I used the root web folder from this domain in ispconfig. All to do was to read the installation tips they come with squirrelmail and the plugin.
But my problem is, if i host virtual domains with ispconfig and use the webmail tool, in my case squirrelmail, to sent some mail, the "from:" adress is always the domain i installed squirrelmail into.
Postfix is using the virtualusertable and there the email adress is mapped to the virtual user. So Postfix cant find the real fqdn of the virtual user?
Ok, i can put the real name and reply-to adress in the webmail frontend, but thats not professionell, exspecially for new users.
In UebiMiau, the webmailer that comes with ispconfig, you have to fill out the real name and reply-to adress, too, otherwise you cant sent email. i am still wondering.
So, how to solve the problem, that the user of virtual domains have the "from" adress in the mail header in the beginning, and not after you filled out the fields in the frontend?
Here you see the code from /var/log/mail.log and example.com is the adress i installed squirrelmail into and not the real virtual domain from the user:
Mar 24 16:30:27 srv02 postfix/smtpd: connect from localhost.localdomain[127.0.0.1]
Mar 24 16:30:27 srv02 postfix/smtpd: D23F5498053: client=localhost.localdomain[127.0.0.1]
Mar 24 16:30:27 srv02 postfix/cleanup: D23F5498053: message-id=<firstname.lastname@example.org>
Mar 24 16:30:27 srv02 postfix/qmgr: D23F5498053: from=<email@example.com>, size=764, nrcpt=1 (queue active)
Mar 24 16:30:27 srv02 postfix/smtpd: disconnect from localhost.localdomain[127.0.0.1]
Mar 24 16:30:27 srv02 imaplogin: Connection, ip=[::ffff:127.0.0.1]
Mar 24 16:30:27 srv02 imaplogin: LOGIN, user=web6_ralph, ip=[::ffff:127.0.0.1], protocol=IMAP
Mar 24 16:30:27 srv02 imaplogin: LOGOUT, user=web6_ralph, ip=[::ffff:127.0.0.1], headers=0, body=0, time=0
Mar 24 16:30:28 srv02 imaplogin: Connection, ip=[::ffff:127.0.0.1]
thx and greetings cirox