Koozali.org: home of the SME Server

e-mail account associating with virtual domain? advanced.

sx001

e-mail account associating with virtual domain? advanced.
« on: July 26, 2004, 02:35:49 PM »
Hi all. Greetings to the other SME server fans.
I must to tell that I'm a pretty new in this site, but already had customized my SME server very often and often. But now about the topic...

How can I associate some e-mail account with concrete virtual domain?
When receiving, for example foo@domain1.com foo@domain2.com are all received if there is a both domains in the system and the account named foo. Its ok, but when I send out e-mail the SME server associates every e-mail account with ONLY Primary domain name.

It is necessary to associate the virtualdomainname than primary site name in some cases.

Offline raem

  • *
  • 3,972
  • +4/-0
e-mail account associating with virtual domain? advanced.
« Reply #1 on: July 26, 2004, 02:44:12 PM »
You need a second mail server on a second sme server box
...

sx001

e-mail account associating with virtual domain? advanced.
« Reply #2 on: July 26, 2004, 03:08:39 PM »
but why cant the e-mail soft just associate concrete domain name with e-mail when sent out?
When receiving, it seems ok, and it shows the actual virtual domain name. that it dont require different e-mail server in another hardware box.

juakali

DNS
« Reply #3 on: July 27, 2004, 05:14:37 PM »
Hi,
I seem to be having the same problem. I have no problems receiving and distributing mail for accounts linked to my virtual domains, but sending mail is giving me problems. It seems that it is some sort of a DNS problem, I am a newbie when it comes to this. This is the error message one of the external clients receives when sending mail (to domains not hosted by myself) using his own ISP SMTP server.

Protocol: SMTP, Reactie van server: '550 5.1.8 invalid/host-not-in-DNS return address not allowed', Poort: 25, Beveiligd(SSL): Nee, Serverfout: 550, Foutnummer: 0x800CCC78

There must be a way around or more likely I am missing the obvious! Any help would be very much appreciated!!

cheers,
JuaKali :-(

Offline dayhat

  • ***
  • 45
  • +0/-0
    • http://dayhat.com
e-mail account associating with virtual domain? advanced.
« Reply #4 on: July 27, 2004, 09:09:41 PM »
Try this rpm, it will allow you to set each user to send and receive mail in its own v domain through a web panel in the server manager. To download it login as root in your server and then do a:
wget http://www.dayhat.com/e-smith-domain_mail_user-0.4-1.noarch.rpm
to install it do a:
rpm -ivh e-smith-domain_mail_user-0.4-1.noarch.rpm
After that open your web server manager and click on the domain user link and associate each user with it's own v-domain.

Dean
...

juakali

e-mail account associating with virtual domain? advanced.
« Reply #5 on: July 30, 2004, 09:16:29 AM »
The rpm allows me to link all usernames to all virtual domains, which is great. But one of my customers is still having trouble sending out mail through his own ISP (receiving is no problem). Can it be that they block all mail on port 25 which is not their own mail? Or is this a DNS related problem which I have to tackle in my SME?! Is it possible for him to use my SME as a smtp??

Any help would be greatly appreciated!!

cheers, Mark

Kan het bericht niet verzenden, omdat de server het e-mailadres van de afzender heeft geweigerd. Het e-mailadres van de afzender is user@domain2. Onderwerp 'test', Account: 'XXXX', Server: 'mail.xxx.nl', Protocol: SMTP, Reactie van server: '550 5.1.8 invalid/host-not-in-DNS return address not allowed', Poort: 25, Beveiligd(SSL): Nee, Serverfout: 550, Foutnummer: 0x800CCC78