Postfix delivery problem

The last days I noticed a weird problem related to postfix and its mail delivery. Before I start explaining the situation I want to say that I 've already searched for two days in the forum and found tons of problems related to the 'catchall' functionality and the local-host-names file. I don't know if this is the case for me, but I would try to explain the problem, pointing out what I have tested/changed so far.

First of all normal e-mail accounts seem to work well. The problem is with the 'catchall' functionality, especially when forwarding the 'catchall' account to a normal account. I.e.:

I commented out the lines you suggested, but when I run postmap I get the following:

Code:

[[email protected] ~]# postmap /etc/aliases
postmap: warning: /etc/aliases, line 11: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 14: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 15: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 16: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 17: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 18: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 19: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 20: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 21: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 22: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 23: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 24: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 25: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 26: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 27: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 28: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 29: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 30: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 31: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 32: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 33: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 34: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 35: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 36: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 37: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 38: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 39: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 40: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 41: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 42: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 43: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 44: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 45: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 46: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 47: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 48: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 49: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 50: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 51: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 52: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 53: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 54: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 55: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 56: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 57: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 58: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 59: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 60: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 61: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 62: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 63: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 64: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 66: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 67: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 68: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 69: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 70: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 71: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 74: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 75: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 77: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 78: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 79: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 80: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 81: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 82: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 83: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 84: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 85: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 86: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 87: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 88: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 97: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 101: record is in "key: value" format; is this an alias file?

Any suggestions?

P.S. Also I forgot to mention that this /etc/aliases file is the default one, generated from Centos 4.5. I hadn't ever touched this file until today.

Success! Further investigation to follow. Thank you very much for your help till!

P.S. For the records, here is the difference between postmap and postalias (taken from the man pages):

postmap:

INPUT FILE FORMAT
The format of a lookup table input file is as follows:

· A table entry has the form

key whitespace value

Click to expand...

postalias:

DESCRIPTION
The postalias(1) command creates or queries one or more Postfix alias databases, or updates an existing one. The input and output file formats are
expected to be compatible with Sendmail version 8, and are expected to be suitable for the use as NIS alias maps.

Click to expand...

Thanks once more!

Edit: 'newaliases' also ran with no errors - I hope it is the same as the postalias I mentioned above.

(Host or domain name not found. Name service error for name=gmail.com type=AAAA: ....

Hi there,

I got a postfix configured like mailing just to send emails and from nothin its stopped to send emails for external domains. i can send just to my domains.
My log show me:

Code:

maillist postfix/smtp[1361]: 627653060: to=<[email protected]>,
relay=none, delay=0.04, delays=0.02/0/0.01/0, dsn=5.4.4, status=bounced
(Host or domain name not found. Name service error for name=gmail.com type=AAAA: Host found but no data record of requested type)