Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Postfix: problem with aliases
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
mariourk
l33t
l33t


Joined: 11 Jul 2003
Posts: 807
Location: Urk, Netherlands

PostPosted: Wed Feb 18, 2004 10:30 pm    Post subject: Postfix: problem with aliases Reply with quote

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:
Code:

mario:      mtennapel

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
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Wed Feb 18, 2004 10:53 pm    Post subject: Re: Postfix: problem with aliases Reply with quote

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
View user's profile Send private message
kashani
Advocate
Advocate


Joined: 02 Sep 2002
Posts: 2032
Location: San Francisco

PostPosted: Thu Feb 19, 2004 10:17 am    Post subject: Reply with quote

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
View user's profile Send private message
mariourk
l33t
l33t


Joined: 11 Jul 2003
Posts: 807
Location: Urk, Netherlands

PostPosted: Fri Feb 20, 2004 7:24 am    Post subject: Re: Postfix: problem with aliases Reply with quote

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! :D
Soon there will be more domains added to this mailserver.
Back to top
View user's profile Send private message
mariourk
l33t
l33t


Joined: 11 Jul 2003
Posts: 807
Location: Urk, Netherlands

PostPosted: Fri Feb 20, 2004 7:27 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum