LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Sendmail Outgoing Issues (https://www.linuxquestions.org/questions/linux-newbie-8/sendmail-outgoing-issues-180914/)

Sillysoft 05-12-2004 10:07 PM

Sendmail Outgoing Issues
 
I posted awhile back on this, wanted to try explaining it again and get some fresh eyes on this:

Say you are hosting multiple domains on one system running linux with sendmail 8.x. Now what if one domain has support@domain1.com and the other support@domain2.com

Normally you would create a local account support but since the name is needed for both you have to create different local names correct? So locally you create support1 and support2. Incoming you use virtualtable so for example support@domain1.com goes to support1 locally and then support@domain2.com goes to support2 locally.

That part works... I think. The part I need help with is outgoing email. When I send from support1 it needs to say support@domain1.com, and for support2 it needs to say support@domain2.com in the from address as well.

I cant seem to get that to work. I thought this was done using genericstable. But I cant seem to get it to work. I looked at the virtual hosting document on sendmail.org and did what was instructed but no matter what I did, when I sent from support1 mailbox, the receipient always sees support1@domain1.com instead of support@domain1.com.

Please Help!

Thanks
Silly

lapthorn 11-08-2004 01:30 PM

I had the same problem the genericstable feature wasn't working because the domain was 'our.sample.com' rather than 'sample.com' so it never found a match. I fixed the problem by adding the following feature:

FEATURE(`generics_entire_domain')dnl

Hope this helps


All times are GMT -5. The time now is 04:53 AM.