[Postfixbuch-users] Postfix läuft--aber connction refused?

Timm Schneider t.schneider at tms-itdienst.at
So Okt 10 01:24:08 CEST 2010


Am 09.10.2010 23:07, schrieb Peer Heinlein:
> Am Samstag 09 Oktober 2010 22:10:48 schrieb Timm Schneider:
> 
>>  ich das auschließen kann, da in der sysconfig diesbzgl. nichts
>>  definiert ist, quasi "", somit sollte er doch auf alle hören?
> 
> Nein, bei SuSE ist das dann inet_interfaces=local
> 
> Peer
> 
Hallo Peer,

ja genau, da stand in der mail.cf "localhost", habe es jetzt umgestellt
und jetzt läuft es. Bin jetzt extra nochmal ins Büro gefahren und habe
die Server umgesteckt. Musste noch das Verzeichnis sasl2 in /var/run
anlegen, damit ich diese Mail versenden konnte, bzw. habe ich noch die
Übergabe an den Kaspersky abgeschalten, da da ein loop entstanden ist.
"To many hops 127.0.0.1" Ich übergebe die Mail über 10025 und sie sollte
über 10026 zurückkommen, aber....


Oct 10 01:15:55 lsrv01 postfix/smtp[14337]: 9E96844079:
to=<timm at mail.tms-it.net>, relay=127.0.0.1[127.0.0.1]:10025,
conn_use=22, delay=0.53, delays=0.26/0/0/0.27, dsn=2.0.0, status=sent
(250 2.0.0 Ok: queued as DFE5244059)
Oct 10 01:15:55 lsrv01 postfix/qmgr[14292]: 9E96844079: removed
Oct 10 01:15:55 lsrv01 postfix/smtpd[14343]: 2D55444079:
client=localhost[127.0.0.1]
Oct 10 01:15:55 lsrv01 kav4lms-filters[2685]: app [2983390064] INFO
Passing message to scanner: /var/tmp//.kav4lms-3dOJpi/tmp.MlZWVB
Oct 10 01:15:55 lsrv01 kav4lms-filters[2685]: app [2983390064] INFO
Scanner returned: 32
Oct 10 01:15:55 lsrv01 postfix/cleanup[14336]: 2D55444079:
message-id=<4CB0F7A1.1080304 at cpbx.co.at>
Oct 10 01:15:55 lsrv01 postfix/qmgr[14292]: 2D55444079:
from=<t.schneider at cpbx.co.at>, size=22617, nrcpt=1 (queue active)
Oct 10 01:15:55 lsrv01 postfix/smtp[14341]: DFE5244059:
to=<timm at mail.tms-it.net>, relay=127.0.0.1[127.0.0.1]:10025,
conn_use=16, delay=0.54, delays=0.27/0/0/0.27, dsn=2.0.0, status=sent
(250 2.0.0 Ok: queued as 2D55444079)
Oct 10 01:15:55 lsrv01 postfix/qmgr[14292]: DFE5244059: removed
Oct 10 01:15:55 lsrv01 postfix/smtpd[14303]: 709CD44059:
client=localhost[127.0.0.1]
Oct 10 01:15:55 lsrv01 kav4lms-filters[2685]: app [3000175472] INFO
Passing message to scanner: /var/tmp//.kav4lms-3dOJpi/tmp.pFXW6j
Oct 10 01:15:55 lsrv01 kav4lms-filters[2685]: app [3000175472] INFO
Scanner returned: 32
Oct 10 01:15:55 lsrv01 postfix/cleanup[14336]: 709CD44059:
message-id=<4CB0F7A1.1080304 at cpbx.co.at>
Oct 10 01:15:55 lsrv01 postfix/qmgr[14292]: 709CD44059:
from=<t.schneider at cpbx.co.at>, size=22925, nrcpt=1 (queue active)
Oct 10 01:15:55 lsrv01 postfix/smtp[14337]: 2D55444079:
to=<timm at mail.tms-it.net>, relay=127.0.0.1[127.0.0.1]:10025,
conn_use=23, delay=0.55, delays=0.27/0/0/0.27, dsn=2.0.0, status=sent
(250 2.0.0 Ok: queued as 709CD44059)
Oct 10 01:15:55 lsrv01 postfix/qmgr[14292]: 2D55444079: removed
Oct 10 01:15:55 lsrv01 postfix/smtpd[14343]: B3F1944079:
client=localhost[127.0.0.1]
Oct 10 01:15:55 lsrv01 kav4lms-filters[2685]: app [2983390064] INFO
Passing message to scanner: /var/tmp//.kav4lms-3dOJpi/tmp.EqzOL2
Oct 10 01:15:55 lsrv01 kav4lms-filters[2685]: app [2983390064] INFO
Scanner returned: 32
Oct 10 01:15:55 lsrv01 postfix/cleanup[14336]: B3F1944079:
message-id=<4CB0F7A1.1080304 at cpbx.co.at>
Oct 10 01:15:55 lsrv01 postfix/qmgr[14292]: B3F1944079:
from=<t.schneider at cpbx.co.at>, size=23233, nrcpt=1 (queue active)
Oct 10 01:15:56 lsrv01 postfix/smtp[14341]: 709CD44059:
to=<timm at mail.tms-it.net>, relay=127.0.0.1[127.0.0.1]:10025,
conn_use=17, delay=0.54, delays=0.27/0/0/0.27, dsn=2.0.0, status=sent
(250 2.0.0 Ok: queued as B3F1944079)
Oct 10 01:15:56 lsrv01 postfix/qmgr[14292]: 709CD44059: removed
Oct 10 01:15:56 lsrv01 postfix/smtpd[14303]: 014F044059:
client=localhost[127.0.0.1]
Oct 10 01:15:56 lsrv01 kav4lms-filters[2685]: app [3000175472] INFO
Passing message to scanner: /var/tmp//.kav4lms-3dOJpi/tmp.HdVJTL
Oct 10 01:15:56 lsrv01 kav4lms-filters[2685]: app [3000175472] INFO
Scanner returned: 32
Oct 10 01:15:56 lsrv01 postfix/cleanup[14336]: 014F044059:
message-id=<4CB0F7A1.1080304 at cpbx.co.at>
Oct 10 01:15:56 lsrv01 postfix/qmgr[14292]: 014F044059:
from=<t.schneider at cpbx.co.at>, size=23541, nrcpt=1 (queue active)
Oct 10 01:15:56 lsrv01 postfix/smtp[14337]: B3F1944079:
to=<timm at mail.tms-it.net>, relay=127.0.0.1[127.0.0.1]:10025,
conn_use=24, delay=0.54, delays=0.26/0/0/0.27, dsn=2.0.0, status=sent
(250 2.0.0 Ok: queued as 014F044059)
Oct 10 01:15:56 lsrv01 postfix/qmgr[14292]: B3F1944079: removed
Oct 10 01:15:56 lsrv01 postfix/smtpd[14343]: 445D844079:
client=localhost[127.0.0.1]
Oct 10 01:15:56 lsrv01 kav4lms-filters[2685]: app [2983390064] INFO
Passing message to scanner: /var/tmp//.kav4lms-3dOJpi/tmp.Ggvpvv
Oct 10 01:15:56 lsrv01 kav4lms-filters[2685]: app [2983390064] INFO
Scanner returned: 32
Oct 10 01:15:56 lsrv01 postfix/cleanup[14336]: 445D844079:
message-id=<4CB0F7A1.1080304 at cpbx.co.at>
Oct 10 01:15:56 lsrv01 postfix/qmgr[14292]: 445D844079:
from=<t.schneider at cpbx.co.at>, size=23849, nrcpt=1 (queue active)
Oct 10 01:15:56 lsrv01 postfix/smtp[14341]: 014F044059:
to=<timm at mail.tms-it.net>, relay=127.0.0.1[127.0.0.1]:10025,
conn_use=18, delay=0.55, delays=0.27/0/0/0.27, dsn=2.0.0, status=sent
(250 2.0.0 Ok: queued as 445D844079)
Oct 10 01:15:56 lsrv01 postfix/qmgr[14292]: 014F044059: removed


Hier noch die master.ccf

#
# Postfix master process configuration file.  For details on the format
# of the file, see the Postfix master(5) manual page.
#
# ==========================================================================
# service type  private unpriv  chroot  wakeup  maxproc command + args
#               (yes)   (yes)   (yes)   (never) (50)
# ==========================================================================
smtp      inet  n       -       n       -       -       smtpd

#submission inet n      -       n       -       -       smtpd
#<----->-o smtpd_etrn_restrictions=reject
#<----->-o smtpd_client_restrictions=permit_sasl_authenticated,reject
#smtps    inet  n       -       n       -       -       smtpd -o
smtpd_tls_wrappermode=yes
#  -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
#submission   inet    n       -       n       -       -       smtpd
#  -o smtpd_etrn_restrictions=reject
#  -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes
#628      inet  n       -       n       -       -       qmqpd
pickup    fifo  n       -       n       60      1       pickup
cleanup   unix  n       -       n       -       0       cleanup
qmgr      fifo  n       -       n       300     1       qmgr
#qmgr     fifo  n       -       n       300     1       oqmgr
#tlsmgr    unix  -       -       n       1000?   1       tlsmgr
rewrite   unix  -       -       n       -       -       trivial-rewrite
bounce    unix  -       -       n       -       0       bounce
defer     unix  -       -       n       -       0       bounce
trace     unix  -       -       n       -       0       bounce
verify    unix  -       -       n       -       1       verify
flush     unix  n       -       n       1000?   0       flush
proxymap  unix  -       -       n       -       -       proxymap
smtp      unix  -       -       n       -       -       smtp
#mailman   unix  -       n       n       -       -       pipe
#     flags=FR user=list argv=/usr/lib/mailman/bin/
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay     unix  -       -       n       -       -       smtp
<------>-o fallback_relay=
#       -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq     unix  n       -       n       -       -       showq
error     unix  -       -       n       -       -       error
discard   unix  -       -       n       -       -       discard
local     unix  -       n       n       -       -       local
virtual   unix  -       n       n       -       -       virtual
lmtp      unix  -       -       n       -       -       lmtp
anvil     unix  -       -       n       -       1       anvil
#localhost:10025 inet<->n<----->-<----->n<----->-<----->-<----->smtpd -o
content_filter=
scache<>  unix<>-<----->-<----->n<----->-<----->1<----->scache
#
# ====================================================================
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# Many of the following services use the Postfix pipe(8) delivery
# agent.  See the pipe(8) man page for information about ${recipient}
# and other message envelope options.
# ====================================================================
#
# maildrop. See the Postfix MAILDROP_README file for details.
# Also specify in main.cf: maildrop_destination_recipient_limit=1
#
maildrop  unix  -       n       n       -       -       pipe
  flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
cyrus<->  unix<>-<----->n<----->n<----->-<----->-<----->pipe
  user=cyrus argv=/usr/lib/cyrus/bin/deliver -e -r ${sender} -m
${extension} ${user}
uucp<-->  unix<>-<----->n<----->n<----->-<----->-<----->pipe
  flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail
($recipient)
ifmail    unix  -       n       n       -       -       pipe
  flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp     unix  -       n       n       -       -       pipe
  flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop
$recipient
procmail  unix  -       n       n       -       -       pipe
  flags=R user=nobody argv=/usr/bin/procmail -t -m /etc/procmailrc
${sender} ${recipient}
retry<->  unix<>-<----->-<----->n<----->-<----->-<----->error
proxywrite unix>-<----->-<----->n<----->-<----->1<----->proxymap
#kav4lms-filter-begin
kav4lms_filter       unix    -       -       n        -      10      smtp
#  -o smtp_send_xforward_command=yes
127.0.0.1:10026        inet    n       -       n       -       10      smtpd
#  -o content_filter=
#  -o
receive_override_options=no_unknown_recipient_checks,no_header_body_checks,no_address_mappings
#  -o smtpd_helo_restrictions=
    -o smtpd_client_restrictions=
#  -o smtpd_sender_restrictions=
#  -o smtpd_recipient_restrictions=permit_mynetworks,reject
#  -o mynetworks=127.0.0.0/8,[::1]/128
    -o smtpd_authorized_xforward_hosts=127.0.0.0/8,[::1]/128
#kav4lms-filter-end



Danke und Grüße
Timm



Mehr Informationen über die Mailingliste Postfixbuch-users