I have postfix setup with mysql and openssl and Dovecot. I have this mail server that works. I can send e-mails out and get e-mails. Here is the problem. Postfix when first installed uses the postfix system default. So my FreeBSD 8.1 users created with the OS like root, www, postfix, home folder user etc. I have my home folder user to be aaron. Now that's great and dandy but the default users created are with those that are users of the OS. so those mail gets stored in /var/mail location.
Yet, I have a mysql table that creates users or store users and their passwords. I created the user aaron and its mail is stored in /usr/local/virtual. Now I can send mail and recieve mail but for aaron it goes to /var/mail the default location. I then created another user named bob. his mail is stored at /usr/local/virtual. So both can't receive e-mails from the outside. It seems that postfix uses the default tree or table to route mail internally rather then use the mysql database table.
Any ideas on what to do?
When I try using my aol account to send mail or reply to e-mails sent by my bob user from my website here is what the errors say:
I am using my mysql table to create virtual users and mailboxes. So I don't understand what this error means. It looks like it's checking the local table or postfix postmap for user bob. But dosen't find user bob. I have the user in mysql database but don't have the user created in the OS.
Any ideas?
Yet, I have a mysql table that creates users or store users and their passwords. I created the user aaron and its mail is stored in /usr/local/virtual. Now I can send mail and recieve mail but for aaron it goes to /var/mail the default location. I then created another user named bob. his mail is stored at /usr/local/virtual. So both can't receive e-mails from the outside. It seems that postfix uses the default tree or table to route mail internally rather then use the mysql database table.
Any ideas on what to do?
When I try using my aol account to send mail or reply to e-mails sent by my bob user from my website here is what the errors say:
Code:
reason: 550 5.1.1 <bob@domain>: Recipient address rejected:
User unknown in local recipient table)
I am using my mysql table to create virtual users and mailboxes. So I don't understand what this error means. It looks like it's checking the local table or postfix postmap for user bob. But dosen't find user bob. I have the user in mysql database but don't have the user created in the OS.
Any ideas?