LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-29-2004, 08:00 AM   #1
collen
Member
 
Registered: Jun 2003
Location: /
Distribution: Fedora/Debian
Posts: 86

Rep: Reputation: 15
Postfix DNS issue


Got my mailserver up and running but not the way i want..!

i've got a domain name (dns record) "mail.test.nl" pointing to an
ip nr with a computername "zzz.test.nl"

in the main.cf config file, i told postfix that the dns is mail.test.nl
myhostname = mail.test.nl
mydomain = mail.test.nl
myorigin = mail.test.nl

but postfix keeps on using the default hostname (zzz.test.nl)
and there for the mail is not send, coz' zzz.test.nl is not a fqdns !!
how can i force Postfix to use real dns (mail.test.nl) instead of the local hostname ??

postconf show's the right name (mail.test.nl)
and postconf -d not (zzz.test.nl)

how can i make postfix mail ??
(i can recieve mail on the domain, it's sending that give the problem!)

Help Help Help Please.....

Greetings

Collen
 
Old 11-30-2004, 12:59 PM   #2
bastard23
Member
 
Registered: Mar 2003
Distribution: Debian
Posts: 275

Rep: Reputation: 30
What are the errors your are getting? Or is the queue just filling up? You should see errors in your log file (/var/log/mail or somesuch). Is the mail being rejected?

You probably just want collen@example.net, not collen@mail.example.net right? (I'm changing your test.nl to example.net, which is one of the "offical" example domains.)

1 Make sure the example.net has a MX record pointing to mail.example.net (Not your problem right now)
2. Take a look at ADDRESS_REWRITING_README in the postfix distrobution (on my debian box: /usr/share/doc/postfix/ADDRESS_REWRITING_README.gz)
3. postconf -e "masquerade_domains = example.net"
This will rewrite collen@zzz.example.net to collen@example.net

Hope this helps,
chris
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DNS issue or caching issue? AZDAVE Linux - Networking 7 10-02-2004 12:28 AM
postfix issue sixth_sense Linux - Networking 5 04-23-2004 02:06 PM
Postfix+fetchmail+DNS? DavidHayes Linux - Networking 4 01-29-2004 01:51 PM
Postfix+fetchmail+DNS? DavidHayes Linux - Networking 2 01-27-2004 07:50 AM
postfix issue jackw@brescia.e Linux - Software 1 01-12-2004 01:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration