View Single Post
  #22  
Old 9th September 2010, 13:05
archange archange is offline
Junior Member
 
Join Date: Sep 2010
Posts: 29
Thanks: 7
Thanked 1 Time in 1 Post
Default

OK, please follow me:

Quote:
[root@server1 ~]# yum remove postfix
Loaded plugins: fastestmirror
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package postfix.x86_64 2:2.3.3-2.1.el5_2 set to be erased
--> Finished Dependency Resolution

Dependencies Resolved

================================================== =========================================
Package Arch Version Repository Size
================================================== =========================================
Removing:
postfix x86_64 2:2.3.3-2.1.el5_2 installed 8.3 M

Transaction Summary
================================================== =========================================
Remove 1 Package(s)
Reinstall 0 Package(s)
Downgrade 0 Package(s)

Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Erasing : postfix 1/1
warning: /etc/postfix/main.cf saved as /etc/postfix/main.cf.rpmsave

Removed:
postfix.x86_64 2:2.3.3-2.1.el5_2

Complete!
[root@server1 ~]# yum install postfix
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: lnx.apollo-hw.ro
* base: lnx.apollo-hw.ro
* centosplus: lnx.apollo-hw.ro
* contrib: lnx.apollo-hw.ro
* extras: lnx.apollo-hw.ro
* rpmforge: fr2.rpmfind.net
* updates: lnx.apollo-hw.ro
Reducing CentOS-5 - Plus to included packages only
Finished
Excluding Packages from CentOS-5 - Updates
Finished
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package postfix.x86_64 2:2.3.3-2.1.el5_2 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================== =========================================
Package Arch Version Repository Size
================================================== =========================================
Installing:
postfix x86_64 2:2.3.3-2.1.el5_2 base 3.7 M

Transaction Summary
================================================== =========================================
Install 1 Package(s)
Upgrade 0 Package(s)

Total download size: 3.7 M
Is this ok [y/N]: y
Downloading Packages:
postfix-2.3.3-2.1.el5_2.x86_64.rpm | 3.7 MB 00:03
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : postfix 1/1

Installed:
postfix.x86_64 2:2.3.3-2.1.el5_2

Complete!
[root@server1 ~]#
[root@server1 ~]# /etc/init.d/mysqld restart
Stopping MySQL: [ OK ]
Starting MySQL: [ OK ]
[root@server1 ~]# chkconfig --levels 235 postfix on
[root@server1 ~]# /etc/init.d/postfix start
Starting postfix: [ OK ]
[root@server1 ~]#
At this point, I can send out mail to external mailboxes, but I can't receive any. Reason is because postfix main.cf only accepts localhost connections on port 25, I guess.

See?
Quote:
]# telnet dtxigaming.com 25
Trying 85.121.201.138...
telnet: connect to address 85.121.201.138: Connection refused
telnet: Unable to connect to remote host: Connection refused
Here is the Mail Error Log:
Code:
Sep 9 05:45:09 server1 postfix/postfix-script: stopping the Postfix mail system
Sep 9 05:45:09 server1 postfix/master[32752]: terminating on signal 15
Sep 9 05:48:33 server1 postfix/postfix-script: fatal: the Postfix mail system is not running
Sep 9 05:48:34 server1 sendmail[7302]: alias database /etc/aliases rebuilt by root
Sep 9 05:48:34 server1 sendmail[7302]: /etc/aliases: 77 aliases, longest 10 bytes, 779 bytes total
Sep 9 05:48:34 server1 postfix/postfix-script: starting the Postfix mail system
Sep 9 05:48:34 server1 postfix/master[7348]: daemon started -- version 2.3.3, configuration /etc/postfix
Sep 9 05:50:01 server1 dovecot: pop3-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
Sep 9 05:50:01 server1 dovecot: imap-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
Sep 9 05:50:01 server1 postfix/smtpd[7442]: connect from localhost.localdomain[127.0.0.1]
Sep 9 05:50:01 server1 postfix/smtpd[7442]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
Sep 9 05:50:01 server1 postfix/smtpd[7442]: disconnect from localhost.localdomain[127.0.0.1]
Sep 9 05:54:17 server1 dovecot: auth-worker(default): mysql: Connected to localhost (dbispconfig)
Sep 9 05:54:17 server1 dovecot: IMAP(archange@dtxigaming.com): Disconnected: Logged out bytes=44/709
Sep 9 05:54:17 server1 dovecot: imap-login: Login: user=, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Sep 9 05:54:20 server1 dovecot: IMAP(archange@dtxigaming.com): Disconnected: Logged out bytes=261/1896
Sep 9 05:54:20 server1 dovecot: imap-login: Login: user=, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Sep 9 05:54:21 server1 dovecot: imap-login: Login: user=, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Sep 9 05:54:21 server1 dovecot: IMAP(archange@dtxigaming.com): Disconnected: Logged out bytes=289/1368
Sep 9 05:54:26 server1 dovecot: imap-login: Login: user=, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Sep 9 05:54:26 server1 dovecot: IMAP(archange@dtxigaming.com): Disconnected: Logged out bytes=79/687
Sep 9 05:55:02 server1 postfix/smtpd[7688]: connect from localhost.localdomain[127.0.0.1]
Sep 9 05:55:02 server1 postfix/smtpd[7688]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
Sep 9 05:55:02 server1 postfix/smtpd[7688]: disconnect from localhost.localdomain[127.0.0.1]
Sep 9 05:55:02 server1 dovecot: pop3-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
Sep 9 05:55:02 server1 dovecot: imap-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
Sep 9 05:57:51 server1 dovecot: IMAP(archange@dtxigaming.com): Disconnected: Logged out bytes=306/3093
Sep 9 05:57:51 server1 dovecot: imap-login: Login: user=, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Sep 9 05:57:59 server1 dovecot: IMAP(archange@dtxigaming.com): Disconnected: Logged out bytes=142/1550
Sep 9 05:57:59 server1 dovecot: imap-login: Login: user=, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Sep 9 05:58:02 server1 dovecot: IMAP(archange@dtxigaming.com): Disconnected: Logged out bytes=142/1550
Sep 9 05:58:02 server1 dovecot: imap-login: Login: user=, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Sep 9 05:58:16 server1 sendmail[7860]: o899w5Ta007860: Authentication-Warning: server1.arenahosting.org: apache set sender to archange@dtxigaming.com using -f
Sep 9 05:58:26 server1 sendmail[7860]: o899w5Ta007860: from=archange@dtxigaming.com, size=565, class=0, nrcpts=1, msgid=<25858.212.93.151.155.1284026285.squirrel@arenahosting.org>, relay=apache@localhost
Sep 9 05:58:27 server1 postfix/smtpd[7863]: connect from localhost.localdomain[127.0.0.1]
Sep 9 05:58:27 server1 postfix/smtpd[7863]: 0AAF7BF400BF: client=localhost.localdomain[127.0.0.1]
Sep 9 05:58:27 server1 postfix/cleanup[7866]: 0AAF7BF400BF: message-id=<25858.212.93.151.155.1284026285.squirrel@arenahosting.org>
Sep 9 05:58:27 server1 sendmail[7860]: o899w5Ta007860: to=gabriel.stan@megaprofil.ro, ctladdr=archange@dtxigaming.com (48/48), delay=00:00:22, xdelay=00:00:01, mailer=relay, pri=30565, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as 0AAF7BF400BF)
Sep 9 05:58:27 server1 postfix/qmgr[7350]: 0AAF7BF400BF: from=, size=1053, nrcpt=1 (queue active)
Sep 9 05:58:27 server1 postfix/smtpd[7863]: disconnect from localhost.localdomain[127.0.0.1]
Sep 9 05:58:28 server1 dovecot: imap-login: Login: user=, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Sep 9 05:58:28 server1 dovecot: IMAP(archange@dtxigaming.com): Disconnected: Logged out bytes=656/459
Sep 9 05:58:30 server1 dovecot: imap-login: Login: user=, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Sep 9 05:58:30 server1 dovecot: IMAP(archange@dtxigaming.com): Disconnected: Logged out bytes=306/3498
Sep 9 05:58:43 server1 postfix/smtp[7867]: 0AAF7BF400BF: to=, relay=mail.megaprofil.ro[212.93.151.155]:25, delay=16, delays=0.06/0.01/16/0.03, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 4F5602FF8003)
Sep 9 05:58:43 server1 postfix/qmgr[7350]: 0AAF7BF400BF: removed
Sep 9 05:59:28 server1 dovecot: IMAP(archange@dtxigaming.com): Disconnected: Logged out bytes=79/687
Sep 9 05:59:28 server1 dovecot: imap-login: Login: user=, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Sep 9 06:00:01 server1 postfix/smtpd[7863]: connect from localhost.localdomain[127.0.0.1]
Sep 9 06:00:01 server1 postfix/smtpd[7863]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
Sep 9 06:00:01 server1 postfix/smtpd[7863]: disconnect from localhost.localdomain[127.0.0.1]
Sep 9 06:00:01 server1 dovecot: pop3-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
Sep 9 06:00:01 server1 dovecot: imap-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured

...

Sep 9 06:05:25 server1 postfix/smtp[8229]: connect to mail.dtxigaming.com[85.121.201.138]: Connection refused (port 25)
Sep 9 06:05:25 server1 postfix/smtp[8229]: 128D0BF400B0: to=, relay=none, delay=78677, delays=78666/0.02/11/0, dsn=4.4.1, status=deferred (connect to mail.dtxigaming.com[85.121.201.138]: Connection refused)
Sep 9 06:05:25 server1 postfix/smtp[8230]: connect to mail.arenahosting.org[85.121.201.138]: Connection refused (port 25)
Sep 9 06:05:25 server1 postfix/smtp[8230]: 7910ABF400BC: to=, relay=none, delay=7470, delays=7459/0.01/11/0, dsn=4.4.1, status=deferred (connect to mail.arenahosting.org[85.121.201.138]: Connection refused)
Sep 9 06:05:25 server1 postfix/smtp[8231]: connect to mail.dtxigaming.com[85.121.201.138]: Connection refused (port 25)
Sep 9 06:05:25 server1 postfix/smtp[8231]: 9A143BF400AC: to=, relay=none, delay=81749, delays=81738/0.01/11/0, dsn=4.4.1, status=deferred (connect to mail.dtxigaming.com[85.121.201.138]: Connection refused)
What am I missing?

Last edited by archange; 9th September 2010 at 13:43.
Reply With Quote