View previous topic :: View next topic |
Author |
Message |
mariourk l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/17564073564d54f55cd1671.gif)
Joined: 11 Jul 2003 Posts: 807 Location: Urk, Netherlands
|
Posted: Wed Feb 18, 2004 10:30 pm Post subject: Postfix: problem with aliases |
|
|
When I add this line to /etc/mail/aliases
Code: |
mario@gbugroep.nl: mtennapel
|
I get the following error:
Code: |
postalias: warning: /etc/mail/aliases, line 71: name must be local
|
So, somehow my mailserver thinks that the gbugroep.nl domain is not a local domain. But is is though...
gbugroep.nl is in /etc/dnsdomainname and the domain-init-script is started. I also tried to add gbugroep.nl to /etc/hosts but noting seems
to work.
When I simply add this into /etc/mail/aliases:
it does work. But I need to put a full domain after the alias.
Does someone know how I can fix this??
Thanks |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
adaptr Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/17218567054377b9b6104ea.jpg)
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Wed Feb 18, 2004 10:53 pm Post subject: Re: Postfix: problem with aliases |
|
|
mariourk wrote: | But I need to put a full domain after the alias. |
Why ?
That is only required when you run multiple virtual mail domains.
In fact, it doesn't even work without them. _________________ >>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kashani Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/9629732313ee51df8c5935.jpg)
Joined: 02 Sep 2002 Posts: 2032 Location: San Francisco
|
Posted: Thu Feb 19, 2004 10:17 am Post subject: |
|
|
But did you tell postfix that your domain is local? I'd take a look at what you've got set for mydestination in your /etc/postfix/main.cf
Here's what mine looks like:
mydestination = $myhostname, localhost.$mydomain, $mydomain
kashani _________________ Will personally fix your server in exchange for motorcycle related shop tools in good shape. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mariourk l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/17564073564d54f55cd1671.gif)
Joined: 11 Jul 2003 Posts: 807 Location: Urk, Netherlands
|
Posted: Fri Feb 20, 2004 7:24 am Post subject: Re: Postfix: problem with aliases |
|
|
adaptr wrote: | mariourk wrote: | But I need to put a full domain after the alias. |
Why ?
That is only required when you run multiple virtual mail domains.
In fact, it doesn't even work without them. |
And that is exactly the case!
Soon there will be more domains added to this mailserver. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mariourk l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/17564073564d54f55cd1671.gif)
Joined: 11 Jul 2003 Posts: 807 Location: Urk, Netherlands
|
Posted: Fri Feb 20, 2004 7:27 am Post subject: |
|
|
kashani wrote: | But did you tell postfix that your domain is local? I'd take a look at what you've got set for mydestination in your /etc/postfix/main.cf
Here's what mine looks like:
mydestination = $myhostname, localhost.$mydomain, $mydomain
kashani |
Here is my "mydestination"
Code: |
mydestination = $myhostname, localhost.$mydomain, $mydomain, mail.$mydomain,
visserijnieuws.nl, urkerland.nl
|
The mailserver sees itself as the final_destination for gbugroep.nl, visserijnieuws.nl and urkerland.nl.
And this is the "mydomain" parameter
Code: |
mydomain = gbugroep.nl
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|