[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

postfix + amavisd-new problem...



hallo,

sorry... auch wenns einige nervt..
ich wollte einen "smarthost", welcher mails von einem internen mailserver
bekommt ins www weiterleiten...
komme aber leider seit einiger zeit nicht mehr weiter :(
Als Mailsystem kommt Postfix,amavisd-new und f-prot auf dem "smarthost" zum einsatz.

aus der log datei:
Dec 11 16:31:04 blamx postfix/postfix-script: starting the Postfix mail system
Dec 11 16:31:04 blamx postfix/master[4512]:   daemon started -- version 2.0.16
Dec 11 16:32:13 blamx postfix/smtpd[4519]:    warning: dict_nis_init: NIS domain name not set - NIS lookups disabled

# interner mailserver host1 meldet sich an...
Dec 11 16:32:13 blamx postfix/smtpd[4519]:    connect from host1.example.com[192.168.10.13]
Dec 11 16:32:13 blamx postfix/smtpd[4519]:    4AA183BE5: client=host1.example.com[192.168.10.13]

# die mail...
Dec 11 16:32:13 blamx postfix/cleanup[4521]:  4AA183BE5: message-id=<D0EFFA869ABCC24DA3B9511EA0FD21A46AE2@host1.example.com>
Dec 11 16:32:13 blamx postfix/qmgr[4515]:     4AA183BE5: from=<user1.example.com>, size=2060, nrcpt=1 (queue active)

#wird disconnected?
Dec 11 16:32:13 blamx postfix/smtpd[4519]:    disconnect from host1.example.com[192.168.10.13]

#????  192.168.10.9 ist die ip des "smarthost" blamx... aber wieso denied access?
Dec 11 16:32:13 blamx amavis[3269]:           DENIED ACCESS from IP 192.168.10.9
Dec 11 16:32:13 blamx postfix/smtp[4523]:     connect to 127.0.0.1[127.0.0.1]: server dropped connection without sending the initial greeting (port 10024)
Dec 11 16:32:13 blamx postfix/smtp[4523]:     4AA183BE5: to=<user2@example.de>, relay=none, delay=0, status=deferred (connect to 127.0.0.1[127.0.0.1]: server
                                              dropped connection without sending the initial greeting)

-------------------------------------------------------------------------
1. in der amavisd.conf steht als benutzer: amavis

2. die gruppe amavis und der benutzer amavis existieren im system

3. so sehen die postfix einträge aus:
...
main.cf
...
queue_directory     = /var/spool/postfix
command_directory   = /usr/sbin
daemon_directory    = /usr/lib/postfix
program_directory   = /usr/lib/postfix

# how to deliver the mail
transport_maps      = hash:/etc/postfix/transport

#privileges
mail_owner         = postfix

# the fully qualified hostname of the system
myhostname          = blamx.example.com

# domainname of the system
mydomain            = example.com

# name that will apears on outgoing mail
myorigin            = $mydomain

# internal mailserver
internal_mail        = 192.168.10.13

# ip addresses to listen on
inet_interfaces      = $myhostname

# accept mail for final destination...
mydestination        = $mydomain

# ip address to relay mail for... ist hier der fehler?
mynetworks          = $internal_mail, 127.0.0.0/8

# accept mails from host
relayhost           = $internal_mail

# amavis content filter
content_filter      = amavis:[127.0.0.1]:10024

# ...
append_dot_mydomain = no


#mailbox_command     =
#recipient_delimiter= +

--------------------
master.cf
...................
localhost ist auskommentiert.. keine locale mailzustellung!!!

angehängt wurden:
127.0.0.1:10025 inet n - n - - smtpd
-o content_filter=
-o local_recipient_maps=
-o smtpd_helo_restriction=
-o smtpd_client_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions= permit_mynetworks, reject
-o mynetworks=127.0.0.0/8

amavis unix - - n - 2 smtp
-o smtp_data_done_timeout=1200
-o disable_dns_lookups=yes

:::::::::::::::::::::::::::::::::::::::::::::::::::::
würde mich über jeglichen hinweis freuen :)
(bin leider gerade nicht in GER sodas ich mir die IX NICHT besorgen kann...)

Robert.





Reply to: