tryingtolearn
08-10-2006, 03:36 AM
So I have a server running 7 different registered .coms using the PCBSD.
But every mailbox I have has @PCBSD.localhost for the email address. This is assigned automatically when I create the user and there is no way of telling it that the user is actually Tom@1mydomain1.com rather than Tom@2mydomain2.com during this setup process.
How can I have SIMPLE to and from email addressing working?
As I have it now I can receive email from Yahoo to any box at any address I want by using virtual mapping to say that when an email for Tom@1mydomain1.com comes in that it needs to go to Tom@PCBSD.localhost.
Then when I go to Tom@PCBSD.localhost's mailbox I will see the email FROM Yahoo.
BUT, when I try to send mail OUT to Yahoo. It is a little difficult as ALL of my email boxes have @PCBSD.localhost for a FROM email address.
What is the proper syntax for editting the genericstable to accomodate multiple domains email accounts?
And what other files need to be editted so that this system can actually handle outgoing email.
Also is there a better way to setup email accounts where they are defined with the address of the virtual domain or registered domain of my choice?
I am using sendmail only at this point and would like to see it work before adding anything else.
Thank you.
But every mailbox I have has @PCBSD.localhost for the email address. This is assigned automatically when I create the user and there is no way of telling it that the user is actually Tom@1mydomain1.com rather than Tom@2mydomain2.com during this setup process.
How can I have SIMPLE to and from email addressing working?
As I have it now I can receive email from Yahoo to any box at any address I want by using virtual mapping to say that when an email for Tom@1mydomain1.com comes in that it needs to go to Tom@PCBSD.localhost.
Then when I go to Tom@PCBSD.localhost's mailbox I will see the email FROM Yahoo.
BUT, when I try to send mail OUT to Yahoo. It is a little difficult as ALL of my email boxes have @PCBSD.localhost for a FROM email address.
What is the proper syntax for editting the genericstable to accomodate multiple domains email accounts?
And what other files need to be editted so that this system can actually handle outgoing email.
Also is there a better way to setup email accounts where they are defined with the address of the virtual domain or registered domain of my choice?
I am using sendmail only at this point and would like to see it work before adding anything else.
Thank you.