Manfred Werner
27.01.07, 12:53
Hallo Forum,
ich habe diesesmal ein problem mit postgrey und komme hier leider nicht weiter.
Auf meinem Mailserver habe ich postgrey installiert.
Der Beutzer postgrey ist angelegt, der Daemon lauscht bei mir auf dem Port 60000. und gestartet habe ich postgrey über den Befehl.
/usr/sbin/postgrey --inet=60000 -daemonize
ein ps -ax | grep postgrey bringt ergibt
7697 ? Ss 0:00 /usr/sbin/postgrey --inet=60000 --daemonize
die Kontrolle mit Telnet auf dem Port 60000
# telnet localhost 60000
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Ach ja der Eintrag in der main.cf lautet
smtpd_recipient_restrictions=permit_auth_destinati on, permit_mynetworks, reject_unauth_destination, check_policy_service inet:127.0.0.1:60000, reject
ein lockers tail -f /var/log/mail bringt noch folgende Ausgabe
Jan 27 13:47:10 DE223310x00001 postgrey[7797]: Process Backgrounded
Jan 27 13:47:10 DE223310x00001 postgrey[7797]: 2007/01/27-13:47:10 postgrey (type Net::Server::Multiplex) starting! pid(7797)
Jan 27 13:47:10 DE223310x00001 postgrey[7797]: Binding to TCP port 60000 on host localhost
Jan 27 13:47:10 DE223310x00001 postgrey[7797]: Setting gid to "65533 65533"
Jan 27 13:47:10 DE223310x00001 postgrey[7797]: Setting uid to "95"
Soweit so gut. Eigentlich sollte postgrey nun auch laufen. Tut es aber nicht. Nach wi vor werden alle Mails einfach ohne policy check durchgeleitet.
Hier ist nochmal die Ausgabe von tail -f /var/log/mail nach einem Reboot und dem Eingang einer Testmail
Jan 27 13:54:51 DE223310x00001 postfix/qmgr[7597]: AE0CA2168E: removed
Jan 27 13:58:10 DE223310x00001 postfix/anvil[7883]: statistics: max connection rate 1/60s for (smtp:10.112.242.21) at Jan 27 13:54:43
Jan 27 13:58:10 DE223310x00001 postfix/anvil[7883]: statistics: max connection count 1 for (smtp:10.112.242.21) at Jan 27 13:54:43
Jan 27 13:58:10 DE223310x00001 postfix/anvil[7883]: statistics: max cache size 2 at Jan 27 13:54:50
Jan 27 14:00:14 DE223310x00001 postfix/master[7589]: terminating on signal 15
Jan 27 14:02:16 DE223310x00001 postgrey[2798]: Process Backgrounded
Jan 27 14:02:16 DE223310x00001 postgrey[2798]: 2007/01/27-14:02:16 postgrey (type Net::Server::Multiplex) starting! pid(2798)
Jan 27 14:02:16 DE223310x00001 postgrey[2798]: Binding to TCP port 60000 on host localhost
Jan 27 14:02:16 DE223310x00001 postgrey[2798]: Setting gid to "65533 65533"
Jan 27 14:02:16 DE223310x00001 postgrey[2798]: Setting uid to "95"
Jan 27 14:02:38 DE223310x00001 postfix/postfix-script: starting the Postfix mail system
Jan 27 14:02:38 DE223310x00001 postfix/master[3505]: daemon started -- version 2.2.9, configuration /etc/postfix
Jan 27 14:05:14 DE223310x00001 postfix/smtpd[3779]: connect from unknown[10.112.242.21]
Jan 27 14:05:15 DE223310x00001 postfix/smtpd[3779]: 6AABF1B5C2: client=unknown[10.112.242.21]
Jan 27 14:05:15 DE223310x00001 postfix/cleanup[3783]: 6AABF1B5C2: message-id=<BAY105-F160E18C3B9490B3905ACD7CDA10@phx.gbl>
Jan 27 14:05:15 DE223310x00001 postfix/smtpd[3779]: disconnect from unknown[10.112.242.21]
Jan 27 14:05:15 DE223310x00001 postfix/qmgr[3526]: 6AABF1B5C2: from=<serverus01@hotmail.com>, size=2918, nrcpt=1 (queue active)
Jan 27 14:05:16 DE223310x00001 postfix/lmtp[3785]: 6AABF1B5C2: to=<werner@DE223310x00002.Autohaus-Weinheim.de>, orig_to=<manfred.werner@Autohaus-weinheim.de>, relay=/var/lib/imap/socket/lmtp[/var/lib/imap/socket/lmtp], delay=1, status=sent (250 2.1.5 Ok)
Jan 27 14:05:16 DE223310x00001 postfix/qmgr[3526]: 6AABF1B5C2: removed
Wer kann mit einen Tipp geben ??
Manfred
ich habe diesesmal ein problem mit postgrey und komme hier leider nicht weiter.
Auf meinem Mailserver habe ich postgrey installiert.
Der Beutzer postgrey ist angelegt, der Daemon lauscht bei mir auf dem Port 60000. und gestartet habe ich postgrey über den Befehl.
/usr/sbin/postgrey --inet=60000 -daemonize
ein ps -ax | grep postgrey bringt ergibt
7697 ? Ss 0:00 /usr/sbin/postgrey --inet=60000 --daemonize
die Kontrolle mit Telnet auf dem Port 60000
# telnet localhost 60000
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Ach ja der Eintrag in der main.cf lautet
smtpd_recipient_restrictions=permit_auth_destinati on, permit_mynetworks, reject_unauth_destination, check_policy_service inet:127.0.0.1:60000, reject
ein lockers tail -f /var/log/mail bringt noch folgende Ausgabe
Jan 27 13:47:10 DE223310x00001 postgrey[7797]: Process Backgrounded
Jan 27 13:47:10 DE223310x00001 postgrey[7797]: 2007/01/27-13:47:10 postgrey (type Net::Server::Multiplex) starting! pid(7797)
Jan 27 13:47:10 DE223310x00001 postgrey[7797]: Binding to TCP port 60000 on host localhost
Jan 27 13:47:10 DE223310x00001 postgrey[7797]: Setting gid to "65533 65533"
Jan 27 13:47:10 DE223310x00001 postgrey[7797]: Setting uid to "95"
Soweit so gut. Eigentlich sollte postgrey nun auch laufen. Tut es aber nicht. Nach wi vor werden alle Mails einfach ohne policy check durchgeleitet.
Hier ist nochmal die Ausgabe von tail -f /var/log/mail nach einem Reboot und dem Eingang einer Testmail
Jan 27 13:54:51 DE223310x00001 postfix/qmgr[7597]: AE0CA2168E: removed
Jan 27 13:58:10 DE223310x00001 postfix/anvil[7883]: statistics: max connection rate 1/60s for (smtp:10.112.242.21) at Jan 27 13:54:43
Jan 27 13:58:10 DE223310x00001 postfix/anvil[7883]: statistics: max connection count 1 for (smtp:10.112.242.21) at Jan 27 13:54:43
Jan 27 13:58:10 DE223310x00001 postfix/anvil[7883]: statistics: max cache size 2 at Jan 27 13:54:50
Jan 27 14:00:14 DE223310x00001 postfix/master[7589]: terminating on signal 15
Jan 27 14:02:16 DE223310x00001 postgrey[2798]: Process Backgrounded
Jan 27 14:02:16 DE223310x00001 postgrey[2798]: 2007/01/27-14:02:16 postgrey (type Net::Server::Multiplex) starting! pid(2798)
Jan 27 14:02:16 DE223310x00001 postgrey[2798]: Binding to TCP port 60000 on host localhost
Jan 27 14:02:16 DE223310x00001 postgrey[2798]: Setting gid to "65533 65533"
Jan 27 14:02:16 DE223310x00001 postgrey[2798]: Setting uid to "95"
Jan 27 14:02:38 DE223310x00001 postfix/postfix-script: starting the Postfix mail system
Jan 27 14:02:38 DE223310x00001 postfix/master[3505]: daemon started -- version 2.2.9, configuration /etc/postfix
Jan 27 14:05:14 DE223310x00001 postfix/smtpd[3779]: connect from unknown[10.112.242.21]
Jan 27 14:05:15 DE223310x00001 postfix/smtpd[3779]: 6AABF1B5C2: client=unknown[10.112.242.21]
Jan 27 14:05:15 DE223310x00001 postfix/cleanup[3783]: 6AABF1B5C2: message-id=<BAY105-F160E18C3B9490B3905ACD7CDA10@phx.gbl>
Jan 27 14:05:15 DE223310x00001 postfix/smtpd[3779]: disconnect from unknown[10.112.242.21]
Jan 27 14:05:15 DE223310x00001 postfix/qmgr[3526]: 6AABF1B5C2: from=<serverus01@hotmail.com>, size=2918, nrcpt=1 (queue active)
Jan 27 14:05:16 DE223310x00001 postfix/lmtp[3785]: 6AABF1B5C2: to=<werner@DE223310x00002.Autohaus-Weinheim.de>, orig_to=<manfred.werner@Autohaus-weinheim.de>, relay=/var/lib/imap/socket/lmtp[/var/lib/imap/socket/lmtp], delay=1, status=sent (250 2.1.5 Ok)
Jan 27 14:05:16 DE223310x00001 postfix/qmgr[3526]: 6AABF1B5C2: removed
Wer kann mit einen Tipp geben ??
Manfred