White
24th April 2008, 00:23
Ok, in order to make this how to work for me at all i had to remove the proxy: from the mysql statements in main.cf
virtual_mailbox_maps=proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
and make it look like this
virtual_mailbox_maps=mysql:/etc/postfix/mysql-virtual_mailboxes.cf
which is copied from Christoph Haas's tutorial falko has linked to in his tutorial.
and figure out that if i have virtual domains example.com and example2.com then my server is still mail.mydomain.tld for all my virtual domains.
The system is now creating mailboxes for domains i have created in mysql there are a couple of problems im encountering now,
i can send and receive emails from my virtualusers@mydomain.tld using mail.mydomain.tld and i can send emails to my new virtualdomains.com to activate them.
i can mail in to mydomain.tld from outside my network but if i send a mail to my@example1.com and my@example2.com then somewhere from the other day is a cached email forwarding address that i inputted wrong and the emails fail and get returned to the external email address. Does anyone know in which file or db these cached addresses are so i can delete it, and no its not in mysql mail database. see below
from hotmail mailer-daemon
wronguser@hotmail.com(generated from admin@example1.com)SMTP error from remote mail server after RCPT TO:<wronguser@hotmail.com>:host mx3.hotmail.com [65.54.244.200]: 550 Requested action not taken:mailbox unavailable
now from this line above i think in know that this domain is working (generated from admin@example1.com)
and i have my@example3.com working and sending and receiving emails into and out of my network so it has to be this hidden cached file from the other day.
Hope what i have done might work for others who have difficulty with this how to aswell but like always no guarantees.
virtual_mailbox_maps=proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
and make it look like this
virtual_mailbox_maps=mysql:/etc/postfix/mysql-virtual_mailboxes.cf
which is copied from Christoph Haas's tutorial falko has linked to in his tutorial.
and figure out that if i have virtual domains example.com and example2.com then my server is still mail.mydomain.tld for all my virtual domains.
The system is now creating mailboxes for domains i have created in mysql there are a couple of problems im encountering now,
i can send and receive emails from my virtualusers@mydomain.tld using mail.mydomain.tld and i can send emails to my new virtualdomains.com to activate them.
i can mail in to mydomain.tld from outside my network but if i send a mail to my@example1.com and my@example2.com then somewhere from the other day is a cached email forwarding address that i inputted wrong and the emails fail and get returned to the external email address. Does anyone know in which file or db these cached addresses are so i can delete it, and no its not in mysql mail database. see below
from hotmail mailer-daemon
wronguser@hotmail.com(generated from admin@example1.com)SMTP error from remote mail server after RCPT TO:<wronguser@hotmail.com>:host mx3.hotmail.com [65.54.244.200]: 550 Requested action not taken:mailbox unavailable
now from this line above i think in know that this domain is working (generated from admin@example1.com)
and i have my@example3.com working and sending and receiving emails into and out of my network so it has to be this hidden cached file from the other day.
Hope what i have done might work for others who have difficulty with this how to aswell but like always no guarantees.