LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Sendmail configuration (domain name+virtusertable) (https://www.linuxquestions.org/questions/linux-software-2/sendmail-configuration-domain-name-virtusertable-157823/)

bulzbb 03-15-2004 01:52 AM

Sendmail configuration (domain name+virtusertable)
 
Hi,

I'm just wondering, currently when I send an email, the email address other people see is user@host.domain.com . What I wanted is user@domain.com , without the host. Is this possible? Know a documentation which talks about this? I have no luck so far.

Another thing is with virtusertable. Say a shell account called 'user' has been created in shell. I've read a documentation said that I need to edit virtusertable file, which looks like this:

user.name@domain.com user@domain.com

What I wanted is so that my email address is changed to user.name@mydomain.com . But when I try to send email (say from outlook express), and use user.name@mydomain.com , an error popped up. Did I do it wrongly?

And if that works, if I send email through shell (using 'user' as the username) to others, will they see the email from user.name@domain.com or user@domain.com ?

Thanks. :)

csm 03-16-2004 12:08 PM

Re: Sendmail configuration (domain name+virtusertable)
 
Quote:

Originally posted by bulzbb
Hi,

I'm just wondering, currently when I send an email, the email address other people see is user@host.domain.com . What I wanted is user@domain.com , without the host. Is this possible? Know a documentation which talks about this? I have no luck so far.

Another thing is with virtusertable. Say a shell account called 'user' has been created in shell. I've read a documentation said that I need to edit virtusertable file, which looks like this:

user.name@domain.com user@domain.com

What I wanted is so that my email address is changed to user.name@mydomain.com . But when I try to send email (say from outlook express), and use user.name@mydomain.com , an error popped up. Did I do it wrongly?

And if that works, if I send email through shell (using 'user' as the username) to others, will they see the email from user.name@domain.com or user@domain.com ?

Thanks. :)

Investigate the use of the genericstable at this URL:

http://www.sendmail.org/virtual-hosting.html

bulzbb 03-16-2004 05:35 PM

I already got this working, when I tried it first, I forgot to makemap the virtusertable file. :) THanks for the url anyway. :)


All times are GMT -5. The time now is 01:33 PM.