LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Virtual Hosting Problems in Sendmail 8.11.6 (https://www.linuxquestions.org/questions/linux-general-1/virtual-hosting-problems-in-sendmail-8-11-6-a-27220/)

explorer1979 08-05-2002 03:59 AM

Virtual Hosting Problems in Sendmail 8.11.6
 
Hi all,

My snedmail have a problems when it in the virtual hosting mode.

My setting are show below:
Red Hat 7.2 with Sendmail 8.11.6
The mail server's name is "mail.time.com.hk" but it is using for be multi domain mail server.

And this mail server's "/etc/mail/local-host-names" are like this
mail.time.com.hk
time.com.hk
mail.freeland.com.fr
freeland.com.fr
mail.toycompany.com.cn
toycompany.com.cn

I just discover sendmail can't do it.

For example, I add a local user in this linux mail server, the username is "ricky"

When I send a e-mail to "ricky@time.com.hk", when open outlook express and enter the Username: ricky, POP3:

mail.time.com.hk, SMTP: mail.time.com.hk

It can received the e-mail

But .... if other send to ricky@toycompany.com.cn

When I still using these setting in Outlook Express Username: ricky, POP3: mail.time.com.hk, SMTP: mail.time.com.hk ...
I can received "ricky@toycompany.com.cn" all e-mail

Why sendmail not understand ricky@time.com.hk and ricky@toycompany.com.cn are not the same user in this linux box???

I am very trouble of it and don't know how to solve this problems.

I just want sendmail know than they are not same user, and who send a e-mail to "ricky@time.com.hk" just

"ricky@time.com.hk" can received it, not like "ricky@toycompany.com.cn" can received it.

Do anyone have the same trouble like me and how to solve it, please teach me step by step. Thanks

GAVollink 08-05-2002 01:52 PM

Sendmail is doing exactly what you told it to do. Sendmail is locally recieving all of this Email. It is then passing these Emails to the "local delivery agent". This is where sendmail looses control, and so do you...

Both POP3 and the Local Mail Delivery agent ( usually maildrop ) work on local users only. So the only thing these agents have to go on is that the user is indeed a local user.

You would need to customize both of these programs to be able to deal with a multi-homed environment first. This would take a book to explain the complexities.

THEN you would need to modify the sendmail configuration to invoke each multi-homed sensitive version of the maildrop program.

It would be MUCH simpler to simply run multiple boxes, and use local-configured sendmails on each.

Bottom line, without the complexities of POP3 and maildrop, The O'Reilly Sendmail book is over 1000 pages long.


All times are GMT -5. The time now is 07:25 PM.