Postfix plotseling gestopt - kan niet meer starten

Pagina: 1
Acties:

Acties:
  • 0 Henk 'm!

  • ScuL
  • Registratie: Januari 2000
  • Laatst online: 16:55
Sinds een paar dagen zend onze server totaal geen mail meer.

Ik zit op CentOs 6.5, Postfix 2.8.4

/usr/local/psa/var/log/maillog zegt
Oct 31 16:04:29 adm postfix[28562]: fatal: the postfix command is reserved for the superuser
Oct 31 16:04:30 adm postfix[28567]: error: to submit mail, use the Postfix sendmail command
Oct 31 16:04:30 adm postfix[28567]: fatal: the postfix command is reserved for the superuser
Oct 31 16:06:01 adm postfix/postfix-script[28854]: starting the Postfix mail system
Oct 31 16:06:01 adm postfix/master[28855]: fatal: bind 0.0.0.0 port 25: Address already in use
Oct 31 16:06:22 adm postfix[28977]: error: to submit mail, use the Postfix sendmail command
Oct 31 16:06:22 adm postfix[28977]: fatal: the postfix command is reserved for the superuser
Oct 31 16:06:23 adm postfix[28980]: error: to submit mail, use the Postfix sendmail command
Oct 31 16:06:23 adm postfix[28980]: fatal: the postfix command is reserved for the superuser
Postfix restart
Shutting down postfix: [FAILED]
Starting postfix: [FAILED]


/var/log/messages zegt helemaal niets over postfix

Volgens netstat zit er helemaal niks op poort 25
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN 28906/couriertcpd
tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN 28884/couriertcpd
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 17006/httpd
tcp 0 0 0.0.0.0:8880 0.0.0.0:* LISTEN 10202/sw-cp-serverd
tcp 0 0 127.0.0.1:10001 0.0.0.0:* LISTEN 10202/sw-cp-serverd
tcp 0 0 85.17.136.101:53 0.0.0.0:* LISTEN 7358/named
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 7358/named
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 6180/xinetd
tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 7358/named
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 17006/httpd
tcp 0 0 0.0.0.0:8443 0.0.0.0:* LISTEN 10202/sw-cp-serverd
tcp 0 0 127.0.0.1:8891 0.0.0.0:* LISTEN 2481/opendkim
tcp 0 0 0.0.0.0:2525 0.0.0.0:* LISTEN 10353/sshd
tcp 0 0 127.0.0.1:12768 0.0.0.0:* LISTEN 28933/psa-pc-remote
tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN 28896/couriertcpd
tcp 0 0 0.0.0.0:995 0.0.0.0:* LISTEN 28917/couriertcpd
tcp 0 0 0.0.0.0:106 0.0.0.0:* LISTEN 6180/xinetd
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 21132/mysqld

ProMods ETS2 uitbreiding - Mijn tijdszone is UTC+13


Acties:
  • 0 Henk 'm!

  • Hero of Time
  • Registratie: Oktober 2004
  • Laatst online: 21:16

Hero of Time

Moderator LNX

There is only one Legend

Dat er niets op poort 25 luistert is omdat je Postfix niet meer draait. Logisch dus.

Ga eens na waarom 't niet meer wil. In /var/log/messages kan je niet echt veel terug vinden waarom een daemon niet wil starten, die heeft tenslotte z'n eigen log. Kijk daarom daar dus in.

Commandline FTW | Tweakt met mate


Acties:
  • 0 Henk 'm!

  • ScuL
  • Registratie: Januari 2000
  • Laatst online: 16:55
Hero of Time schreef op vrijdag 31 oktober 2014 @ 16:33:
Dat er niets op poort 25 luistert is omdat je Postfix niet meer draait. Logisch dus.
Ik doelde hierop:

Oct 31 16:06:01 adm postfix/master[28855]: fatal: bind 0.0.0.0 port 25: Address already in use

Hoe kan hij already in use zijn als er niets draait :)

ProMods ETS2 uitbreiding - Mijn tijdszone is UTC+13


Acties:
  • 0 Henk 'm!

  • Midas.e
  • Registratie: Juni 2008
  • Laatst online: 31-05 10:02

Midas.e

Is handig met dinges

het stoppen failed al, start eens met een killall -9 postfix zodat ie hard gestopt wordt en daarna weer starten via service postfix start

Hacktheplanet / PVOutput


Acties:
  • 0 Henk 'm!

  • ScuL
  • Registratie: Januari 2000
  • Laatst online: 16:55
Midas.e schreef op vrijdag 31 oktober 2014 @ 16:38:
het stoppen failed al, start eens met een killall -9 postfix zodat ie hard gestopt wordt en daarna weer starten via service postfix start
killall -9 postfix
postfix: no process killed

ProMods ETS2 uitbreiding - Mijn tijdszone is UTC+13


Acties:
  • 0 Henk 'm!

  • Midas.e
  • Registratie: Juni 2008
  • Laatst online: 31-05 10:02

Midas.e

Is handig met dinges

ps aux output even hier dumpen?

Hacktheplanet / PVOutput


Acties:
  • 0 Henk 'm!

  • ScuL
  • Registratie: Januari 2000
  • Laatst online: 16:55
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.0  19364   972 ?        Ss   Apr08   0:35 /sbin/init
root         2  0.0  0.0      0     0 ?        S    Apr08   0:00 [kthreadd]
root         3  0.0  0.0      0     0 ?        S    Apr08   0:34 [migration/0]
root         4  0.0  0.0      0     0 ?        S    Apr08   1:08 [ksoftirqd/0]
root         5  0.0  0.0      0     0 ?        S    Apr08   0:00 [migration/0]
root         6  0.0  0.0      0     0 ?        S    Apr08   0:15 [watchdog/0]
root         7  0.0  0.0      0     0 ?        S    Apr08   0:27 [migration/1]
root         8  0.0  0.0      0     0 ?        S    Apr08   0:00 [migration/1]
root         9  0.0  0.0      0     0 ?        S    Apr08   1:19 [ksoftirqd/1]
root        10  0.0  0.0      0     0 ?        S    Apr08   0:11 [watchdog/1]
root        11  0.0  0.0      0     0 ?        S    Apr08   9:15 [events/0]
root        12  0.0  0.0      0     0 ?        S    Apr08  12:12 [events/1]
root        13  0.0  0.0      0     0 ?        S    Apr08   0:00 [cgroup]
root        14  0.0  0.0      0     0 ?        S    Apr08   2:11 [khelper]
root        15  0.0  0.0      0     0 ?        S    Apr08   0:00 [netns]
root        16  0.0  0.0      0     0 ?        S    Apr08   0:00 [async/mgr]
root        17  0.0  0.0      0     0 ?        S    Apr08   0:00 [pm]
root        18  0.0  0.0      0     0 ?        S    Apr08   0:52 [sync_supers]
root        19  0.0  0.0      0     0 ?        S    Apr08   0:48 [bdi-default]
root        20  0.0  0.0      0     0 ?        S    Apr08   0:00 [kintegrityd/0]
root        21  0.0  0.0      0     0 ?        S    Apr08   0:00 [kintegrityd/1]
root        22  0.0  0.0      0     0 ?        S    Apr08  12:19 [kblockd/0]
root        23  0.0  0.0      0     0 ?        S    Apr08   0:10 [kblockd/1]
root        24  0.0  0.0      0     0 ?        S    Apr08   0:00 [kacpid]
root        25  0.0  0.0      0     0 ?        S    Apr08   0:00 [kacpi_notify]
root        26  0.0  0.0      0     0 ?        S    Apr08   0:00 [kacpi_hotplug]
root        27  0.0  0.0      0     0 ?        S    Apr08   0:00 [ata_aux]
root        28  0.0  0.0      0     0 ?        S    Apr08   0:00 [ata_sff/0]
root        29  0.0  0.0      0     0 ?        S    Apr08   0:00 [ata_sff/1]
root        30  0.0  0.0      0     0 ?        S    Apr08   0:00 [ksuspend_usbd]
root        31  0.0  0.0      0     0 ?        S    Apr08   0:00 [khubd]
root        32  0.0  0.0      0     0 ?        S    Apr08   0:00 [kseriod]
root        33  0.0  0.0      0     0 ?        S    Apr08   0:00 [md/0]
root        34  0.0  0.0      0     0 ?        S    Apr08   0:00 [md/1]
root        35  0.0  0.0      0     0 ?        S    Apr08   0:00 [md_misc/0]
root        36  0.0  0.0      0     0 ?        S    Apr08   0:00 [md_misc/1]
root        37  0.0  0.0      0     0 ?        S    Apr08   0:00 [linkwatch]
root        38  0.0  0.0      0     0 ?        S    Apr08   0:03 [khungtaskd]
root        39  0.0  0.0      0     0 ?        S    Apr08   5:39 [kswapd0]
root        40  0.0  0.0      0     0 ?        SN   Apr08   0:00 [ksmd]
root        41  0.0  0.0      0     0 ?        SN   Apr08   4:53 [khugepaged]
root        42  0.0  0.0      0     0 ?        S    Apr08   0:00 [aio/0]
root        43  0.0  0.0      0     0 ?        S    Apr08   0:00 [aio/1]
root        44  0.0  0.0      0     0 ?        S    Apr08   0:00 [crypto/0]
root        45  0.0  0.0      0     0 ?        S    Apr08   0:00 [crypto/1]
root        50  0.0  0.0      0     0 ?        S    Apr08   0:00 [kthrotld/0]
root        51  0.0  0.0      0     0 ?        S    Apr08   0:00 [kthrotld/1]
root        52  0.0  0.0      0     0 ?        SN   Apr08 275:05 [kipmi0]
root        54  0.0  0.0      0     0 ?        S    Apr08   0:00 [kpsmoused]
root        55  0.0  0.0      0     0 ?        S    Apr08   0:00 [usbhid_resumer]
root        85  0.0  0.0      0     0 ?        S    Apr08   0:00 [kstriped]
root       164  0.0  0.0      0     0 ?        S    Apr08   0:01 [scsi_eh_0]
root       165  0.0  0.0      0     0 ?        S    Apr08   0:00 [scsi_eh_1]
root       166  0.0  0.0      0     0 ?        S    Apr08   0:00 [scsi_eh_2]
root       167  0.0  0.0      0     0 ?        S    Apr08   0:00 [scsi_eh_3]
root       168  0.0  0.0      0     0 ?        S    Apr08   0:00 [scsi_eh_4]
root       169  0.0  0.0      0     0 ?        S    Apr08   0:00 [scsi_eh_5]
root       325  0.0  0.0      0     0 ?        S    Apr08  16:33 [jbd2/sda2-8]
root       326  0.0  0.0      0     0 ?        S    Apr08   0:00 [ext4-dio-unwrit]
root       328  0.0  0.0      0     0 ?        S    Apr08  18:00 [flush-8:0]
root       415  0.0  0.0  10676   316 ?        S<s  Apr08   0:00 /sbin/udevd -d
root       797  0.0  0.0      0     0 ?        S    Apr08   0:48 [jbd2/sda4-8]
root       798  0.0  0.0      0     0 ?        S    Apr08   0:00 [ext4-dio-unwrit]
root       944  0.0  0.0      0     0 ?        S    Apr08   0:44 [kauditd]
root      1155  0.0  0.2 249856  5420 ?        Sl   Apr08   3:26 /sbin/rsyslogd -i /var/run/syslogd.pid -c 5
root      1178  0.0  0.0      0     0 ?        S    Apr08  82:13 [kondemand/0]
root      1179  0.0  0.0      0     0 ?        S    Apr08  82:41 [kondemand/1]
root      1200  0.0  0.0  10820   492 ?        Ss   Apr08  13:30 irqbalance --pid=/var/run/irqbalance.pid
dbus      1297  0.0  0.0  21544   760 ?        Ss   Apr08   0:00 dbus-daemon --system
root      1326  0.0  0.0   4080   468 ?        Ss   Apr08   0:00 /usr/sbin/acpid
68        1335  0.0  0.0  37792  1560 ?        Ssl  Apr08   1:07 hald
root      1336  0.0  0.0  20328   596 ?        S    Apr08   0:00 hald-runner
root      1365  0.0  0.0  22476   624 ?        S    Apr08   0:00 hald-addon-input: Listening on /dev/input/event0 /dev/input/event
68        1377  0.0  0.0  17936   596 ?        S    Apr08   0:00 hald-addon-acpi: listening on acpid socket /var/run/acpid.socket
root      1622  0.0  0.0 110320   620 ?        Ss   Apr08   0:00 /usr/sbin/abrtd
root      2008  0.0  0.3 335588  6704 ?        S    Apr08  17:23 /usr/bin/sw-engine -c /usr/local/psa/admin/conf/php.ini /usr/lib6
root      2017  0.0  0.1 540988  3164 ?        Ssl  Apr08 115:07 /usr/sbin/sw-collectd -C /etc/sw-collectd/collectd.conf
root      2032  0.0  0.0 117324  1052 ?        Ss   Apr08   4:01 crond
root      2056  0.0  0.0   4064   412 tty1     Ss+  Apr08   0:00 /sbin/mingetty /dev/tty1
root      2058  0.0  0.0   4064   412 tty2     Ss+  Apr08   0:00 /sbin/mingetty /dev/tty2
root      2060  0.0  0.0   4064   412 tty3     Ss+  Apr08   0:00 /sbin/mingetty /dev/tty3
root      2062  0.0  0.0   4064   412 tty4     Ss+  Apr08   0:00 /sbin/mingetty /dev/tty4
root      2064  0.0  0.0   4064   412 tty5     Ss+  Apr08   0:00 /sbin/mingetty /dev/tty5
root      2066  0.0  0.0   4064   412 tty6     Ss+  Apr08   0:00 /sbin/mingetty /dev/tty6
opendkim  2480  0.0  0.0  67456   244 ?        Ss   Apr28   0:00 /usr/sbin/opendkim -x /etc/opendkim.conf -P /var/run/opendkim/ope
opendkim  2481  0.0  0.2 315284  4076 ?        Sl   Apr28   3:07 /usr/sbin/opendkim -x /etc/opendkim.conf -P /var/run/opendkim/ope
root      6180  0.0  0.0  22180   932 ?        SNs  Oct28   0:00 xinetd -stayalive -pidfile /var/run/xinetd.pid
named     7358  0.0  0.7 235308 14372 ?        SNsl Oct28   0:00 /usr/sbin/named -u named -c /etc/named.conf -u named -t /var/name
503      10202  0.0  0.1  61888  3380 ?        SN   Oct28   0:00 /usr/sbin/sw-cp-serverd -f /etc/sw-cp-server/config
root     10353  0.0  0.0  66608   408 ?        Ss   Sep27   0:00 /usr/sbin/sshd
root     12022  0.0  0.5 883724  9688 ?        Sl   Apr28 117:33 /usr/bin/python /usr/bin/fail2ban-server -b -s /var/run/fail2ban/
root     14778  0.0  0.0  93200   408 ?        S<sl Sep27   0:26 auditd
root     17006  0.0  1.0 342240 19464 ?        Ss   Oct29   0:06 /usr/sbin/httpd
apache   17009  0.0  0.3 235796  7332 ?        S    Oct29   0:20 /usr/sbin/httpd
apache   17933  0.0  0.7 343196 14744 ?        S    14:11   0:00 /usr/sbin/httpd
apache   18854  0.0  0.7 343540 14856 ?        S    14:18   0:00 /usr/sbin/httpd
mailman  20520  0.0  0.0 203980  1856 ?        Ss   Apr09   0:00 /usr/bin/python /usr/lib/mailman/bin/mailmanctl -s -q start
mailman  20523  0.0  0.2 206196  4596 ?        S    Apr09  21:57 /usr/bin/python /usr/lib/mailman/bin/qrunner --runner=ArchRunner:
mailman  20524  0.0  0.2 206268  4104 ?        S    Apr09  22:08 /usr/bin/python /usr/lib/mailman/bin/qrunner --runner=BounceRunne
mailman  20525  0.0  0.2 206200  4296 ?        S    Apr09  22:02 /usr/bin/python /usr/lib/mailman/bin/qrunner --runner=CommandRunn
mailman  20526  0.0  0.1 206244  2708 ?        S    Apr09  21:39 /usr/bin/python /usr/lib/mailman/bin/qrunner --runner=IncomingRun
mailman  20527  0.0  0.2 206196  4260 ?        S    Apr09  21:38 /usr/bin/python /usr/lib/mailman/bin/qrunner --runner=NewsRunner:
mailman  20528  0.0  0.1 206244  2376 ?        S    Apr09  22:37 /usr/bin/python /usr/lib/mailman/bin/qrunner --runner=OutgoingRun
mailman  20529  0.0  0.2 206188  4476 ?        S    Apr09  21:30 /usr/bin/python /usr/lib/mailman/bin/qrunner --runner=VirginRunne
mailman  20530  0.0  0.2 206276  4076 ?        S    Apr09   0:02 /usr/bin/python /usr/lib/mailman/bin/qrunner --runner=RetryRunner
root     21024  0.0  0.0 108204   624 ?        S    Sep08   0:00 /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --socket=/v
mysql    21132  4.2  2.5 1193228 49556 ?       Sl   Sep08 3229:03 /usr/libexec/mysqld --basedir=/usr --datadir=/var/lib/mysql --us
apache   23122  0.0  0.7 342936 14656 ?        S    15:02   0:00 /usr/sbin/httpd
root     23587  0.0  0.0  21540   300 ?        Ss   Oct08   0:00 /usr/sbin/atd
apache   23641  0.0  0.7 343104 14604 ?        S    15:08   0:00 /usr/sbin/httpd
apache   24594  0.0  0.7 342952 14652 ?        S    15:21   0:00 /usr/sbin/httpd
apache   26237  0.0  0.7 342932 14564 ?        S    15:41   0:00 /usr/sbin/httpd
apache   26457  0.0  0.7 343184 14668 ?        S    15:43   0:00 /usr/sbin/httpd
apache   26606  0.0  0.7 342912 14588 ?        S    15:45   0:00 /usr/sbin/httpd
apache   26619  0.0  0.7 342944 14576 ?        S    15:45   0:00 /usr/sbin/httpd
apache   26621  0.0  0.7 342936 14576 ?        S    15:45   0:00 /usr/sbin/httpd
apache   26770  0.0  0.7 342780 14504 ?        S    15:47   0:00 /usr/sbin/httpd
apache   26773  0.0  0.7 342792 14504 ?        S    15:47   0:00 /usr/sbin/httpd
root     27230  0.0  0.2 111164  4716 ?        Ss   15:53   0:00 sshd: XXXX[priv]
scul     27242  0.0  0.1 111164  2092 ?        S    15:53   0:00 sshd: XXXX@pts/0
scul     27243  0.0  0.0 108464  1900 pts/0    Ss   15:53   0:00 -bash
apache   27598  0.0  0.7 342804 14552 ?        S    15:56   0:00 /usr/sbin/httpd
apache   28123  0.0  0.7 342932 14576 ?        S    16:00   0:00 /usr/sbin/httpd
apache   28346  0.0  0.7 342796 14476 ?        S    16:01   0:00 /usr/sbin/httpd
apache   28349  0.0  0.7 342940 14536 ?        S    16:02   0:00 /usr/sbin/httpd
apache   28582  0.0  0.7 342796 14476 ?        S    16:04   0:00 /usr/sbin/httpd
root     28884  0.0  0.0  13972   688 ?        S    16:06   0:00 /usr/lib/courier-imap/couriertcpd -address=0 -stderrlogger=/usr/s
root     28888  0.0  0.0   3932   312 ?        S    16:06   0:00 /usr/sbin/courierlogger imapd
root     28896  0.0  0.0  13972   692 ?        S    16:06   0:00 /usr/lib/courier-imap/couriertcpd -address=0 -stderrlogger=/usr/s
root     28900  0.0  0.0   3932   312 ?        S    16:06   0:00 /usr/sbin/courierlogger imapd-ssl
root     28906  0.0  0.0  13972   684 ?        S    16:06   0:00 /usr/lib/courier-imap/couriertcpd -address=0 -stderrlogger=/usr/s
root     28910  0.0  0.0   3932   312 ?        S    16:06   0:00 /usr/sbin/courierlogger pop3d
root     28917  0.0  0.0  13972   688 ?        S    16:06   0:00 /usr/lib/courier-imap/couriertcpd -address=0 -stderrlogger=/usr/s
root     28921  0.0  0.0   3932   312 ?        S    16:06   0:00 /usr/sbin/courierlogger pop3d-ssl
postfix  28933  0.0  0.0 142276   836 ?        Ssl  16:06   0:00 /usr/lib64/plesk-9.0/psa-pc-remote -p inet:12768@localhost
apache   29444  0.0  0.7 342656 14448 ?        S    16:12   0:00 /usr/sbin/httpd
apache   30075  0.0  0.7 342664 14456 ?        S    16:19   0:00 /usr/sbin/httpd
apache   30229  0.0  0.7 342656 14440 ?        S    16:20   0:00 /usr/sbin/httpd
root     31182  0.0  0.1 175144  3116 ?        S    16:30   0:00 CROND
root     31183  0.0  1.4 325384 27424 ?        Ss   16:30   0:00 /usr/bin/sw-engine -c /usr/local/psa/admin/conf/php.ini -c /usr/l
scul_net 31266  1.8  1.0 205816 20840 ?        S    16:30   0:01 /usr/bin/php-cgi -c /var/www/vhosts/promods.net/etc/php.ini
scul_net 31327  1.8  1.0 207376 20348 ?        S    16:31   0:00 /usr/bin/php-cgi -c /var/www/vhosts/promods.net/etc/php.ini
scul_net 31331  0.4  0.8 200212 15808 ?        S    16:31   0:00 /usr/bin/php-cgi -c /var/www/vhosts/ghmusic.info/etc/php.ini
scul_net 31336  4.1  1.1 206628 21900 ?        S    16:31   0:00 /usr/bin/php-cgi -c /var/www/vhosts/ghmusic.info/etc/php.ini
scul_net 31348  2.5  1.0 205064 19916 ?        S    16:31   0:00 /usr/bin/php-cgi -c /var/www/vhosts/promods.net/etc/php.ini
scul     31361  0.0  0.0 110236  1124 pts/0    R+   16:31   0:00 ps aux

ProMods ETS2 uitbreiding - Mijn tijdszone is UTC+13


Acties:
  • 0 Henk 'm!

  • Midas.e
  • Registratie: Juni 2008
  • Laatst online: 31-05 10:02

Midas.e

Is handig met dinges

Heb je die bak al eens gewoon een reboot gegeven?

Hacktheplanet / PVOutput


Acties:
  • 0 Henk 'm!

  • -ko-
  • Registratie: Oktober 2006
  • Laatst online: 04-07 11:42

-ko-

Leidend Voorwerp

Wat zegt lsof -i :25 ?

Wa Doede Nou


Acties:
  • 0 Henk 'm!

  • ScuL
  • Registratie: Januari 2000
  • Laatst online: 16:55
Midas.e schreef op vrijdag 31 oktober 2014 @ 16:43:
Heb je die bak al eens gewoon een reboot gegeven?
Dat is een optie maar ik probeer liever te achterhalen waarom hij is vastgelopen zodat het niet opnieuw gebeurd :)

Volgens diverse websites heeft postfix ook geen eigen log bestand maar wordt alles in de maillog geplempt, en dat is bovenstaande output in de openings post.
Blanco

[ Voor 14% gewijzigd door ScuL op 31-10-2014 16:45 ]

ProMods ETS2 uitbreiding - Mijn tijdszone is UTC+13


Acties:
  • 0 Henk 'm!

  • -ko-
  • Registratie: Oktober 2006
  • Laatst online: 04-07 11:42

-ko-

Leidend Voorwerp

Volgende 'gok', je probeert de service wel te starten als user root?

Wa Doede Nou


Acties:
  • 0 Henk 'm!

  • ScuL
  • Registratie: Januari 2000
  • Laatst online: 16:55
-ko- schreef op vrijdag 31 oktober 2014 @ 16:48:
Volgende 'gok', je probeert de service wel te starten als user root?
Als root krijg ik een OK

en dan in het mail log:

Oct 31 16:42:33 adm postfix/postfix-script[32696]: starting the Postfix mail system
Oct 31 16:42:33 adm postfix/master[32697]: fatal: bind 0.0.0.0 port 25: Address already in use

En daarna is de service weer dood

ProMods ETS2 uitbreiding - Mijn tijdszone is UTC+13


Acties:
  • 0 Henk 'm!

  • -ko-
  • Registratie: Oktober 2006
  • Laatst online: 04-07 11:42

-ko-

Leidend Voorwerp

Je moet postfix wel als root starten, want alleen root kan poorten < 1024 openen in Linux. Ik snap niet hoe er iets op poort 25 in use kan zijn, terwijl netstat en lsof niets laten zien . . .

Ik las zojuist dat sendmail roet in het eten kan gooien, maar dat zie ik helemaal niet draaien op jou systeem. Misschien biedt het herinstalleren van postfix uitkomst, maar ik zou in dat geval eerst een reboot proberen.

Wa Doede Nou


Acties:
  • 0 Henk 'm!

  • ScuL
  • Registratie: Januari 2000
  • Laatst online: 16:55
Ok ik heb een reboot gedaan, helaas heb ik nu gecrashte SQL tabellen die ik moet repareren :(

Anyway; Postfix situatie is nog steeds niet opgelost
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Oct 31 15:58:33 adm postfix/postfix-script[27802]: fatal: the Postfix mail system is not running
Oct 31 15:58:34 adm postfix/postfix-script[27874]: starting the Postfix mail system
Oct 31 15:58:34 adm postfix/master[27875]: fatal: bind 0.0.0.0 port 25: Address already in use
Oct 31 15:59:30 adm postfix[27979]: error: to submit mail, use the Postfix sendmail command
Oct 31 15:59:30 adm postfix[27979]: fatal: the postfix command is reserved for the superuser
Oct 31 16:00:36 adm postfix[28124]: error: to submit mail, use the Postfix sendmail command
Oct 31 16:00:36 adm postfix[28124]: fatal: the postfix command is reserved for the superuser
Oct 31 16:00:38 adm postfix[28133]: error: to submit mail, use the Postfix sendmail command
Oct 31 16:00:38 adm postfix[28133]: fatal: the postfix command is reserved for the superuser
Oct 31 16:00:47 adm postfix/postfix-script[28161]: fatal: the Postfix mail system is not running
Oct 31 16:00:58 adm postfix[28220]: error: to submit mail, use the Postfix sendmail command
Oct 31 16:00:58 adm postfix[28220]: fatal: the postfix command is reserved for the superuser
Oct 31 16:04:29 adm postfix[28562]: error: to submit mail, use the Postfix sendmail command
Oct 31 16:04:29 adm postfix[28562]: fatal: the postfix command is reserved for the superuser
Oct 31 16:04:30 adm postfix[28567]: error: to submit mail, use the Postfix sendmail command


Ik begin te denken dat het wellicht een rechten issue is vanwege "fatal: the postfix command is reserved for the superuser"

[ Voor 3% gewijzigd door ScuL op 31-10-2014 17:41 ]

ProMods ETS2 uitbreiding - Mijn tijdszone is UTC+13


Acties:
  • 0 Henk 'm!

  • init6
  • Registratie: Mei 2012
  • Niet online
netstat -tupan |grep 25
sestatus ? (getenforce)

[ Voor 35% gewijzigd door init6 op 31-10-2014 20:15 ]


Acties:
  • 0 Henk 'm!

  • d1ng
  • Registratie: Augustus 2009
  • Laatst online: 06-05-2024
Probeer eens wat meer info te krijgen?
bv.
postfix -vvv start

Acties:
  • 0 Henk 'm!

  • ninjazx9r98
  • Registratie: Juli 2002
  • Nu online
Nergens een lockfile staan van postfix waardoor het systeem denkt dat de port al in use is?
Foutmeldingen zijn wat dat betreft niet altijd even betrouwbaar.

Acties:
  • 0 Henk 'm!

  • Brabix
  • Registratie: April 2012
  • Laatst online: 30-06 17:49
selinux die wat blokkeert? Gewoon even een wilde gok uit het hoofd maar daar wil het bij vage problemen nog wel eens aan liggen.

Acties:
  • 0 Henk 'm!

  • ScuL
  • Registratie: Januari 2000
  • Laatst online: 16:55
init6 schreef op vrijdag 31 oktober 2014 @ 20:13:
netstat -tupan |grep 25
sestatus ? (getenforce)
Krijg alleen poort 2525 terug (m'n SSH).
Niks op 25

SELinux status: disabled

getenforce
Disabled


postfix -vvv start
postfix: error: to submit mail, use the Postfix sendmail command
postfix: fatal: the postfix command is reserved for the superuser

zelfde als het log
ninjazx9r98 schreef op vrijdag 31 oktober 2014 @ 22:45:
Nergens een lockfile staan van postfix waardoor het systeem denkt dat de port al in use is?
Foutmeldingen zijn wat dat betreft niet altijd even betrouwbaar.
Misschien, hoe check ik dat?

[ Voor 52% gewijzigd door ScuL op 01-11-2014 02:12 ]

ProMods ETS2 uitbreiding - Mijn tijdszone is UTC+13


Acties:
  • 0 Henk 'm!

Anoniem: 26306

Start de service eens met strace -f zodat je de system calls ziet die worden gedaan. Ik zou dat even naar een file schrijven zodat je het rustig kunt bekijken, maar met name de syscalls die zijn gerelateerd aan sockets zijn natuurlijk interessant. Uiteindelijk zal er ergens een syscall zijn die een error teruggeeft. In jouw geval zal dat de call naar "bind" zijn.

Acties:
  • 0 Henk 'm!

  • johnkeates
  • Registratie: Februari 2008
  • Laatst online: 04-07 16:30
Dit zegt dat je geen sudo gebruikt hebt:
fatal: the postfix command is reserved for the superuser

Acties:
  • 0 Henk 'm!

Anoniem: 26306

Goed punt, misschien is het een idee om uberhaupt eens te kijken of het probleem wel postfix-specifiek is.
Misschien staan er nu rechten verkeerd, heb je recent updates geinstalleerd (Plesk) of is dat misschien automatisch gedaan? Is er niet simpelweg een filesystem vol of read-only?

Acties:
  • 0 Henk 'm!

  • ScuL
  • Registratie: Januari 2000
  • Laatst online: 16:55
Anoniem: 26306 schreef op zaterdag 01 november 2014 @ 02:51:
Goed punt, misschien is het een idee om uberhaupt eens te kijken of het probleem wel postfix-specifiek is.
Misschien staan er nu rechten verkeerd, heb je recent updates geinstalleerd (Plesk) of is dat misschien automatisch gedaan? Is er niet simpelweg een filesystem vol of read-only?
De server staat zo ingesteld dat er iedere nacht automatisch de laatste updates van yum worden gedraaid omdat ik het risico niet wil lopen dat ik een update mis en met een verouderde versie een gat open laat voor ongenodigden. Heb hier eigenlijk nooit problemen mee gehad.

Log van postfix -vvv start
http://pastebin.com/BCdRU9Hb

strace -f output hier:
http://www.speedyshare.com/9RTsf/putty-Copy.log

[ Voor 96% gewijzigd door ScuL op 01-11-2014 02:57 ]

ProMods ETS2 uitbreiding - Mijn tijdszone is UTC+13


Acties:
  • 0 Henk 'm!

  • vanaalten
  • Registratie: September 2002
  • Laatst online: 21:35
Nou heb ik er echt weinig verstand van, maar:
  • die log van "postfix -vv start" zie ik niets geks aan, ook geen opstartfouten of zo. Enkel wat privéinformatie als IP adressen en domeinnamen, die je misschien niet openbaar wil maken.
  • die strace daarentegen: op diverse momenten wordt /etc/services ingelezen (helemaal op het eind bijvoorbeeld). Als ik daar eens doorheen kijk lijkt het alsof de service "smtp 25/tcp mail" helemaal niet er tussen staat.
    Ofwel, kan het zijn dat die file niet meer klopt? Wellicht de inhoud van die /etc/services ergens posten?

Acties:
  • 0 Henk 'm!

  • ninjazx9r98
  • Registratie: Juli 2002
  • Nu online
ScuL schreef op zaterdag 01 november 2014 @ 02:10:
[...]

Misschien, hoe check ik dat?
Al een tijdje niks meer gedaan met postfix maar volgens mij staan ze in
code:
1
/var/lib/postfix

Lockfiles hebben dan als het goed is een .lock extensie.
Die kun je normaal gesproken gewoon weggooien als de boel niet draait, eventueel kun je ze hernoemen voor de zekerheid zodat je ze weer terug kunt zetten.
Als je ze daar niet kunt vinden, even zoeken naar .lock files en de juiste moeten wel herkenbaar zijn.

Acties:
  • 0 Henk 'm!

  • ScuL
  • Registratie: Januari 2000
  • Laatst online: 16:55
Er stond een master.lock, ik heb hem verwijderd, na opnieuw starten wordt hij gewoon weer aangemaakt maar postfix draait nog steeds niet

Output van /etc/services is
ls -l services
-rw-r--r--. 1 root root 641020 Oct  2  2013 services


inhoud:
smtp 25/tcp mail
smtp 25/udp mail

Staat dus gewoon normaal voor zover ik kan zien

De server draait in Haarlem bij Leaseweb, misschien moet ik hun maar om support vragen, maar volgens mij dekt m'n SLA dit niet :{

[ Voor 16% gewijzigd door ScuL op 03-11-2014 11:43 ]

ProMods ETS2 uitbreiding - Mijn tijdszone is UTC+13


Acties:
  • 0 Henk 'm!

  • Hero of Time
  • Registratie: Oktober 2004
  • Laatst online: 21:16

Hero of Time

Moderator LNX

There is only one Legend

Je zegt dat je de server niet wilt herstarten, maar je laat vervolgens elke nacht Yum je systeem updaten. Waarom herstart je dan niet gewoon eens. Zijn al je updates toegepast en zit je ook in een nieuwere kernel wat ook weer veiliger is.

Als je niet wilt herstarten, heeft dit topic geen toegevoegde waarde meer.

Commandline FTW | Tweakt met mate


Acties:
  • 0 Henk 'm!

  • Dracula
  • Registratie: Maart 2000
  • Laatst online: 11:16
ScuL schreef op vrijdag 31 oktober 2014 @ 17:20:
Ok ik heb een reboot gedaan, helaas heb ik nu gecrashte SQL tabellen die ik moet repareren :(

Anyway; Postfix situatie is nog steeds niet opgelost
Lezen is ook een kunst :P

Acties:
  • 0 Henk 'm!

  • Hero of Time
  • Registratie: Oktober 2004
  • Laatst online: 21:16

Hero of Time

Moderator LNX

There is only one Legend

Owja, ben nog niet helemaal wakker 8)7. Dat had ik gister gelezen, helemaal vergeten.

[ Voor 4% gewijzigd door Hero of Time op 01-11-2014 13:26 ]

Commandline FTW | Tweakt met mate


Acties:
  • 0 Henk 'm!

  • johnkeates
  • Registratie: Februari 2008
  • Laatst online: 04-07 16:30
Als je geen SLA afgenomen hebt krijg je bij leaseweb standaard inderdaad geen support, vanaf bronze al wel.
Je kan proberen een ticket te maken.

That said, als je zin hebt in andere mensen op je server zijn er vast wel mensen hier die er even naar willen kijken, desnoods via een TeamViewer sessie op jouw computer waar Putty draait zodat je mee kan kijken. Of je geeft een SSH account, kan ook.

Acties:
  • 0 Henk 'm!

  • begintmeta
  • Registratie: November 2001
  • Niet online

begintmeta

Moderator General Chat
Het is opvallend dat postfix niet aan poort25 kan binden omdat die al bezet zou zijn, terwijl er niets op draait. Kijk anders eens of zaken die eventueel ook op 25 zouden draaien geinstalleerd zijn, en kijk anders ook eens in de audit log/laat alle pogingen poorten te openen vastleggen.

[ Voor 14% gewijzigd door begintmeta op 01-11-2014 13:34 ]


Acties:
  • 0 Henk 'm!

  • ScuL
  • Registratie: Januari 2000
  • Laatst online: 16:55
Hero of Time schreef op zaterdag 01 november 2014 @ 13:26:
Owja, ben nog niet helemaal wakker 8)7. Dat had ik gister gelezen, helemaal vergeten.
:) kan gebeuren
johnkeates schreef op zaterdag 01 november 2014 @ 13:31:
Als je geen SLA afgenomen hebt krijg je bij leaseweb standaard inderdaad geen support, vanaf bronze al wel.
Je kan proberen een ticket te maken.

That said, als je zin hebt in andere mensen op je server zijn er vast wel mensen hier die er even naar willen kijken, desnoods via een TeamViewer sessie op jouw computer waar Putty draait zodat je mee kan kijken. Of je geeft een SSH account, kan ook.
Dat is een optie als er verder geen mogelijkheden meer zijn, alle hulp is welkom uiteraard :)

Ik zit zelf behoorlijk stuk, ik ben geen super ervaren linux gebruiker maar ken wel voldoende om een LAMP stack te kunnen runnen. Dit is echt een vrij bizar probleem
begintmeta schreef op zaterdag 01 november 2014 @ 13:33:
Het is opvallend dat postfix niet aan poort25 kan binden omdat die al bezet zou zijn, terwijl er niets op draait. Kijk anders eens of zaken die eventueel ook op 25 zouden draaien geinstalleerd zijn, en kijk anders ook eens in de audit log/laat alle pogingen poorten te openen vastleggen.
Ja bizar zoals ik al zei. Ik hou poort 25 gewoon in de gaten. Ik heb ook al gezocht naar andere services die het eventueel zouden kunnen blokkeren maar sendmail staat niet eens op die bak en behalve opendkim (voor keys) is verder weinig dat met mail te maken heeft.

Ook draait postfix al op versie 2.4.8 sinds maanden dus het is niet zo dat de yum update een nieuwe postfix heeft geinstalleerd/overschreven

ProMods ETS2 uitbreiding - Mijn tijdszone is UTC+13


Acties:
  • 0 Henk 'm!

  • johnkeates
  • Registratie: Februari 2008
  • Laatst online: 04-07 16:30
Tsja.. dit wordt gewoon veel meer debuggen. Postfix handmatig in debug mode draaien bijvoorbeeld, als root, in de voorgrond, en misschien in een chroot zodat ie niet met de rest van het systeem kan praten. Maar ook filesystem corruption onderzoeken, kijken of een andere MTA wel gewoon werkt, zelf een testje via poort 25 doen met netcat, andere poort instellen om te kijken of ie dat wel slikt, etc.

Acties:
  • 0 Henk 'm!

  • Bastien
  • Registratie: Augustus 2001
  • Niet online

Bastien

Probleemeigenaar

Gebruik je milters of SpamAssassin oid? Ik zie wel opendkim, deze zit op poort 8891. Wat zit er op 12768? Iets van Plesk? En werkt dat wel? Het lijkt mij namelijk dat daar wel iets op hoort te draaien (getuige je logs). Post anders eens je main.cf.

En welke updates heb je geïnstalleerd (vlak) voordat de problemen begonnen? Van zowel je OS als Plesk.

Zolang er mensen zijn zal de wereld nooit duurzaam worden.
Zijn er wel genoeg kliffen op de wereld waar 8 miljard mensen zich als lemmingen vanaf kunnen storten?


Acties:
  • 0 Henk 'm!

  • Hero of Time
  • Registratie: Oktober 2004
  • Laatst online: 21:16

Hero of Time

Moderator LNX

There is only one Legend

Misschien is er iets mis met de libraries oid. Doe eens een 'yum verify postfix' of 'yum reinstall postfix'. Wat krijg je daar uit?

Commandline FTW | Tweakt met mate


Acties:
  • 0 Henk 'm!

Anoniem: 26306

Er is niet iets mis met een library, anders zou er niet zo'n specifieke foutmelding uit komen maar een segmentation fault.

Er is iets mis met rechten (bijvoorbeeld SELinux of een suid binary die door Plesk wordt aangeroepen), of er is iets mis met de configuratie (waardoor Postfix zelf 2 keer wil binden op poort 25) of de machine is gehackt.

Als lsof -i tcp:25 of fuser 25/tcp niets oplevert is er ofwel geen software die op poort 25 luistert, of je ziet niet dat er iets luistert en er draait een rootkit.
Stel dat er inderdaad niets luistert op poort 25, dan kan de foutmelding alleen worden veroorzaakt als er een configuratieprobleem is waardoor er 2 keer op poort 25 wordt gebind, of de gebruiker heeft de rechten er niet voor (alleen root mag een server socket op poort 25 openen, en dan alleen als SELinux dat toelaat).

Aangezien SELinux niet is geactiveerd blijven alleen problemen zoals setuid/sudo, configuratieprobleem (dubbele listen entry) en een geownde server over.

Acties:
  • 0 Henk 'm!

  • satya
  • Registratie: Januari 2014
  • Laatst online: 05-07 18:49
Weet je zeker dat je nog op 6.5 zit?

check /etc/redhat-release

Als je automatisch update, dan heb je net een flinke update achter de rug net rond de datum waarop je problemen begonnen zijn.

Acties:
  • 0 Henk 'm!

  • arie_papa
  • Registratie: Augustus 2008
  • Laatst online: 08-07 21:03

arie_papa

Running on Ubuntu

Al eens gekeken naar de betrouwbaarheid van de hdd? Ik had onlangs ook de meest rare problemen als niet kunnen wegschrijven (lokaal/nas) van bestanden. Uiteindelijk blijkt de nas schijf gewoon rot te zijn. Nas wordt wel gemount via fstab, maar vond het toch erg opvallend dat het ook directe impact had op het lokale bestandsysteem.

Statistieken zijn als bikini's: wat ze tonen is erg suggestief, wat ze niet tonen is essentieel


Acties:
  • 0 Henk 'm!

  • Thralas
  • Registratie: December 2002
  • Laatst online: 09:56
Ik heb nog geen output van strace gezien (zoals eerder werd gesuggereerd). Dat, en even met netcat de poort proberen te claimen is het nuttigste om mee te beginnen wmb.

sudo strace -ebind postfix
nc -vlp 25

Acties:
  • 0 Henk 'm!

  • johnkeates
  • Registratie: Februari 2008
  • Laatst online: 04-07 16:30
Thralas schreef op zondag 02 november 2014 @ 17:29:
Ik heb nog geen output van strace gezien (zoals eerder werd gesuggereerd). Dat, en even met netcat de poort proberen te claimen is het nuttigste om mee te beginnen wmb.

sudo strace -ebind postfix
nc -vlp 25
Dat komt om dat die gelinkt is en niet gepost ;) strace output is er dus al.

Acties:
  • 0 Henk 'm!

  • vanaalten
  • Registratie: September 2002
  • Laatst online: 21:35
johnkeates schreef op zondag 02 november 2014 @ 17:34:
[...]


Dat komt om dat die gelinkt is en niet gepost ;) strace output is er dus al.
... en wel in deze post.

Acties:
  • 0 Henk 'm!

  • ScuL
  • Registratie: Januari 2000
  • Laatst online: 16:55
Bastien schreef op zaterdag 01 november 2014 @ 14:50:
Gebruik je milters of SpamAssassin oid? Ik zie wel opendkim, deze zit op poort 8891. Wat zit er op 12768? Iets van Plesk? En werkt dat wel? Het lijkt mij namelijk dat daar wel iets op hoort te draaien (getuige je logs). Post anders eens je main.cf.
Milters ja (opendkim)
Hero of Time schreef op zaterdag 01 november 2014 @ 20:11:
Misschien is er iets mis met de libraries oid. Doe eens een 'yum verify postfix' of 'yum reinstall postfix'. Wat krijg je daar uit?
yum verify postfix
Loaded plugins: downloadonly, fastestmirror, security
No such command: verify. Please use /usr/bin/yum --help

code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
sudo yum reinstall postfix
[sudo] 
Loaded plugins: downloadonly, fastestmirror, security
Setting up Reinstall Process
Determining fastest mirrors
epel/metalink                                            |  28 kB     00:00
 * base: mirror.1000mbps.com
 * epel: mirror.nl.leaseweb.net
 * extras: centos.mirror.triple-it.nl
 * updates: mirror.nl.webzilla.com
base                                                     | 3.7 kB     00:00
epel                                                     | 4.4 kB     00:00
epel/primary_db                                          | 6.3 MB     00:00
extras                                                   | 3.3 kB     00:00
isv_ownCloud_community                                   | 1.2 kB     00:00
updates                                                  | 3.4 kB     00:00
Installed package 2:postfix-2.8.4-12052415.x86_64 (from PSA_11_0_9-dist) not available.
Error: Nothing to do


Poort scans:
lsof -i tcp:25
fuser 25/tcp
(beide blanco)

lsof -i tcp:12768
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
psa-pc-re 5233 postfix 3u IPv4 12889 0t0 TCP adm.scul.net:12768 (LISTEN)

lsof -i tcp:8891
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
opendkim 5030 opendkim 3u IPv4 12175 0t0 TCP adm.scul.net:ddi-tcp-4 (LISTEN)
Bastien schreef op zaterdag 01 november 2014 @ 14:50:
En welke updates heb je geïnstalleerd (vlak) voordat de problemen begonnen? Van zowel je OS als Plesk.
Geen idee, is daar een log van te vinden?
satya schreef op zondag 02 november 2014 @ 16:48:
Weet je zeker dat je nog op 6.5 zit?

check /etc/redhat-release

Als je automatisch update, dan heb je net een flinke update achter de rug net rond de datum waarop je problemen begonnen zijn.
cat /etc/*release*
CentOS release 6.5 (Final)
CentOS release 6.5 (Final)
CentOS release 6.5 (Final)
cpe:/o:centos:linux:6:GA

Dat zou goed mogelijk zijn. Ik merk er verder niets van, postfix versie is niet gewijzigd zoals ik al zei, maar misschien dat iets anders het saboteert.

nc -vlp 25
bash: nc: command not found

code:
1
2
3
4
5
6
7
8
9
sudo strace -ebind postfix start
bind(4, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
--- SIGCHLD (Child exited) @ 0 (0) ---
--- SIGCHLD (Child exited) @ 0 (0) ---
--- SIGCHLD (Child exited) @ 0 (0) ---
--- SIGCHLD (Child exited) @ 0 (0) ---
postfix/postfix-script: starting the Postfix mail system
--- SIGCHLD (Child exited) @ 0 (0) ---


main.cf van postfix komt er aan :)

ProMods ETS2 uitbreiding - Mijn tijdszone is UTC+13


Acties:
  • 0 Henk 'm!

  • satya
  • Registratie: Januari 2014
  • Laatst online: 05-07 18:49
Je zou eens kunnen kijken of er nog update open staan:

# yum check-update

Voor hetzelfde geld zitten een paar pakketten elkaar nu in de weg, omdat je niet volledig om bent.

Acties:
  • 0 Henk 'm!

  • ScuL
  • Registratie: Januari 2000
  • Laatst online: 16:55
satya schreef op zondag 02 november 2014 @ 20:09:
Je zou eens kunnen kijken of er nog update open staan:

# yum check-update

Voor hetzelfde geld zitten een paar pakketten elkaar nu in de weg, omdat je niet volledig om bent.
 yum check-update
Loaded plugins: downloadonly, fastestmirror, security
Determining fastest mirrors
 * base: mirrors.supportex.net
 * epel: ftp.nluug.nl
 * extras: nl.mirror.eurid.eu
 * updates: mirrors.supportex.net
isv_ownCloud_community                                                      3/3

abrt.x86_64                            2.0.8-26.el6.centos              base
abrt-addon-ccpp.x86_64                 2.0.8-26.el6.centos              base
abrt-addon-kerneloops.x86_64           2.0.8-26.el6.centos              base
abrt-addon-python.x86_64               2.0.8-26.el6.centos              base
abrt-cli.x86_64                        2.0.8-26.el6.centos              base
abrt-libs.x86_64                       2.0.8-26.el6.centos              base
abrt-tui.x86_64                        2.0.8-26.el6.centos              base
alsa-utils.x86_64                      1.0.22-7.el6                     base
at.x86_64                              3.1.10-44.el6_6.2                updates
audit.x86_64                           2.3.7-5.el6                      base
audit-libs.x86_64                      2.3.7-5.el6                      base
audit-libs-python.x86_64               2.3.7-5.el6                      base
authconfig.x86_64                      6.1.12-19.el6                    base
avahi-libs.x86_64                      0.6.25-15.el6                    base
bash.x86_64                            4.1.2-29.el6                     base
bfa-firmware.noarch                    3.2.23.0-2.el6                   base
bind.x86_64                            32:9.8.2-0.30.rc1.el6            base
bind-libs.x86_64                       32:9.8.2-0.30.rc1.el6            base
bind-utils.x86_64                      32:9.8.2-0.30.rc1.el6            base
binutils.x86_64                        2.20.51.0.2-5.42.el6             base
biosdevname.x86_64                     0.5.1-1.el6                      base
boost-date-time.x86_64                 1.41.0-25.el6                    base
boost-filesystem.x86_64                1.41.0-25.el6                    base
boost-program-options.x86_64           1.41.0-25.el6                    base
boost-regex.x86_64                     1.41.0-25.el6                    base
boost-serialization.x86_64             1.41.0-25.el6                    base
boost-system.x86_64                    1.41.0-25.el6                    base
boost-thread.x86_64                    1.41.0-25.el6                    base
ca-certificates.noarch                 2014.1.98-65.1.el6               base
centos-indexhtml.noarch                6-2.el6.centos                   base
centos-release.x86_64                  6-6.el6.centos.12.2              base
coreutils.x86_64                       8.4-37.el6                       base
coreutils-libs.x86_64                  8.4-37.el6                       base
cpp.x86_64                             4.4.7-11.el6                     base
crda.x86_64                            1.1.3_2014.06.13-1.el6           base
cryptsetup-luks.x86_64                 1.2.0-11.el6                     base
cryptsetup-luks-libs.x86_64            1.2.0-11.el6                     base
cups-libs.x86_64                       1:1.4.2-67.el6                   base
cyrus-sasl.x86_64                      2.1.23-15.el6                    base
cyrus-sasl-lib.x86_64                  2.1.23-15.el6                    base
cyrus-sasl-md5.x86_64                  2.1.23-15.el6                    base
cyrus-sasl-plain.x86_64                2.1.23-15.el6                    base
device-mapper.x86_64                   1.02.90-2.el6                    base
device-mapper-event.x86_64             1.02.90-2.el6                    base
device-mapper-event-libs.x86_64        1.02.90-2.el6                    base
device-mapper-libs.x86_64              1.02.90-2.el6                    base
device-mapper-persistent-data.x86_64   0.3.2-1.el6                      base
dhclient.x86_64                        12:4.1.1-43.P1.el6.centos        base
dhcp-common.x86_64                     12:4.1.1-43.P1.el6.centos        base
dracut.noarch                          004-356.el6                      base
dracut-kernel.noarch                   004-356.el6                      base
e2fsprogs.x86_64                       1.41.12-21.el6                   base
e2fsprogs-libs.x86_64                  1.41.12-21.el6                   base
efibootmgr.x86_64                      0.5.4-12.el6                     base
elfutils.x86_64                        0.158-3.2.el6                    base
elfutils-libelf.x86_64                 0.158-3.2.el6                    base
elfutils-libs.x86_64                   0.158-3.2.el6                    base
ethtool.x86_64                         2:3.5-5.el6                      base
file.x86_64                            5.04-21.el6                      base
file-libs.x86_64                       5.04-21.el6                      base
fontconfig.x86_64                      2.8.0-5.el6                      base
gcc.x86_64                             4.4.7-11.el6                     base
glib2.x86_64                           2.28.8-4.el6                     base
glibc.x86_64                           2.12-1.149.el6                   base
glibc-common.x86_64                    2.12-1.149.el6                   base
glibc-devel.x86_64                     2.12-1.149.el6                   base
glibc-headers.x86_64                   2.12-1.149.el6                   base
gnupg2.x86_64                          2.0.14-8.el6                     base
grep.x86_64                            2.6.3-6.el6                      base
grub.x86_64                            1:0.97-93.el6                    base
grubby.x86_64                          7.0.15-7.el6                     base
gtk2.x86_64                            2.24.23-6.el6                    base
gzip.x86_64                            1.3.12-22.el6                    base
hal.x86_64                             0.5.14-14.el6                    base
hal-libs.x86_64                        0.5.14-14.el6                    base
httpd.x86_64                           2.2.15-39.el6.centos             base
httpd-tools.x86_64                     2.2.15-39.el6.centos             base
hwdata.noarch                          0.233-11.1.el6                   base
initscripts.x86_64                     9.03.46-1.el6.centos             base
iptables.x86_64                        1.4.7-14.el6                     base
iptables-ipv6.x86_64                   1.4.7-14.el6                     base
irqbalance.x86_64                      2:1.0.4-10.el6                   base
kernel.x86_64                          2.6.32-504.el6                   base
kernel-devel.x86_64                    2.6.32-504.el6                   base
kernel-firmware.noarch                 2.6.32-504.el6                   base
kernel-headers.x86_64                  2.6.32-504.el6                   base
kexec-tools.x86_64                     2.0.0-280.el6                    base
keyutils-libs.x86_64                   1.4-5.el6                        base
kpartx.x86_64                          0.4.9-80.el6                     base
krb5-libs.x86_64                       1.10.3-33.el6                    base
ledmon.x86_64                          0.79-1.el6                       base
less.x86_64                            436-13.el6                       base
libX11.x86_64                          1.6.0-2.2.el6                    base
libX11-common.noarch                   1.6.0-2.2.el6                    base
libXcursor.x86_64                      1.1.14-2.1.el6                   base
libXext.x86_64                         1.3.2-2.1.el6                    base
libXfixes.x86_64                       5.0.1-2.1.el6                    base
libXi.x86_64                           1.7.2-2.2.el6                    base
libXinerama.x86_64                     1.1.3-2.1.el6                    base
libXrandr.x86_64                       1.4.1-2.1.el6                    base
libXrender.x86_64                      0.9.8-2.1.el6                    base
libblkid.x86_64                        2.17.2-12.18.el6                 base
libcgroup.x86_64                       0.40.rc1-15.el6_6                updates
libcom_err.x86_64                      1.41.12-21.el6                   base
libdrm.x86_64                          2.4.52-4.el6                     base
libgcc.x86_64                          4.4.7-11.el6                     base
libgomp.x86_64                         4.4.7-11.el6                     base
libpciaccess.x86_64                    0.13.3-0.1.el6                   base
libproxy.x86_64                        0.3.0-10.el6                     base
libproxy-bin.x86_64                    0.3.0-10.el6                     base
libproxy-python.x86_64                 0.3.0-10.el6                     base
libreport.x86_64                       2.0.9-21.el6.centos              base
libreport-cli.x86_64                   2.0.9-21.el6.centos              base
libreport-compat.x86_64                2.0.9-21.el6.centos              base
libreport-plugin-kerneloops.x86_64     2.0.9-21.el6.centos              base
libreport-plugin-logger.x86_64         2.0.9-21.el6.centos              base
libreport-plugin-mailx.x86_64          2.0.9-21.el6.centos              base
libreport-plugin-reportuploader.x86_64 2.0.9-21.el6.centos              base
libreport-plugin-rhtsupport.x86_64     2.0.9-21.el6.centos              base
libreport-python.x86_64                2.0.9-21.el6.centos              base
libselinux.x86_64                      2.0.94-5.8.el6                   base
libselinux-python.x86_64               2.0.94-5.8.el6                   base
libselinux-utils.x86_64                2.0.94-5.8.el6                   base
libss.x86_64                           1.41.12-21.el6                   base
libstdc++.x86_64                       4.4.7-11.el6                     base
libudev.x86_64                         147-2.57.el6                     base
libuuid.x86_64                         2.17.2-12.18.el6                 base
libxcb.x86_64                          1.9.1-2.el6                      base
libxml2.x86_64                         2.7.6-17.el6_6.1                 updates
libxml2-python.x86_64                  2.7.6-17.el6_6.1                 updates
lvm2.x86_64                            2.02.111-2.el6                   base
lvm2-libs.x86_64                       2.02.111-2.el6                   base
man-pages-overrides.noarch             6.6.3-2.el6                      base
mdadm.x86_64                           3.3-6.el6                        base
microcode_ctl.x86_64                   1:1.17-19.el6                    base
mod_ssl.x86_64                         1:2.2.15-39.el6.centos           base
module-init-tools.x86_64               3.9-24.el6                       base
nss.x86_64                             3.16.1-14.el6                    base
nss-softokn.x86_64                     3.14.3-17.el6                    base
nss-softokn-freebl.x86_64              3.14.3-17.el6                    base
nss-sysinit.x86_64                     3.16.1-14.el6                    base
nss-tools.x86_64                       3.16.1-14.el6                    base
nss-util.x86_64                        3.16.1-3.el6                     base
numactl.x86_64                         2.0.9-2.el6                      base
openldap.x86_64                        2.4.39-8.el6                     base
openssh.x86_64                         5.3p1-104.el6                    base
openssh-clients.x86_64                 5.3p1-104.el6                    base
openssh-server.x86_64                  5.3p1-104.el6                    base
openssl.x86_64                         1.0.1e-30.el6_6.2                updates
owncloud.noarch                        7.0.2-28.1                       isv_ownCloud_community
owncloud-3rdparty.noarch               7.0.2-28.1                       isv_ownCloud_community
pam.x86_64                             1.1.1-20.el6                     base
pango.x86_64                           1.28.1-10.el6                    base
parted.x86_64                          2.1-25.el6                       base
pciutils.x86_64                        3.1.10-4.el6                     base
pciutils-libs.x86_64                   3.1.10-4.el6                     base
perl-TimeDate.noarch                   1:1.16-13.el6                    base
php.x86_64                             5.3.3-40.el6_6                   updates
php-cli.x86_64                         5.3.3-40.el6_6                   updates
php-common.x86_64                      5.3.3-40.el6_6                   updates
php-gd.x86_64                          5.3.3-40.el6_6                   updates
php-imap.x86_64                        5.3.3-40.el6_6                   updates
php-mbstring.x86_64                    5.3.3-40.el6_6                   updates
php-mysql.x86_64                       5.3.3-40.el6_6                   updates
php-pdo.x86_64                         5.3.3-40.el6_6                   updates
php-process.x86_64                     5.3.3-40.el6_6                   updates
php-xml.x86_64                         5.3.3-40.el6_6                   updates
pixman.x86_64                          0.32.4-4.el6                     base
pm-utils.x86_64                        1.2.5-11.el6                     base
policycoreutils.x86_64                 2.0.83-19.47.el6_6.1             updates
policycoreutils-python.x86_64          2.0.83-19.47.el6_6.1             updates
polkit.x86_64                          0.96-7.el6                       base
procps.x86_64                          3.2.8-30.el6                     base
rsync.x86_64                           3.0.6-12.el6                     base
rsyslog.x86_64                         5.8.10-9.el6_6                   updates
scl-utils.x86_64                       20120927-23.el6_6                updates
selinux-policy.noarch                  3.7.19-260.el6                   base
selinux-policy-targeted.noarch         3.7.19-260.el6                   base
sg3_utils-libs.x86_64                  1.28-6.el6                       base
shadow-utils.x86_64                    2:4.1.4.2-19.el6                 base
shared-mime-info.x86_64                0.70-6.el6                       base
sos.noarch                             2.2-68.el6.centos                base
strace.x86_64                          4.5.19-1.19.el6                  base
sudo.x86_64                            1.8.6p3-15.el6                   base
sysstat.x86_64                         9.0.4-27.el6                     base
system-config-firewall-base.noarch     1.2.27-7.1.el6                   base
system-config-firewall-tui.noarch      1.2.27-7.1.el6                   base
systemtap-runtime.x86_64               2.5-5.el6                        base
telnet.x86_64                          1:0.17-48.el6                    base
tzdata.noarch                          2014i-1.el6                      updates
udev.x86_64                            147-2.57.el6                     base
unixODBC.x86_64                        2.2.14-14.el6                    base
util-linux-ng.x86_64                   2.17.2-12.18.el6                 base
wget.x86_64                            1.12-5.el6_6.1                   updates
xorg-x11-drv-ati-firmware.noarch       7.3.99-2.el6                     base
xz.x86_64                              4.999.9-0.5.beta.20091007git.el6 base
xz-libs.x86_64                         4.999.9-0.5.beta.20091007git.el6 base
xz-lzma-compat.x86_64                  4.999.9-0.5.beta.20091007git.el6 base
yum-cron.noarch                        3.2.29-60.el6.centos             base
yum-plugin-downloadonly.noarch         1.1.30-30.el6                    base
yum-plugin-fastestmirror.noarch        1.1.30-30.el6                    base
yum-plugin-security.noarch             1.1.30-30.el6                    base
yum-utils.noarch                       1.1.30-30.el6                    base

ProMods ETS2 uitbreiding - Mijn tijdszone is UTC+13


Acties:
  • 0 Henk 'm!

  • satya
  • Registratie: Januari 2014
  • Laatst online: 05-07 18:49
Je zou eens kunnen proberen om stukje bij beetje alles bij te werken.

yum update bash
yum update bind*
yum update iptables*

of alles in een keer: yum update, maar ben zelf niet altijd een voorstander van een big bang
bij de eerste server.

twee van mijn servers zijn over naar 6.6, en ik ondervind geen problemen met mail.

Acties:
  • 0 Henk 'm!

  • Hero of Time
  • Registratie: Oktober 2004
  • Laatst online: 21:16

Hero of Time

Moderator LNX

There is only one Legend

Dat zijn toch aardig wat updates die je nog moet toepassen. Ook apart dat de postfix versie die op je systeem aanwezig is, niet meer in de repo staat maar niet als update wordt weergegeven.

Als je trouwens een commando krijgt wat je niet hebt, moet je dat nog even installeren. Zo is er voor de uitvoer van nc gevraagd, dat staat in 't netcat package en installeer je die even. Kan verder geen kwaad voor Postfix.
Voor de yum verify, ik gebruik yum niet dagelijks, dus het kan een andere naam hebben. Daarvoor krijg je de behulpzame uitvoer van 'yum --help' of lees de man page. Net even gezocht, maar 't bestaat blijkbaar niet. Ik weet zo uit 't hoofd niet wat je moet doen om een package op integriteit te controleren.

Commandline FTW | Tweakt met mate


Acties:
  • 0 Henk 'm!

  • DiedX
  • Registratie: December 2000
  • Laatst online: 20:03
Niet voor het een of ander, maar ik zie Plesk en denk aan qmail. Kan het zijn dat qmail toevallig nog draait op poort 25?

DiedX supports the Roland™, Sound Blaster™ and Ad Lib™ sound cards


Acties:
  • 0 Henk 'm!

Anoniem: 26306

ScuL schreef op zondag 02 november 2014 @ 19:22:

Poort scans:
lsof -i tcp:25
fuser 25/tcp
(beide blanco)
Heb je dat dan ook als root uitgevoerd (eventueel via sudo)?
Anders gaan die commando's inderdaad weinig opleveren.

Bovendien is het geen portscan. Een scan is proberen packets te sturen en kijken of er iets terug komt. Zowel fuser als lsof gaat alle processen in /proc langs en kijkt of die een bepaalde file descriptor in gebruik hebben.

[ Voor 27% gewijzigd door Anoniem: 26306 op 02-11-2014 22:54 ]


Acties:
  • 0 Henk 'm!

  • Fish
  • Registratie: Juli 2002
  • Niet online

Fish

How much is the fish

Ff simpel denken ... wat gebeurt er als je met telnet verbinde met die poort. wat voor melding krijg je dan ?

Iperf


Acties:
  • 0 Henk 'm!

  • ScuL
  • Registratie: Januari 2000
  • Laatst online: 16:55
satya schreef op zondag 02 november 2014 @ 22:27:
Je zou eens kunnen proberen om stukje bij beetje alles bij te werken.

yum update bash
yum update bind*
yum update iptables*

of alles in een keer: yum update, maar ben zelf niet altijd een voorstander van een big bang
bij de eerste server.

twee van mijn servers zijn over naar 6.6, en ik ondervind geen problemen met mail.
Done ik heb die 3 gedaan in ieder geval.
Snap niet waarom de rest niet met mijn overnight updater is geïnstalleerd
Hero of Time schreef op zondag 02 november 2014 @ 22:33:
Dat zijn toch aardig wat updates die je nog moet toepassen. Ook apart dat de postfix versie die op je systeem aanwezig is, niet meer in de repo staat maar niet als update wordt weergegeven.

Als je trouwens een commando krijgt wat je niet hebt, moet je dat nog even installeren. Zo is er voor de uitvoer van nc gevraagd, dat staat in 't netcat package en installeer je die even. Kan verder geen kwaad voor Postfix.
Voor de yum verify, ik gebruik yum niet dagelijks, dus het kan een andere naam hebben. Daarvoor krijg je de behulpzame uitvoer van 'yum --help' of lees de man page. Net even gezocht, maar 't bestaat blijkbaar niet. Ik weet zo uit 't hoofd niet wat je moet doen om een package op integriteit te controleren.
Weer wat geleerd, ik heb netcat geïnstalleerd de output van dat commando is blanco
DiedX schreef op zondag 02 november 2014 @ 22:42:
Niet voor het een of ander, maar ik zie Plesk en denk aan qmail. Kan het zijn dat qmail toevallig nog draait op poort 25?
qmail is niet geïnstalleerd en niet actief
Anoniem: 26306 schreef op zondag 02 november 2014 @ 22:53:
[...]

Heb je dat dan ook als root uitgevoerd (eventueel via sudo)?
Anders gaan die commando's inderdaad weinig opleveren.

Bovendien is het geen portscan. Een scan is proberen packets te sturen en kijken of er iets terug komt. Zowel fuser als lsof gaat alle processen in /proc langs en kijkt of die een bepaalde file descriptor in gebruik hebben.
Yep via sudo gedaan, beiden nog steeds blanco. En bedankt ik dacht dat het gelijk stond aan een scan.
fish schreef op zondag 02 november 2014 @ 23:01:
Ff simpel denken ... wat gebeurt er als je met telnet verbinde met die poort. wat voor melding krijg je dan ?
Niets, kan niet verbinden.
Er lijkt dus daadwerkelijk niets te draaien.

Overigens mail.cf zoals beloofd

# Global Postfix configuration file. This file lists only a subset
# of all parameters. For the syntax, and for a complete parameter
# list, see the postconf(5) manual page (command: "man 5 postconf").
#
# For common configuration examples, see BASIC_CONFIGURATION_README
# and STANDARD_CONFIGURATION_README. To find these documents, use
# the command "postconf html_directory readme_directory", or go to
# http://www.postfix.org/.
#
# For best results, change no more than 2-3 parameters at a time,
# and test if Postfix still works after every change.

# SOFT BOUNCE
#
# The soft_bounce parameter provides a limited safety net for
# testing.  When soft_bounce is enabled, mail will remain queued that
# would otherwise bounce. This parameter disables locally-generated
# bounces, and prevents the SMTP server from rejecting mail permanently
# (by changing 5xx replies into 4xx replies). However, soft_bounce
# is no cure for address rewriting mistakes or mail routing mistakes.
#
#soft_bounce = no

# LOCAL PATHNAME INFORMATION
#
# The queue_directory specifies the location of the Postfix queue.
# This is also the root directory of Postfix daemons that run chrooted.
# See the files in examples/chroot-setup for setting up Postfix chroot
# environments on different UNIX systems.
#
queue_directory = /var/spool/postfix

# The command_directory parameter specifies the location of all
# postXXX commands.
#
command_directory = /usr/sbin

# The daemon_directory parameter specifies the location of all Postfix
# daemon programs (i.e. programs listed in the master.cf file). This
# directory must be owned by root.
#
daemon_directory = /usr/libexec/postfix

# The data_directory parameter specifies the location of Postfix-writable
# data files (caches, random numbers). This directory must be owned
# by the mail_owner account (see below).
#
data_directory = /var/lib/postfix

# QUEUE AND PROCESS OWNERSHIP
#
# The mail_owner parameter specifies the owner of the Postfix queue
# and of most Postfix daemon processes.  Specify the name of a user
# account THAT DOES NOT SHARE ITS USER OR GROUP ID WITH OTHER ACCOUNTS
# AND THAT OWNS NO OTHER FILES OR PROCESSES ON THE SYSTEM.  In
# particular, don't specify nobody or daemon. PLEASE USE A DEDICATED
# USER.
#
mail_owner = postfix

# The default_privs parameter specifies the default rights used by
# the local delivery agent for delivery to external file or command.
# These rights are used in the absence of a recipient user context.
# DO NOT SPECIFY A PRIVILEGED USER OR THE POSTFIX OWNER.
#
#default_privs = nobody

# INTERNET HOST AND DOMAIN NAMES
# 
# The myhostname parameter specifies the internet hostname of this
# mail system. The default is to use the fully-qualified domain name
# from gethostname(). $myhostname is used as a default value for many
# other configuration parameters.
#
#myhostname = host.domain.tld
#myhostname = virtual.domain.tld

# The mydomain parameter specifies the local internet domain name.
# The default is to use $myhostname minus the first component.
# $mydomain is used as a default value for many other configuration
# parameters.
#
#mydomain = domain.tld

# SENDING MAIL
# 
# The myorigin parameter specifies the domain that locally-posted
# mail appears to come from. The default is to append $myhostname,
# which is fine for small sites.  If you run a domain with multiple
# machines, you should (1) change this to $mydomain and (2) set up
# a domain-wide alias database that aliases each user to
# user@that.users.mailhost.
#
# For the sake of consistency between sender and recipient addresses,
# myorigin also specifies the default domain name that is appended
# to recipient addresses that have no @domain part.
#
#myorigin = $myhostname
#myorigin = $mydomain

# RECEIVING MAIL

# The inet_interfaces parameter specifies the network interface
# addresses that this mail system receives mail on.  By default,
# the software claims all active interfaces on the machine. The
# parameter also controls delivery of mail to user@[ip.address].
#
# See also the proxy_interfaces parameter, for network addresses that
# are forwarded to us via a proxy or network address translator.
#
# Note: you need to stop/start Postfix when this parameter changes.
#
#inet_interfaces = all
#inet_interfaces = $myhostname
#inet_interfaces = $myhostname, localhost
inet_interfaces = all

# Enable IPv4, and IPv6 if supported
inet_protocols = ipv4

# The proxy_interfaces parameter specifies the network interface
# addresses that this mail system receives mail on by way of a
# proxy or network address translation unit. This setting extends
# the address list specified with the inet_interfaces parameter.
#
# You must specify your proxy/NAT addresses when your system is a
# backup MX host for other domains, otherwise mail delivery loops
# will happen when the primary MX host is down.
#
#proxy_interfaces =
#proxy_interfaces = 1.2.3.4

# The mydestination parameter specifies the list of domains that this
# machine considers itself the final destination for.
#
# These domains are routed to the delivery agent specified with the
# local_transport parameter setting. By default, that is the UNIX
# compatible delivery agent that lookups all recipients in /etc/passwd
# and /etc/aliases or their equivalent.
#
# The default is $myhostname + localhost.$mydomain.  On a mail domain
# gateway, you should also include $mydomain.
#
# Do not specify the names of virtual domains - those domains are
# specified elsewhere (see VIRTUAL_README).
#
# Do not specify the names of domains that this machine is backup MX
# host for. Specify those names via the relay_domains settings for
# the SMTP server, or use permit_mx_backup if you are lazy (see
# STANDARD_CONFIGURATION_README).
#
# The local machine is always the final destination for mail addressed
# to user@[the.net.work.address] of an interface that the mail system
# receives mail on (see the inet_interfaces parameter).
#
# Specify a list of host or domain names, /file/name or type:table
# patterns, separated by commas and/or whitespace. A /file/name
# pattern is replaced by its contents; a type:table is matched when
# a name matches a lookup key (the right-hand side is ignored).
# Continue long lines by starting the next line with whitespace.
#
# See also below, section "REJECTING MAIL FOR UNKNOWN LOCAL USERS".
#
mydestination = localhost.$mydomain, localhost, localhost.localdomain
#mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
#mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain,
#	mail.$mydomain, www.$mydomain, ftp.$mydomain

# REJECTING MAIL FOR UNKNOWN LOCAL USERS
#
# The local_recipient_maps parameter specifies optional lookup tables
# with all names or addresses of users that are local with respect
# to $mydestination, $inet_interfaces or $proxy_interfaces.
#
# If this parameter is defined, then the SMTP server will reject
# mail for unknown local users. This parameter is defined by default.
#
# To turn off local recipient checking in the SMTP server, specify
# local_recipient_maps = (i.e. empty).
#
# The default setting assumes that you use the default Postfix local
# delivery agent for local delivery. You need to update the
# local_recipient_maps setting if:
#
# - You define $mydestination domain recipients in files other than
#   /etc/passwd, /etc/aliases, or the $virtual_alias_maps files.
#   For example, you define $mydestination domain recipients in    
#   the $virtual_mailbox_maps files.
#
# - You redefine the local delivery agent in master.cf.
#
# - You redefine the "local_transport" setting in main.cf.
#
# - You use the "luser_relay", "mailbox_transport", or "fallback_transport"
#   feature of the Postfix local delivery agent (see local(8)).
#
# Details are described in the LOCAL_RECIPIENT_README file.
#
# Beware: if the Postfix SMTP server runs chrooted, you probably have
# to access the passwd file via the proxymap service, in order to
# overcome chroot restrictions. The alternative, having a copy of
# the system passwd file in the chroot jail is just not practical.
#
# The right-hand side of the lookup tables is conveniently ignored.
# In the left-hand side, specify a bare username, an @domain.tld
# wild-card, or specify a user@domain.tld address.
# 
#local_recipient_maps = unix:passwd.byname $alias_maps
#local_recipient_maps = proxy:unix:passwd.byname $alias_maps
#local_recipient_maps =

# The unknown_local_recipient_reject_code specifies the SMTP server
# response code when a recipient domain matches $mydestination or
# ${proxy,inet}_interfaces, while $local_recipient_maps is non-empty
# and the recipient address or address local-part is not found.
#
# The default setting is 550 (reject mail) but it is safer to start
# with 450 (try again later) until you are certain that your
# local_recipient_maps settings are OK.
#
unknown_local_recipient_reject_code = 550

# TRUST AND RELAY CONTROL

# The mynetworks parameter specifies the list of "trusted" SMTP
# clients that have more privileges than "strangers".
#
# In particular, "trusted" SMTP clients are allowed to relay mail
# through Postfix.  See the smtpd_recipient_restrictions parameter
# in postconf(5).
#
# You can specify the list of "trusted" network addresses by hand
# or you can let Postfix do it for you (which is the default).
#
# By default (mynetworks_style = subnet), Postfix "trusts" SMTP
# clients in the same IP subnetworks as the local machine.
# On Linux, this does works correctly only with interfaces specified
# with the "ifconfig" command.
# 
# Specify "mynetworks_style = class" when Postfix should "trust" SMTP
# clients in the same IP class A/B/C networks as the local machine.
# Don't do this with a dialup site - it would cause Postfix to "trust"
# your entire provider's network.  Instead, specify an explicit
# mynetworks list by hand, as described below.
#  
# Specify "mynetworks_style = host" when Postfix should "trust"
# only the local machine.
# 
#mynetworks_style = class
#mynetworks_style = subnet
#mynetworks_style = host

# Alternatively, you can specify the mynetworks list by hand, in
# which case Postfix ignores the mynetworks_style setting.
#
# Specify an explicit list of network/netmask patterns, where the
# mask specifies the number of bits in the network part of a host
# address.
#
# You can also specify the absolute pathname of a pattern file instead
# of listing the patterns here. Specify type:table for table-based lookups
# (the value on the table right-hand side is not used).
#
#mynetworks = 168.100.189.0/28, 127.0.0.0/8
#mynetworks = $config_directory/mynetworks
#mynetworks = hash:/etc/postfix/network_table

# The relay_domains parameter restricts what destinations this system will
# relay mail to.  See the smtpd_recipient_restrictions description in
# postconf(5) for detailed information.
#
# By default, Postfix relays mail
# - from "trusted" clients (IP address matches $mynetworks) to any destination,
# - from "untrusted" clients to destinations that match $relay_domains or
#   subdomains thereof, except addresses with sender-specified routing.
# The default relay_domains value is $mydestination.
# 
# In addition to the above, the Postfix SMTP server by default accepts mail
# that Postfix is final destination for:
# - destinations that match $inet_interfaces or $proxy_interfaces,
# - destinations that match $mydestination
# - destinations that match $virtual_alias_domains,
# - destinations that match $virtual_mailbox_domains.
# These destinations do not need to be listed in $relay_domains.
# 
# Specify a list of hosts or domains, /file/name patterns or type:name
# lookup tables, separated by commas and/or whitespace.  Continue
# long lines by starting the next line with whitespace. A file name
# is replaced by its contents; a type:name table is matched when a
# (parent) domain appears as lookup key.
#
# NOTE: Postfix will not automatically forward mail for domains that
# list this system as their primary or backup MX host. See the
# permit_mx_backup restriction description in postconf(5).
#
#relay_domains = $mydestination

# INTERNET OR INTRANET

# The relayhost parameter specifies the default host to send mail to
# when no entry is matched in the optional transport(5) table. When
# no relayhost is given, mail is routed directly to the destination.
#
# On an intranet, specify the organizational domain name. If your
# internal DNS uses no MX records, specify the name of the intranet
# gateway host instead.
#
# In the case of SMTP, specify a domain, host, host:port, [host]:port,
# [address] or [address]:port; the form [host] turns off MX lookups.
#
# If you're connected via UUCP, see also the default_transport parameter.
#
#relayhost = $mydomain
#relayhost = [gateway.my.domain]
#relayhost = [mailserver.isp.tld]
#relayhost = uucphost
#relayhost = [an.ip.add.ress]

# REJECTING UNKNOWN RELAY USERS
#
# The relay_recipient_maps parameter specifies optional lookup tables
# with all addresses in the domains that match $relay_domains.
#
# If this parameter is defined, then the SMTP server will reject
# mail for unknown relay users. This feature is off by default.
#
# The right-hand side of the lookup tables is conveniently ignored.
# In the left-hand side, specify an @domain.tld wild-card, or specify
# a user@domain.tld address.
# 
#relay_recipient_maps = hash:/etc/postfix/relay_recipients

# INPUT RATE CONTROL
#
# The in_flow_delay configuration parameter implements mail input
# flow control. This feature is turned on by default, although it
# still needs further development (it's disabled on SCO UNIX due
# to an SCO bug).
# 
# A Postfix process will pause for $in_flow_delay seconds before
# accepting a new message, when the message arrival rate exceeds the
# message delivery rate. With the default 100 SMTP server process
# limit, this limits the mail inflow to 100 messages a second more
# than the number of messages delivered per second.
# 
# Specify 0 to disable the feature. Valid delays are 0..10.
# 
#in_flow_delay = 1s

# ADDRESS REWRITING
#
# The ADDRESS_REWRITING_README document gives information about
# address masquerading or other forms of address rewriting including
# username->Firstname.Lastname mapping.

# ADDRESS REDIRECTION (VIRTUAL DOMAIN)
#
# The VIRTUAL_README document gives information about the many forms
# of domain hosting that Postfix supports.

# "USER HAS MOVED" BOUNCE MESSAGES
#
# See the discussion in the ADDRESS_REWRITING_README document.

# TRANSPORT MAP
#
# See the discussion in the ADDRESS_REWRITING_README document.

# ALIAS DATABASE
#
# The alias_maps parameter specifies the list of alias databases used
# by the local delivery agent. The default list is system dependent.
#
# On systems with NIS, the default is to search the local alias
# database, then the NIS alias database. See aliases(5) for syntax
# details.
# 
# If you change the alias database, run "postalias /etc/aliases" (or
# wherever your system stores the mail alias file), or simply run
# "newaliases" to build the necessary DBM or DB file.
#
# It will take a minute or so before changes become visible.  Use
# "postfix reload" to eliminate the delay.
#
#alias_maps = dbm:/etc/aliases
alias_maps = hash:/etc/aliases, hash:/var/spool/postfix/plesk/aliases
#alias_maps = hash:/etc/aliases, nis:mail.aliases
#alias_maps = netinfo:/aliases

# The alias_database parameter specifies the alias database(s) that
# are built with "newaliases" or "sendmail -bi".  This is a separate
# configuration parameter, because alias_maps (see above) may specify
# tables that are not necessarily all under control by Postfix.
#
#alias_database = dbm:/etc/aliases
#alias_database = dbm:/etc/mail/aliases
alias_database = hash:/etc/aliases
#alias_database = hash:/etc/aliases, hash:/opt/majordomo/aliases

# ADDRESS EXTENSIONS (e.g., user+foo)
#
# The recipient_delimiter parameter specifies the separator between
# user names and address extensions (user+foo). See canonical(5),
# local(8), relocated(5) and virtual(5) for the effects this has on
# aliases, canonical, virtual, relocated and .forward file lookups.
# Basically, the software tries user+foo and .forward+foo before
# trying user and .forward.
#
#recipient_delimiter = +

# DELIVERY TO MAILBOX
#
# The home_mailbox parameter specifies the optional pathname of a
# mailbox file relative to a user's home directory. The default
# mailbox file is /var/spool/mail/user or /var/mail/user.  Specify
# "Maildir/" for qmail-style delivery (the / is required).
#
#home_mailbox = Mailbox
#home_mailbox = Maildir/
 
# The mail_spool_directory parameter specifies the directory where
# UNIX-style mailboxes are kept. The default setting depends on the
# system type.
#
#mail_spool_directory = /var/mail
#mail_spool_directory = /var/spool/mail

# The mailbox_command parameter specifies the optional external
# command to use instead of mailbox delivery. The command is run as
# the recipient with proper HOME, SHELL and LOGNAME environment settings.
# Exception:  delivery for root is done as $default_user.
#
# Other environment variables of interest: USER (recipient username),
# EXTENSION (address extension), DOMAIN (domain part of address),
# and LOCAL (the address localpart).
#
# Unlike other Postfix configuration parameters, the mailbox_command
# parameter is not subjected to $parameter substitutions. This is to
# make it easier to specify shell syntax (see example below).
#
# Avoid shell meta characters because they will force Postfix to run
# an expensive shell process. Procmail alone is expensive enough.
#
# IF YOU USE THIS TO DELIVER MAIL SYSTEM-WIDE, YOU MUST SET UP AN
# ALIAS THAT FORWARDS MAIL FOR ROOT TO A REAL USER.
#
#mailbox_command = /some/where/procmail
#mailbox_command = /some/where/procmail -a "$EXTENSION"

# The mailbox_transport specifies the optional transport in master.cf
# to use after processing aliases and .forward files. This parameter
# has precedence over the mailbox_command, fallback_transport and
# luser_relay parameters.
#
# Specify a string of the form transport:nexthop, where transport is
# the name of a mail delivery transport defined in master.cf.  The
# :nexthop part is optional. For more details see the sample transport
# configuration file.
#
# NOTE: if you use this feature for accounts not in the UNIX password
# file, then you must update the "local_recipient_maps" setting in
# the main.cf file, otherwise the SMTP server will reject mail for    
# non-UNIX accounts with "User unknown in local recipient table".
#
#mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp

# If using the cyrus-imapd IMAP server deliver local mail to the IMAP
# server using LMTP (Local Mail Transport Protocol), this is prefered
# over the older cyrus deliver program by setting the
# mailbox_transport as below:
#
# mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp
#
# The efficiency of LMTP delivery for cyrus-imapd can be enhanced via
# these settings.
#
# local_destination_recipient_limit = 300
# local_destination_concurrency_limit = 5
#
# Of course you should adjust these settings as appropriate for the
# capacity of the hardware you are using. The recipient limit setting
# can be used to take advantage of the single instance message store
# capability of Cyrus. The concurrency limit can be used to control
# how many simultaneous LMTP sessions will be permitted to the Cyrus
# message store.
#
# To use the old cyrus deliver program you have to set:
#mailbox_transport = cyrus

# The fallback_transport specifies the optional transport in master.cf
# to use for recipients that are not found in the UNIX passwd database.
# This parameter has precedence over the luser_relay parameter.
#
# Specify a string of the form transport:nexthop, where transport is
# the name of a mail delivery transport defined in master.cf.  The
# :nexthop part is optional. For more details see the sample transport
# configuration file.
#
# NOTE: if you use this feature for accounts not in the UNIX password
# file, then you must update the "local_recipient_maps" setting in
# the main.cf file, otherwise the SMTP server will reject mail for    
# non-UNIX accounts with "User unknown in local recipient table".
#
#fallback_transport = lmtp:unix:/var/lib/imap/socket/lmtp
#fallback_transport =

# The luser_relay parameter specifies an optional destination address
# for unknown recipients.  By default, mail for unknown@$mydestination,
# unknown@[$inet_interfaces] or unknown@[$proxy_interfaces] is returned
# as undeliverable.
#
# The following expansions are done on luser_relay: $user (recipient
# username), $shell (recipient shell), $home (recipient home directory),
# $recipient (full recipient address), $extension (recipient address
# extension), $domain (recipient domain), $local (entire recipient
# localpart), $recipient_delimiter. Specify ${name?value} or
# ${name:value} to expand value only when $name does (does not) exist.
#
# luser_relay works only for the default Postfix local delivery agent.
#
# NOTE: if you use this feature for accounts not in the UNIX password
# file, then you must specify "local_recipient_maps =" (i.e. empty) in
# the main.cf file, otherwise the SMTP server will reject mail for    
# non-UNIX accounts with "User unknown in local recipient table".
#
#luser_relay = $user@other.host
#luser_relay = $local@other.host
#luser_relay = admin+$local
  
# JUNK MAIL CONTROLS
# 
# The controls listed here are only a very small subset. The file
# SMTPD_ACCESS_README provides an overview.

# The header_checks parameter specifies an optional table with patterns
# that each logical message header is matched against, including
# headers that span multiple physical lines.
#
# By default, these patterns also apply to MIME headers and to the
# headers of attached messages. With older Postfix versions, MIME and
# attached message headers were treated as body text.
#
# For details, see "man header_checks".
#
#header_checks = regexp:/etc/postfix/header_checks

# FAST ETRN SERVICE
#
# Postfix maintains per-destination logfiles with information about
# deferred mail, so that mail can be flushed quickly with the SMTP
# "ETRN domain.tld" command, or by executing "sendmail -qRdomain.tld".
# See the ETRN_README document for a detailed description.
# 
# The fast_flush_domains parameter controls what destinations are
# eligible for this service. By default, they are all domains that
# this server is willing to relay mail to.
# 
#fast_flush_domains = $relay_domains

# SHOW SOFTWARE VERSION OR NOT
#
# The smtpd_banner parameter specifies the text that follows the 220
# code in the SMTP server's greeting banner. Some people like to see
# the mail version advertised. By default, Postfix shows no version.
#
# You MUST specify $myhostname at the start of the text. That is an
# RFC requirement. Postfix itself does not care.
#
#smtpd_banner = $myhostname ESMTP $mail_name
#smtpd_banner = $myhostname ESMTP $mail_name ($mail_version)

# PARALLEL DELIVERY TO THE SAME DESTINATION
#
# How many parallel deliveries to the same user or domain? With local
# delivery, it does not make sense to do massively parallel delivery
# to the same user, because mailbox updates must happen sequentially,
# and expensive pipelines in .forward files can cause disasters when
# too many are run at the same time. With SMTP deliveries, 10
# simultaneous connections to the same domain could be sufficient to
# raise eyebrows.
# 
# Each message delivery transport has its XXX_destination_concurrency_limit
# parameter.  The default is $default_destination_concurrency_limit for
# most delivery transports. For the local delivery agent the default is 2.

#local_destination_concurrency_limit = 2
#default_destination_concurrency_limit = 20

# DEBUGGING CONTROL
#
# The debug_peer_level parameter specifies the increment in verbose
# logging level when an SMTP client or server host name or address
# matches a pattern in the debug_peer_list parameter.
#
debug_peer_level = 2

# The debug_peer_list parameter specifies an optional list of domain
# or network patterns, /file/name patterns or type:name tables. When
# an SMTP client or server host name or address matches a pattern,
# increase the verbose logging level by the amount specified in the
# debug_peer_level parameter.
#
#debug_peer_list = 127.0.0.1
#debug_peer_list = some.domain

# The debugger_command specifies the external command that is executed
# when a Postfix daemon program is run with the -D option.
#
# Use "command .. & sleep 5" so that the debugger can attach before
# the process marches on. If you use an X-based debugger, be sure to
# set up your XAUTHORITY environment variable before starting Postfix.
#
debugger_command =
	 PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
	 ddd $daemon_directory/$process_name $process_id & sleep 5

# If you can't use X, use this to capture the call stack when a
# daemon crashes. The result is in a file in the configuration
# directory, and is named after the process name and the process ID.
#
# debugger_command =
#	PATH=/bin:/usr/bin:/usr/local/bin; export PATH; (echo cont;
#	echo where) | gdb $daemon_directory/$process_name $process_id 2>&1
#	>$config_directory/$process_name.$process_id.log & sleep 5
#
# Another possibility is to run gdb under a detached screen session.
# To attach to the screen sesssion, su root and run "screen -r
# <id_string>" where <id_string> uniquely matches one of the detached
# sessions (from "screen -list").
#
# debugger_command =
#	PATH=/bin:/usr/bin:/sbin:/usr/sbin; export PATH; screen
#	-dmS $process_name gdb $daemon_directory/$process_name
#	$process_id & sleep 1

# INSTALL-TIME CONFIGURATION INFORMATION
#
# The following parameters are used when installing a new Postfix version.
# 
# sendmail_path: The full pathname of the Postfix sendmail command.
# This is the Sendmail-compatible mail posting interface.
# 
sendmail_path = /usr/sbin/sendmail.postfix

# newaliases_path: The full pathname of the Postfix newaliases command.
# This is the Sendmail-compatible command to build alias databases.
#
newaliases_path = /usr/bin/newaliases.postfix

# mailq_path: The full pathname of the Postfix mailq command.  This
# is the Sendmail-compatible mail queue listing command.
# 
mailq_path = /usr/bin/mailq.postfix

# setgid_group: The group for mail submission and queue management
# commands.  This must be a group name with a numerical group ID that
# is not shared with other accounts, not even with the Postfix account.
#
setgid_group = postdrop

# html_directory: The location of the Postfix HTML documentation.
#
html_directory = no

# manpage_directory: The location of the Postfix on-line manual pages.
#
manpage_directory = /usr/share/man

# sample_directory: The location of the Postfix sample configuration files.
# This parameter is obsolete as of Postfix 2.1.
#
sample_directory = /usr/share/doc/postfix-2.8.4/samples

# readme_directory: The location of the Postfix README files.
#
readme_directory = /usr/share/doc/postfix-2.8.4/README_FILES
virtual_mailbox_domains = $virtual_mailbox_maps, hash:/var/spool/postfix/plesk/virtual_domains
virtual_alias_maps = $virtual_maps, hash:/var/spool/postfix/plesk/virtual
virtual_mailbox_maps = hash:/var/spool/postfix/plesk/vmailbox
transport_maps = hash:/var/spool/postfix/plesk/transport
smtpd_tls_cert_file = /etc/postfix/postfix_default.pem
smtpd_tls_key_file = $smtpd_tls_cert_file
smtpd_tls_security_level = may
smtpd_use_tls = yes
smtp_tls_security_level = may
smtp_use_tls = no
smtpd_timeout = 3600s
smtpd_proxy_timeout = 3600s
disable_vrfy_command = yes
mynetworks = 127.0.0.0/8 [::1]/128 85.17.136.101/32
smtpd_sender_restrictions = check_sender_access hash:/var/spool/postfix/plesk/blacklists, permit_sasl_authenticated, check_client_access pcre:/var/spool/postfix/plesk/non_auth.re
smtpd_client_restrictions = permit_mynetworks
smtp_send_xforward_command = yes
smtpd_authorized_xforward_hosts = 127.0.0.0/8 [::1]/128
smtpd_sasl_auth_enable = yes
smtpd_recipient_restrictions = permit_mynetworks, check_client_access pcre:/var/spool/postfix/plesk/no_relay.re, permit_sasl_authenticated, reject_unauth_destination
virtual_mailbox_base = /var/qmail/mailnames
virtual_uid_maps = static:110
virtual_gid_maps = static:31


sender_dependent_default_transport_maps = hash:/var/spool/postfix/plesk/sdd_transport_maps
virtual_transport = plesk_virtual
plesk_virtual_destination_recipient_limit = 1
mailman_destination_recipient_limit = 1
myhostname = adm.scul.net
smtpd_milters = inet:127.0.0.1:8891, inet:localhost:12768
non_smtpd_milters = inet:127.0.0.1:8891, inet:localhost:12768
milter_default_action = accept
milter_protocol = 2
message_size_limit = 10240000

[ Voor 91% gewijzigd door ScuL op 03-11-2014 11:41 ]

ProMods ETS2 uitbreiding - Mijn tijdszone is UTC+13


Acties:
  • 0 Henk 'm!

  • ScuL
  • Registratie: Januari 2000
  • Laatst online: 16:55
Ik heb nog wat zitten neuzen,

in de maillog is te vinden dat postfix gestopt is op 28 Oktober om 4 uur 's nachts;
Oct 28 04:10:18 adm postfix/postfix-script[7708]: stopping the Postfix mail system
Oct 28 04:10:18 adm postfix/postfix-script[7711]: waiting for the Postfix mail system to terminate
Oct 28 04:10:18 adm postfix/master[17630]: terminating on signal 15
Oct 28 04:10:20 adm postfix/postfix-script[7786]: starting the Postfix mail system
Oct 28 04:10:20 adm postfix/master[7787]: fatal: bind 0.0.0.0 port 25: Address already in use
Oct 28 04:10:39 adm postfix/postfix-script[8046]: fatal: the Postfix mail system is not running
Oct 28 04:10:39 adm postfix/postfix-script[8117]: starting the Postfix mail system


Precies daarvoor is een automatische yum-update geïnstalleerd
Oct 28 04:00:56 Updated: owncloud-7.0.2-20.1.noarch
Oct 28 04:00:58 Updated: owncloud-3rdparty-7.0.2-20.1.noarch
Oct 28 04:09:44 Updated: sw-engine-2.5.2-201410011118.rhel6.x86_64
Oct 28 04:09:44 Updated: psa-updates-11.0.9-rhel6.build110141001.11.noarch


Ik vermoed dat de ellende zit in psa-updates-11.0.9-rhel6.build110141001.11.noarch
Kan hier echter niets over vinden

ProMods ETS2 uitbreiding - Mijn tijdszone is UTC+13


Acties:
  • 0 Henk 'm!

  • begintmeta
  • Registratie: November 2001
  • Niet online

begintmeta

Moderator General Chat
Gebruik je plesk? dan kan je misschien nog eens kijken wat plesk met postfix doet.

Acties:
  • 0 Henk 'm!

  • ScuL
  • Registratie: Januari 2000
  • Laatst online: 16:55
begintmeta schreef op maandag 03 november 2014 @ 12:34:
Gebruik je plesk? dan kan je misschien nog eens kijken wat plesk met postfix doet.
Jep plesk 11.0.9 Update #63, last updated at Nov 3, 2014 12:17 PM

postfix 2.8.4-12052415

Volgens de services tab is postfix niet actief
Als je hem probeert te starten krijg je
ERROR: PleskUtilException
mailmng failed: Starting postfix: [ OK ]

0: Manager.php:165
mail_Manager::execWithException(string 'smart_exec', string 'mailmng', array, array, string 'lst')
1: Manager.php:220
mail_Manager->callMailManager(string 'start-service', array)
2: Manager.php:488
mail_Manager->smtpControl(string 'start')
3: class.ServiceControl.php:441
ServiceControl->action()
4: restart_services.php:22
require(string '/usr/local/psa/admin/htdocs/server/restart_services.php')
5: plesk.php:61

ProMods ETS2 uitbreiding - Mijn tijdszone is UTC+13


Acties:
  • 0 Henk 'm!

  • Hero of Time
  • Registratie: Oktober 2004
  • Laatst online: 21:16

Hero of Time

Moderator LNX

There is only one Legend

Schakel Plesk eens helemaal uit (autostart en all, zie chkconfig). Probeer dan Postfix weer te starten of herstart de machine en zie wat je dan hebt.

Commandline FTW | Tweakt met mate


Acties:
  • 0 Henk 'm!

  • ScuL
  • Registratie: Januari 2000
  • Laatst online: 16:55
Ik heb inmiddels op het supportforum van Plesk ook een draadje lopen. Men lijkt net zo clueless.

Ik heb postfix gewisseld voor qmail en vice versa en nog steeds geen succes.
Begin welhaast te denken, als dit geen rechten/permissie probleem is dat er misschien een onzichtbaar proces of rootkit op poort 25 draait. Vreemd genoeg kan ik er niks op detecteren

http://forum.sp.parallels...esk-update-oct-28.325109/

Ik heb Plesk ook gestopt en het nog eens geprobeerd, geen effect.

Als je Plesk weer start met "psa start" krijg je:
Starting xinetd service... done
Starting mysqld service... done
Starting named service... done
Starting postgresql service... not installed
Starting psa-spamassassin service... not installed
Plesk: Starting Mail Server... failed
Starting psa... done

[ Voor 41% gewijzigd door ScuL op 03-11-2014 15:01 ]

ProMods ETS2 uitbreiding - Mijn tijdszone is UTC+13


Acties:
  • 0 Henk 'm!

  • satya
  • Registratie: Januari 2014
  • Laatst online: 05-07 18:49
Het kan zijn dat je updates niet allemaal doorkomen omdat het updates naar 6.6 zijn, en bij een yum update worden eventuele oude zaken verwijderd, wat je kunt voorkomen met een yum upgrade voor zover ik weet.

Dus dat er nog updates pending zijn lijkt me valide in dit geval.

Acties:
  • 0 Henk 'm!

  • ScuL
  • Registratie: Januari 2000
  • Laatst online: 16:55
Bij een yum upgrade staan er 3 packages die nieuw moeten worden geïnstalleerd en 182 voor upgrade.
Echter dat wil niet omdat:
Transaction Check Error:
  installing package kernel-2.6.32-504.el6.x86_64 needs 16MB on the /boot filesystem

Error Summary
-------------
Disk Requirements:
  At least 16MB more space needed on the /boot filesystem.

ProMods ETS2 uitbreiding - Mijn tijdszone is UTC+13


Acties:
  • 0 Henk 'm!

  • ScuL
  • Registratie: Januari 2000
  • Laatst online: 16:55
Ik heb inmiddels een oude kernel verwijderd en een yum upgrade gedaan van alle 185 packages. Er is nu niets meer te installeren en de server draait op CentOS 6.6

Postfix probleem is nog steeds onveranderd!

[ Voor 12% gewijzigd door ScuL op 03-11-2014 16:49 ]

ProMods ETS2 uitbreiding - Mijn tijdszone is UTC+13


Acties:
  • 0 Henk 'm!

  • syl765
  • Registratie: Juni 2004
  • Laatst online: 07-06 09:27
Probeer eens in de master.cf file de poort te veranderen naar bijvoorbeeld 26.
code:
1
26      inet  n       -       n       -       -       smtpd


In de main.cf file probeer postfix eens te binden aan het eigenlijke ip adres.
dus inet_interfaces = all veranderen naar inet_interfaces = 85.17.136.101 (als dat je ip adres is anders het lokale adres.)
code:
1
inet_interfaces = 85.17.136.101

Acties:
  • 0 Henk 'm!

  • ScuL
  • Registratie: Januari 2000
  • Laatst online: 16:55
Held!

In master.cf stond die regel op:
127.0.0.1:smtp inet n - n - - smtpd

Ik heb hem eerst veranderd in:
26 inet n - n - - smtpd

Om poort 26 te draaien, dat werkte!

Daarna veranderd in:
25 inet n - n - - smtpd

en nu werkt het weer.

Ik heb alleen wel een probleem met:

Nov 3 17:32:08 adm postfix/cleanup[14214]: warning: connect to Milter service inet:localhost:12768: Connection refused


Dat moet ik nog even uitzoeken.
Ik heb nu met /usr/local/psa/admin/bin/autoinstaller --select-product-id plesk --select-release-current --reinstall-patch --install-component postfix​

postfix via plesk opnieuw geïnstalleerd, nu draait de Milter service ook weer..
:)


Ik begrijp niet waarom bovenstaande echter opeens een probleem is geworden. Misschien is master.cf tijdens die update aangepast 8)7
Het heeft zo altijd gewerkt.

Ik weet nu trouwens ook waarom de dagelijkse yum update niet heeft gewerkt, ik heb nu 10 mailtjes in mijn inbox met daarin:
code:
1
2
3
4
5
6
7
8
9
/etc/cron.daily/0yum.cron:

Error: Transaction Check Error:
  installing package kernel-2.6.32-504.el6.x86_64 needs 16MB on the /boot filesystem

Error Summary
-------------
Disk Requirements:
  At least 16MB more space needed on the /boot filesystem.


Vanaf de dag dat die update werd vrijgegeven (28 okt)

Oh ik kreeg trouwens ook de volgende fout tijdens de yum upgrade

Updating : selinux-policy-targeted-3.7.19-260.el6.noarch 132/367
/etc/selinux/targeted/contexts/files/file_contexts: Invalid argument
libsemanage.semanage_install_active: setfiles returned error code 1.
semodule: Failed!

[ Voor 55% gewijzigd door ScuL op 03-11-2014 18:15 ]

ProMods ETS2 uitbreiding - Mijn tijdszone is UTC+13


Acties:
  • 0 Henk 'm!

  • satya
  • Registratie: Januari 2014
  • Laatst online: 05-07 18:49
Sjappo voor de oplossing, ik zou er niet op gekomen zijn.

Doet mij een beetje denken aan de problematiek die kan opstaan door de aanwezigheid van
ipv4 en ipv6 tegelijkertijd, en dat sommige applicaties (steeds meer) per default eerst ipv6 gebruiken.

De eerste keer dat ik hier tegenaan liep was met de website van nagios op Suse. Het uithekken
van de ipv6 entrys in /etc/hosts was toen voldoende.

Met graylog2 (java) had ik hier last van, en toen ik er over ging lezen kwam ik stukken tegen die
aangeven dat je (netwerk afhankelijke) applicatie vlotter kan werken als je ipv6 op kernel level uitschakelt.

Tot nu toe is dit positief uitgevallen, en regel ik dit steeds vaker zo in.

Ben benieuwd hoe anderen dit zien.

[ Voor 14% gewijzigd door satya op 03-11-2014 18:45 ]


Acties:
  • 0 Henk 'm!

  • CAPSLOCK2000
  • Registratie: Februari 2003
  • Laatst online: 06-07 13:30

CAPSLOCK2000

zie teletekst pagina 888

IMHO maak je zo alleen maar meer problemen voor je zelf. Je kan bezig blijven met IPv6 uitschakelen of er voor zorgen dat het goed werkt. Vroeg of laat ga je het toch nodig hebben en dan moet je het weer gaan inschakelen.

This post is warranted for the full amount you paid me for it.


Acties:
  • 0 Henk 'm!

  • syl765
  • Registratie: Juni 2004
  • Laatst online: 07-06 09:27
satya schreef op maandag 03 november 2014 @ 18:41:
Sjappo voor de oplossing, ik zou er niet op gekomen zijn.
De kracht van het forum. Ik ben zelf ook wel eens op zoek naar antwoorden en als je dan net in de verkeerde hoek zoekt kan het soms heel frustrerend zijn. Als er meerdere mensen meedenken zit er altijd wel iemand tussen die net even in de andere hoek zoekt.

Maar het blijft een vreemde situatie.
In master.cf kun je trouwens 25 weer vervangen door smtp, staat net wat mooier.

Ik gebruik binnen mijn applicaties nooit een luisteren op alles config. Ik pas de configuratie altijd zo aan dat hij alleen luisterd op de interface waarop dat ook nodig is. Een macht der gewoonte.

@ScuL
Fijn dat ik je een setje in de juiste richting kon geven.

Acties:
  • 0 Henk 'm!

  • DiedX
  • Registratie: December 2000
  • Laatst online: 20:03
CAPSLOCK2000 schreef op maandag 03 november 2014 @ 18:48:
IMHO maak je zo alleen maar meer problemen voor je zelf. Je kan bezig blijven met IPv6 uitschakelen of er voor zorgen dat het goed werkt. Vroeg of laat ga je het toch nodig hebben en dan moet je het weer gaan inschakelen.
Eens, maar ik weet niet of Plesk ondertussen IPv6 ondersteund. De laatste keer dat ik keek niet.

Overigens zou ik nooit automatisch patchen. Je kernel-probleem kan je oplossen door:

code:
1
rpm -qa | grep kernel


Hier komt een lijst met kernels en modules uit.

en vervolgens met

code:
1
2
rpm -e $kernel
rpm -e $module


de kernels en modules verwijderen. Verwijder daarbij *NOOIT* de laatste en voorlaatste kernel. Vermoedelijk kan dit beter, maar mijn Linux is de laatste jaren roestig :)

DiedX supports the Roland™, Sound Blaster™ and Ad Lib™ sound cards


Acties:
  • 0 Henk 'm!

  • Hero of Time
  • Registratie: Oktober 2004
  • Laatst online: 21:16

Hero of Time

Moderator LNX

There is only one Legend

Ipv het RPM commando gebruiken, is het beter om met Yum te werken. Als je namelijk met RPM een package installeert of verwijdert, is Yum daar niet van op de hoogte totdat 't een sync doet. Dus beter om dan yum remove <package naam en versie> uit te voeren.
Waarom dit zo raar werkt, weet ik niet. Handig is anders.

Commandline FTW | Tweakt met mate


Acties:
  • 0 Henk 'm!

Anoniem: 26306

DiedX schreef op dinsdag 04 november 2014 @ 10:39:
Vermoedelijk kan dit beter, maar mijn Linux is de laatste jaren roestig :)
Klopt, met de installonly_limit optie van yum. Daarmee kun je bijvoorbeeld aangeven dat je maar 2 kernel versies wilt bewaren.

Acties:
  • 0 Henk 'm!

  • Hero of Time
  • Registratie: Oktober 2004
  • Laatst online: 21:16

Hero of Time

Moderator LNX

There is only one Legend

En dat staat in RH7 iig al aan, net als Fedora nu. Weet niet vanaf welke versie van Fedora en of 't bij RH6 ook al zo was.

Commandline FTW | Tweakt met mate

Pagina: 1