Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
postfix local LAN server problems
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
-=Blade=-
n00b
n00b


Joined: 18 Nov 2002
Posts: 20
Location: Brisbane - Australia

PostPosted: Tue Feb 25, 2003 9:34 am    Post subject: postfix local LAN server problems Reply with quote

Hey guys,

Ok, I'm learning DNS/mail/etc... So far I've setup BIND/courier-imapd/postfix.

I've setup a little internal DNS so that I can ping computers like:
mail.littlelan
cool.littlelan
etc etc

littlelan is a list in bind. I can dig and ping these addresses no problemo.

Problem comes when I send email through postfix. In the error log /var/log/mail/current it shows the problem

... to=<root@littlelan.littlelan>, relay=none, delay=0, status=bounced (Name service error for name=littlelan.littlelan type=A: Host not found)

Yep I can understand why... but how do I make it that emails get sent to root@littlelan instead of root@littlelan.littlelan! It seems like postfix is renaming the addresses....

Any ideas?


Last edited by -=Blade=- on Tue Feb 25, 2003 10:50 pm; edited 1 time in total
Back to top
View user's profile Send private message
-=Blade=-
n00b
n00b


Joined: 18 Nov 2002
Posts: 20
Location: Brisbane - Australia

PostPosted: Tue Feb 25, 2003 10:47 pm    Post subject: Reply with quote

*bump*

I've got no idea....
Back to top
View user's profile Send private message
vicay
Tux's lil' helper
Tux's lil' helper


Joined: 29 Apr 2002
Posts: 97
Location: Dresden, Germany

PostPosted: Wed Feb 26, 2003 7:14 am    Post subject: Reply with quote

Hello,


what is your postfix myhostname, mydomain, settings.
did you specify an MX record for your local domains?

best regards

vicay
Back to top
View user's profile Send private message
TerminalAddict
Tux's lil' helper
Tux's lil' helper


Joined: 13 Feb 2003
Posts: 119

PostPosted: Wed Feb 26, 2003 7:17 am    Post subject: Reply with quote

also take a look at you postfix chrooted environment.

in Mandrake this can be found in /var/spool/postfix
specifically take a look at /var/spool/postfix/etc/hosts and /var/spool/postfix/etc/resolv.conf
Back to top
View user's profile Send private message
-=Blade=-
n00b
n00b


Joined: 18 Nov 2002
Posts: 20
Location: Brisbane - Australia

PostPosted: Wed Feb 26, 2003 12:07 pm    Post subject: Reply with quote

Hey guys!

Thanks so much for the response, and I found the answer today!

I just read a little on Postfix address manipulation and figured out the switch I need.

Thanks for the responses
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