View previous topic :: View next topic |
Author |
Message |
d0wn_under Guru
Joined: 13 Mar 2003 Posts: 300 Location: Sheffield, England
|
Posted: Wed Sep 29, 2004 12:01 pm Post subject: qmail sending to local users |
|
|
I have qmail setup and working fine both taking email from fetchmail and routing it to internal users and delivering mail from internal users out to the outside world but when I try to send mails internally, ie between users on my internal network, the internal domain name is wrong so the mails get bounced and end up at postmaster.
My internal domain is .int but when I send the mail it gets sent to
user@int.int
The problem is the extra int.
My control files contain:
me:
defaultdomain:
locals:
plusdomain:
rcpthosts:
virtualdomains
(empty meaning 0 bytes not the actual word empty)
Can anyone help? |
|
Back to top |
|
|
adaptr Watchman
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Wed Sep 29, 2004 2:00 pm Post subject: |
|
|
Quote: | My internal domain is .int |
..which is not possible.
Either it's domain.int or int.something. _________________ >>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen |
|
Back to top |
|
|
d0wn_under Guru
Joined: 13 Mar 2003 Posts: 300 Location: Sheffield, England
|
Posted: Wed Sep 29, 2004 2:22 pm Post subject: |
|
|
What do you mean?
The box it is running on is boxa so the FQDN for it is boxa.int
Doesn't that mean the domain is int and the hostname is boxa? |
|
Back to top |
|
|
DaveArb Guru
Joined: 29 Apr 2004 Posts: 510 Location: Texas, USA
|
Posted: Wed Sep 29, 2004 3:06 pm Post subject: |
|
|
d0wn_under wrote: | What do you mean? |
Period is an illegal character in a domain name. It is a separator between domain names (like "gentoo" and "org", for example).
Dae |
|
Back to top |
|
|
d0wn_under Guru
Joined: 13 Mar 2003 Posts: 300 Location: Sheffield, England
|
Posted: Wed Sep 29, 2004 3:22 pm Post subject: |
|
|
ok, so if I correct my question to:
Quote: | My internal domain is int but when I send the mail it gets sent to |
can anyone give me an answer now? |
|
Back to top |
|
|
adaptr Watchman
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Thu Sep 30, 2004 1:06 pm Post subject: |
|
|
Why are both me and defaultdomain set to int ?
Only the domain is int, right ?
So me should be the name of the mail system.
Code: | me = mail, domain = int |
means the machine name (according to qmail) will be mail.int.
Replace all the int's with a sensible hostname for the machine, except the one for defaultdomain - that's the only one that actually specifies a domain, the rest all refer to hostnames. _________________ >>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen |
|
Back to top |
|
|
d0wn_under Guru
Joined: 13 Mar 2003 Posts: 300 Location: Sheffield, England
|
Posted: Thu Sep 30, 2004 2:52 pm Post subject: |
|
|
By changing the me file to be "mail" and putting mail.int in my locals file I can now send mails internally on the box.
But mails are now addressed:
user@mail.int
rather than
user@int
This ties the mail to the machine not the internal domain.
It is closer and at least cron can now send mails!
Any more ideas? |
|
Back to top |
|
|
|