Hi, ok I already made threads on here asking for help about my setup. Currently I have postfix set up with mysql and dovecot. I created 2 rows of data in mysql that creates a virtual mail user. Well anyways I can use thunderbird e-mail client aka pop client. I can log in with these users accounts and I can send e-mails to other servers on the internet with aol, yahoo, gmail etc. Now the problem is when they try and reply back. My issue is that mail won't get delivierd to my server for these 2 mail users. I get an error saying something that it failed to lookup in the alias table for such a user. I checked my mysql connections and tested the postfix and it shows no errors.
So I don't think the config is messed up. I think I have no clue what type of information needs to be in the mysql database. So, I ask here can someone explain to me how mail is routed from an aol, yahoo, gmail account. To one of my account and what kind of information I need in my mysql database in order to have an operational account that can receive e-mails from the internet?
I have read many books many tutorials and spent about 4 years trying to get a working mail server. No book or tutorial I read explains what exactly I need in my mysql database, like for instance usernames can I just have it like bob? Or do I have to do it like this bob@domain.com? Do I have to use the mail record of my domain name as the mail address for the user? Something like bob@mail.domain.com? I am confused and notice all tutorials I have seen and most books about postfix don't go into great detail as to what kind of data is needed in the database and its format.
All it says would be here is the table for your domains and here is the table for you users information login information etc and path to mailbox or mail directory. I have those set up. I can login as a user for our example it be bob. Passwords are hashed. Every thing is working fine expect I can't receive e-mails. So something is wrong with how my server recieves the mail. Mainly I think the lookup tables are either setup wrong or I put wrong data or didn't but the data in the right format in the mysql database. I need someone to give me an example how mail will get sent to my mail server and how postfix actually delivers that mail. What does it look for meaning if I have it set up in mysql then I am sure the database table need to have such information.
How is it formatted? Also when they say domains what do they mean by that? My domain name? Or domain of the user? A.k.a. do they mean this: domain.com or do they mean bob@domain.com or do they mean: mail.domain.com or do they mean bob@mail.domain.com?
I am confused. Please do explain how postfix delivers it's mail? What tables would it look up and what kind of information it needs?
So I don't think the config is messed up. I think I have no clue what type of information needs to be in the mysql database. So, I ask here can someone explain to me how mail is routed from an aol, yahoo, gmail account. To one of my account and what kind of information I need in my mysql database in order to have an operational account that can receive e-mails from the internet?
I have read many books many tutorials and spent about 4 years trying to get a working mail server. No book or tutorial I read explains what exactly I need in my mysql database, like for instance usernames can I just have it like bob? Or do I have to do it like this bob@domain.com? Do I have to use the mail record of my domain name as the mail address for the user? Something like bob@mail.domain.com? I am confused and notice all tutorials I have seen and most books about postfix don't go into great detail as to what kind of data is needed in the database and its format.
All it says would be here is the table for your domains and here is the table for you users information login information etc and path to mailbox or mail directory. I have those set up. I can login as a user for our example it be bob. Passwords are hashed. Every thing is working fine expect I can't receive e-mails. So something is wrong with how my server recieves the mail. Mainly I think the lookup tables are either setup wrong or I put wrong data or didn't but the data in the right format in the mysql database. I need someone to give me an example how mail will get sent to my mail server and how postfix actually delivers that mail. What does it look for meaning if I have it set up in mysql then I am sure the database table need to have such information.
How is it formatted? Also when they say domains what do they mean by that? My domain name? Or domain of the user? A.k.a. do they mean this: domain.com or do they mean bob@domain.com or do they mean: mail.domain.com or do they mean bob@mail.domain.com?
I am confused. Please do explain how postfix delivers it's mail? What tables would it look up and what kind of information it needs?