Re: Postfix DNS-problem

2004-10-12 Thread Florian Rossol
Hi,

On Sat, Oct 02, 2004 at 04:10:01AM +0200, Rosenegger, Korbinian wrote:
  I have trouble setting up Postfix (2.1.4-5) sending mail (receiving
  mail works fine) on an up to date sarge system.
  
  I have no local DNS-server running on that machine. DNS queries with
  dig or host works fine!
  
  My Problem: When I try to send mail with Postfix (i.e. to
  [EMAIL PROTECTED]), Postfix starts a correct DNS-query for the
  MX-Record of web.de. (I have done a tcpdump to verify that). Postfix
  also gets the correct answer (mx-ha01.web.de in this example).
  
  But than postfix didn't start a DNS-query for the A-Record of the
  MX-Host (as I can see in the output from tcpdump). Instead Postfix
  writes to syslog:
  
  Sep 28 17:34:56 host postfix/smtp[12455]: warning: no MX host for web.de has a 
  valid A record
  
  Why can Postfix start an correct DNS-query for the MX-Record but isn't
  going to ask the DNS-server for the A-Record of the MX-Host?
 
 
 I just had exactly the same problem, took about an hour to find the problem. 
 Just before the problem first appears i remounted /var with the noexec flag. 
 Remounting without this flag solved the problem. I hope this information 
 helped you.

sorry for my very late answere, but I was very busy last week. That
was exactly the problem. Now everything works fine!

Thanks a lot

Florian


-- 
 gpg-key: http://yola.in-berlin.de/rossol.gpg 
 
 Bitte keine Dateien in proprietären Formaten versenden.
 Siehe http://www.fsf.org/philosophy/no-word-attachments.de.html
   


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Postfix DNS-problem

2004-10-01 Thread suela
I had this problem a few weeks ago. I don't know exactly why it was
happen.

My solution (it worked for me):
$ rm -rf /var/spool/postfix
$ apt-get --reinstall install postfix

I didn't find the error, so i reinstall postfix. I know it isn't the
best solution, but it work :-)


El jue, 30-09-2004 a las 16:32 +0200, Florian Rossol escribió:
 On Wed, Sep 29, 2004 at 09:45:03PM +0200, Emmanuel Lacour wrote:
  Maybe your postfix is chrooted (in /var/spool/postfix) and maybe the
  /var/spool/postfix/etc/resolv.conf is not up to date with your
  /etc/resolv.conf?
 
 No, it isn't chrooted. From /etc/postfix/master.cf:
 
 ---(schnipp)---
 # ==
 # service type  private unpriv  chroot  wakeup  maxproc command + args
 #   (yes)   (yes)   (yes)   (never) (100)
 # ==
 smtp  inet  n   -   -   -   -   smtpd
 ---(schnapp)---
 
 and also /etc/resolv.conf and /var/spool/postfix/etc/resolv.conf are
 equal:
 
 ---(schnipp)---
 [EMAIL PROTECTED]:~$ md5sum /etc/resolv.conf /var/spool/postfix/etc/resolv.conf
 8525815faa23daf5c6bb84750e61ca49  /etc/resolv.conf
 8525815faa23daf5c6bb84750e61ca49  /var/spool/postfix/etc/resolv.conf
 ---(schnapp)---
 
 Any other ideas?
 
 Thanks!
 
 Florian
 
 -- 
  gpg-key: http://yola.in-berlin.de/rossol.gpg 
 
  Bitte keine Dateien in proprietären Formaten versenden.
  Siehe http://www.fsf.org/philosophy/no-word-attachments.de.html

 
 
-- 
suela [EMAIL PROTECTED]



Re: Postfix DNS-problem

2004-10-01 Thread Emmanuel Lacour
On Thu, Sep 30, 2004 at 04:32:10PM +0200, Florian Rossol wrote:
 No, it isn't chrooted. From /etc/postfix/master.cf:
 
 ---(schnipp)---
 # ==
 # service type  private unpriv  chroot  wakeup  maxproc command + args
 #   (yes)   (yes)   (yes)   (never) (100)
 # ==
 smtp  inet  n   -   -   -   -   smtpd
 ---(schnapp)---
 

It is, - means default = yes ...

 
 Any other ideas?
 

not yet ... :/

-- 
Emmanuel Lacour  Easter-eggs
44-46 rue de l'Ouest  -  75014 Paris   -   France -  Métro Gaité
Phone: +33 (0) 1 43 35 00 37- Fax: +33 (0) 1 41 35 00 76
mailto:[EMAIL PROTECTED]   -http://www.easter-eggs.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Postfix DNS-problem

2004-10-01 Thread Rosenegger, Korbinian
Hi

 I have trouble setting up Postfix (2.1.4-5) sending mail (receiving
 mail works fine) on an up to date sarge system.
 
 I have no local DNS-server running on that machine. DNS queries with
 dig or host works fine!
 
 My Problem: When I try to send mail with Postfix (i.e. to
 [EMAIL PROTECTED]), Postfix starts a correct DNS-query for the
 MX-Record of web.de. (I have done a tcpdump to verify that). Postfix
 also gets the correct answer (mx-ha01.web.de in this example).
 
 But than postfix didn't start a DNS-query for the A-Record of the
 MX-Host (as I can see in the output from tcpdump). Instead Postfix
 writes to syslog:
 
 Sep 28 17:34:56 host postfix/smtp[12455]: warning: no MX host for web.de has a valid 
 A record
 
 Why can Postfix start an correct DNS-query for the MX-Record but isn't
 going to ask the DNS-server for the A-Record of the MX-Host?


I just had exactly the same problem, took about an hour to find the problem. 
Just before the problem first appears i remounted /var with the noexec flag. 
Remounting without this flag solved the problem. I hope this information 
helped you.


cu Korbi


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Postfix DNS-problem

2004-09-30 Thread Florian Rossol
On Wed, Sep 29, 2004 at 09:45:03PM +0200, Emmanuel Lacour wrote:
 Maybe your postfix is chrooted (in /var/spool/postfix) and maybe the
 /var/spool/postfix/etc/resolv.conf is not up to date with your
 /etc/resolv.conf?

No, it isn't chrooted. From /etc/postfix/master.cf:

---(schnipp)---
# ==
# service type  private unpriv  chroot  wakeup  maxproc command + args
#   (yes)   (yes)   (yes)   (never) (100)
# ==
smtp  inet  n   -   -   -   -   smtpd
---(schnapp)---

and also /etc/resolv.conf and /var/spool/postfix/etc/resolv.conf are
equal:

---(schnipp)---
[EMAIL PROTECTED]:~$ md5sum /etc/resolv.conf /var/spool/postfix/etc/resolv.conf
8525815faa23daf5c6bb84750e61ca49  /etc/resolv.conf
8525815faa23daf5c6bb84750e61ca49  /var/spool/postfix/etc/resolv.conf
---(schnapp)---

Any other ideas?

Thanks!

Florian

-- 
 gpg-key: http://yola.in-berlin.de/rossol.gpg 
 
 Bitte keine Dateien in proprietären Formaten versenden.
 Siehe http://www.fsf.org/philosophy/no-word-attachments.de.html
   


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Postfix DNS-problem

2004-09-29 Thread Emmanuel Lacour
On Wed, Sep 29, 2004 at 08:49:14PM +0200, Florian Rossol wrote:
 Hi,
 
 But than postfix didn't start a DNS-query for the A-Record of the
 MX-Host (as I can see in the output from tcpdump). Instead Postfix
 writes to syslog:
 

Maybe your postfix is chrooted (in /var/spool/postfix) and maybe the
/var/spool/postfix/etc/resolv.conf is not up to date with your
/etc/resolv.conf?

-- 
Emmanuel Lacour  Easter-eggs
44-46 rue de l'Ouest  -  75014 Paris   -   France -  Métro Gaité
Phone: +33 (0) 1 43 35 00 37- Fax: +33 (0) 1 41 35 00 76
mailto:[EMAIL PROTECTED]   -http://www.easter-eggs.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]