[SLE] Sendmail and Virtual hosts (problem)
![](https://seccdn.libravatar.org/avatar/01a32ddb8096e3a1006797fa00a28527.jpg?s=120&d=mm&r=g)
Hi, I hope someone can help me to sort out this (urgent and tricky) one. After upgrading my server from SuSE 5.3 to 6.2 I have a problem with Sendmail 8.9.3 and new security scheeme for mail relaying. I have put a lot of effort into solving but without satisfactional success. The server hosts several virtual domains (IP aliasing) of which none dial the box direct, but via their ISP - and this seam to be a part of the problem. They can't send mail if I not out their ISP domain into the relay-domains file in /etc/mail but I don't think that's a good idea. Also, if I do so the domain part (their virtual) of the mailaddress is changed to the one with the lowest IP-address - which also is the original domain name given to the boxs real network interface. The hostname though is the one given in the MX record of that domain (an A record with an uniqe IP address but not the true hostname which have its own IP). I have read most pages in the Sendmail book (looked through the rest) and gained a much better understanding of Sendmail and its functioning, but can't really find anything fitting into this. The sendmail.cf file is basicly setup by Yast and I have then added Fw/etc/sendmail.cw where all the domains is listed. The virtusertable is setup as it should (I'm pretty sure). I also have tried to put them into the access database, but with no effect. I have tried to setup the generictable database to deal with the second problem above, which as I understand shall map the users domain part into the return address part of the mail header. But it don't! As far as I understand all thouse Features is activated in the sendmail.cf file (with the -o option). The main problem though seam to be that they are "identified" as be "user@dialup-isp.com" rather then "user@virtual.domain.com" when they send mail and as that is considered by Sendmail to relay mail to a third party "user@domain.com". I also been trough the named setup and zonefiles (Bind 8.2.2), read the book DNS and BIND, but can't see I can do it differently there, but I don't exclude DNS also be a part of the problem. All zonefiles are practically identical in layout, except for root.hint and the ARPA once, and one which also list the real host as being dns server for the others as well as list an other A record on its own IP being used as MX for that domain. I hope this is enough to atleast give a understandable discription of the problem AND some out there have at least a hint to trow in. If more details needed just tell. Thanks, Joakim -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
![](https://seccdn.libravatar.org/avatar/14410ce137a3b89dbd37df099e06571b.jpg?s=120&d=mm&r=g)
Joakim said: [snip]
The virtusertable is setup as it should (I'm pretty sure).
I also have tried to put them into the access database, but with no effect.
I have tried to setup the generictable database to deal with the second problem above, which as I understand shall map the users domain part into the return address part of the mail header. But it don't!
As far as I understand all thouse Features is activated in the sendmail.cf file (with the -o option).
Just a thought.. you rebuilt the *.db files after changing the text files, and restarted sendmail?
The main problem though seam to be that they are "identified" as be "user@dialup-isp.com" rather then "user@virtual.domain.com" when they send mail and as that is considered by Sendmail to relay mail to a third party "user@domain.com".
If you haven't already you might want to take a look at the FAQ in /usr/doc/packages/sendmail/FAQ.part1.sendmail. In particular, Q3.7 "How do I manage several (virtual) domains?" looks promising. I don't know that that's The Solution for your problem(s), but it might give you a clue or two. Sorry I can't give you a more direct answer to your questions.. I'm far from a sendmail wizard myself. -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
participants (2)
-
jmgrant@primenet.com
-
joakim@astrocalc.com