postfix problems

This is a discussion on postfix problems within the mailing.postfix.users forums, part of the Mail Servers and Related category; Hello I am running a Centos 5 server with Sendmail. I am having some problems switching to postfix. I have ...


Go Back   Usenet Forums > Mail Servers and Related > mailing.postfix.users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 5 Days Ago
Ioannis
 
Posts: n/a
Default postfix problems

Hello
I am running a Centos 5 server with Sendmail.

I am having some problems switching to postfix.

I have the following entry in /etc/aliases: pcguest: alien

The user pcguest doesn't exist, it is aliased to user alien.

The name of my domain is "allies"
the server on which I run Sendmail is called: galatea.allies
On the same server I run Bind and I have the following zone info on allies:

IN NS galatea
galatea IN A 192.168.0.4
IN MX 10 galatea
www IN A 192.168.0.4
mail IN CNAME galatea
linux-l9cq IN A 192.168.0.3

As you see above mail.allies is a CNAME for galatea.

Now from host linux-l9cq I am emailing to galatea the following scenarios:

email to pcguest@mail.allies ---successfully delivered to
alien@galatea.allies
email to alien@mail.allies ---succesfully delivered to alien@galatea.allies
email to pcguest@galatea.allies ---succesfully delivered to
alien@galatea.allies
email to alien@galatea.allies ---succesfully delivered to
alien@galatea.allies

So far so good.
I change the mta with alternatives --config mta to postfix.

I have the following configuration in /etc/postfix/main.cf

debug_peer_level = 2


debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5


sendmail_path = /usr/sbin/sendmail.postfix

newaliases_path = /usr/bin/newaliases.postfix

mailq_path = /usr/bin/mailq.postfix

setgid_group = postdrop

html_directory = no

manpage_directory = /usr/share/man

sample_directory = /usr/share/doc/postfix-2.3.3/samples

readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES

I have to following lines in access: allies OK, 192.168.0 OK and I have
created the access.db file.

going back the previous 4 scenarios, I have the following results:

email to pcguest@mail.allies ---faillure
The following messages appear in /var/log/maillog:

May 8 21:05:40 galatea postfix/smtpd[16644]: connect from
unknown[192.168.0.3]
May 8 21:05:40 galatea postfix/smtpd[16644]: 3CC994726A2:
client=unknown[192.168.0.3]
May 8 21:05:40 galatea postfix/cleanup[16647]: 3CC994726A2:
message-id=<20080508180615.D225B42C236@linux-l9cq.allies>
May 8 21:05:40 galatea postfix/smtpd[16644]: disconnect from
unknown[192.168.0.3]
May 8 21:05:40 galatea postfix/qmgr[16481]: 3CC994726A2:
from=<alien@linux-l9cq.allies>, size=738442, nrcpt=1 (queue active)
May 8 21:05:40 galatea postfix/smtp[16648]: 3CC994726A2:
to=<pcguest@mail.allies>, relay=none, delay=0.08, delays=0.08/0.01/0/0,
dsn=5.4.6, status=bounced (mail for mail.allies loops back to myself)
May 8 21:05:40 galatea postfix/cleanup[16647]: 51C8F4726A4:
message-id=<20080508180540.51C8F4726A4@galatea.allies>
May 8 21:05:40 galatea postfix/bounce[16649]: 3CC994726A2: sender
non-delivery notification: 51C8F4726A4
May 8 21:05:40 galatea postfix/qmgr[16481]: 51C8F4726A4: from=<>,
size=2457, nrcpt=1 (queue active)
May 8 21:05:40 galatea postfix/qmgr[16481]: 3CC994726A2: removed
May 8 21:06:10 galatea postfix/smtp[16648]: connect to
linux-l9cq.allies[192.168.0.3]: Connection timed out (port 25)
May 8 21:06:10 galatea postfix/smtp[16648]: 51C8F4726A4:
to=<alien@linux-l9cq.allies>, relay=none, delay=30, delays=0/0/30/0,
dsn=4.4.1, status=deferred (connect to linux-l9cq.allies[192.168.0.3]:
Connection timed out)

email to alien@mail.allies ---failure the following messages appear
in /var/log/maillog
May 8 21:08:53 galatea postfix/smtpd[17009]: connect from
unknown[192.168.0.3]
May 8 21:08:53 galatea postfix/smtpd[17009]: 349A74726A2:
client=unknown[192.168.0.3]
May 8 21:08:53 galatea postfix/cleanup[17012]: 349A74726A2:
message-id=<20080508180928.9DB1542C236@linux-l9cq.allies>
May 8 21:08:53 galatea postfix/qmgr[16481]: 349A74726A2:
from=<alien@linux-l9cq.allies>, size=738438, nrcpt=1 (queue active)
May 8 21:08:53 galatea postfix/smtpd[17009]: disconnect from
unknown[192.168.0.3]
May 8 21:08:53 galatea postfix/smtp[17013]: 349A74726A2:
to=<alien@mail.allies>, relay=none, delay=0.08, delays=0.08/0.01/0/0,
dsn=5.4.6, status=bounced (mail for mail.allies loops back to myself)
May 8 21:08:53 galatea postfix/cleanup[17012]: 4DF924726A5:
message-id=<20080508180853.4DF924726A5@galatea.allies>
May 8 21:08:53 galatea postfix/qmgr[16481]: 4DF924726A5: from=<>,
size=2447, nrcpt=1 (queue active)
May 8 21:08:53 galatea postfix/bounce[17014]: 349A74726A2: sender
non-delivery notification: 4DF924726A5
May 8 21:08:53 galatea postfix/qmgr[16481]: 349A74726A2: removed

email to pcguest@galatea.allies ---failure
the following messages appear /var/log/maillog
May 8 21:11:12 galatea postfix/smtpd[17724]: connect from
unknown[192.168.0.3]
May 8 21:11:12 galatea postfix/smtpd[17724]: 611754726A2:
client=unknown[192.168.0.3]
May 8 21:11:12 galatea postfix/cleanup[17727]: 611754726A2:
message-id=<20080508181148.0453042C236@linux-l9cq.allies>
May 8 21:11:12 galatea postfix/qmgr[16481]: 611754726A2:
from=<alien@linux-l9cq.allies>, size=738448, nrcpt=1 (queue active)
May 8 21:11:12 galatea postfix/smtpd[17724]: disconnect from
unknown[192.168.0.3]
May 8 21:11:12 galatea postfix/cleanup[17727]: 7429B4726A6:
message-id=<20080508181148.0453042C236@linux-l9cq.allies>
May 8 21:11:12 galatea postfix/local[17728]: 611754726A2:
to=<pcguest@galatea.allies>, relay=local, delay=0.1,
delays=0.08/0.01/0/0.01, dsn=2.0.0, status=sent (forwarded as 7429B4726A6)
May 8 21:11:12 galatea postfix/qmgr[16481]: 7429B4726A6:
from=<alien@linux-l9cq.allies>, size=738582, nrcpt=1 (queue active)
May 8 21:11:12 galatea postfix/qmgr[16481]: 611754726A2: removed
May 8 21:11:12 galatea postfix/smtp[17729]: 7429B4726A6:
to=<alien@allies.allies>, orig_to=<pcguest@galatea.allies>, relay=none,
delay=0.02, delays=0.01/0.01/0/0, dsn=5.4.4, status=bounced (Host or domain
name not found. Name service error for name=allies.allies type=A: Host not
found)
May 8 21:11:12 galatea postfix/cleanup[17727]: 7B6404726A2:
message-id=<20080508181112.7B6404726A2@galatea.allies>
May 8 21:11:12 galatea postfix/bounce[17730]: 7429B4726A6: sender
non-delivery notification: 7B6404726A2
May 8 21:11:12 galatea postfix/qmgr[16481]: 7B6404726A2: from=<>,
size=2764, nrcpt=1 (queue active)
May 8 21:11:12 galatea postfix/qmgr[16481]: 7429B4726A6: removed

email to alien@galatea.allies ---succesfully delivered to
alien@galatea.allies
the following messages appear in /var/log/maillog
May 8 21:13:28 galatea postfix/smtpd[18136]: connect from
unknown[192.168.0.3]
May 8 21:13:28 galatea postfix/smtpd[18136]: DF5894726A6:
client=unknown[192.168.0.3]
May 8 21:13:28 galatea postfix/cleanup[18139]: DF5894726A6:
message-id=<20080508181404.7B23E42C236@linux-l9cq.allies>
May 8 21:13:28 galatea postfix/qmgr[16481]: DF5894726A6:
from=<alien@linux-l9cq.allies>, size=738444, nrcpt=1 (queue active)
May 8 21:13:28 galatea postfix/smtpd[18136]: disconnect from
unknown[192.168.0.3]
May 8 21:13:29 galatea postfix/local[18140]: DF5894726A6:
to=<alien@galatea.allies>, relay=local, delay=0.1, delays=0.07/0/0/0.03,
dsn=2.0.0, status=sent (delivered to mailbox)
May 8 21:13:29 galatea postfix/qmgr[16481]: DF5894726A6: removed

Why postfix doesn't understand the aliases? I have run the newaliases
command but that dosn't solve the problem.
After all according the configuration postfix reads the aliases
from /usr/bin/newaliases.postfix and this file is a symbolic link
to /usr/sbin/sendmai.postfix.
Why postfix resolves mail.allies badly?
What configuration changes should I make?
Thank you for your help

Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:01 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0