Maia Mailguard (amavisd-new Fehler)

From: Silvio Siefke <listen(at)silviosiefke.de>
Date: Mon, 19 Mar 2007 18:03:00 +0100

Hallo,

ich habe ein Problem bei den ich nicht weiterkomme.
Ich wollte einen Mailserver mit Postfix, Maia Mailguard und ClamAV
installieren. Ansich kein großes Problem, mehrmals schon auf Debian Server
gemacht, allerdings gibt es bei FreeBSD einen Fehler den ich nicht verstehe.

<code>
Mar 19 17:24:19 home postfix/smtpd[24358]: disconnect from localhost[127.0.0.1]
Mar 19 17:24:19 home postfix/cleanup[24361]: 7774F1CD3F:
message-id=<20070319162326.7774F1CD3F(at)home.silviosiefke.de>
Mar 19 17:25:45 home postfix/pickup[24128]: 3225E1CD7A: uid=0
from=<siefkeinternet(at)home.silviosiefke.de>
Mar 19 17:25:45 home postfix/cleanup[24361]: 3225E1CD7A:
message-id=<1174321544.24398(at)home.silviosiefke.de>
Mar 19 17:25:45 home postfix/qmgr[23065]: 3225E1CD7A:
from=<siefkeinternet(at)home.silviosiefke.de>, size=611, nrcpt=1 (queue active)
Mar 19 17:25:46 home postfix/smtp[24408]: 3225E1CD7A:
to=<info(at)silviosiefke.de>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.67,
delays=0.18/0.1/0.2/0.19, dsn=4.4.2, status=deferred (lost connection with
127.0.0.1[127.0.0.1] while sending RCPT TO)
</code>

Ich werde nicht wirklich schlau daraus.

<amavisd debug>
home# ps aux | grep amavisd
root 24414 0.0 0.2 1520 568 p0 DL+ 5:27PM 0:00.00 grep amavisd
home# /usr/local/sbin/amavisd debug
Mar 19 17:28:06 mail.hserver.info /usr/local/sbin/amavisd[24415]: starting.
 /usr/local/sbin/amavisd at mail.hserver.info Maia Mailguard 1.0.2, Unicode
aware
Mar 19 17:28:06 mail.hserver.info /usr/local/sbin/amavisd[24415]: user=,
EUID: 0 (0); group=, EGID: 0 5 0 0 (0 5 0 0)
Mar 19 17:28:06 mail.hserver.info /usr/local/sbin/amavisd[24415]: Perl
version 5.008008
Mar 19 17:28:07 mail.hserver.info /usr/local/sbin/amavisd[24415]:
Net::Server: 2007/03/19-17:28:07 Amavis (type Net::Server::PreForkSimple)
starting! pid(24415)Mar 19 17:28:07 mail.hserver.info
/usr/local/sbin/amavisd[24415]: Net::Server: Binding to TCP port 10024 on
host 127.0.0.1
Mar 19 17:28:07 mail.hserver.info /usr/local/sbin/amavisd[24415]:
Net::Server: Setting gid to "1002 1002"
Mar 19 17:28:07 mail.hserver.info /usr/local/sbin/amavisd[24415]:
Net::Server: Setting uid to "1002"
Mar 19 17:28:07 mail.hserver.info /usr/local/sbin/amavisd[24415]:
Net::Server: Setting up serialization via flock
Mar 19 17:28:07 mail.hserver.info /usr/local/sbin/amavisd[24415]: Module
Amavis::Conf 2.034
Mar 19 17:28:07 mail.hserver.info /usr/local/sbin/amavisd[24415]: Module
Archive::Tar 1.30
Mar 19 17:28:07 mail.hserver.info /usr/local/sbin/amavisd[24415]: Module
Archive::Zip 1.18
Mar 19 17:28:07 mail.hserver.info /usr/local/sbin/amavisd[24415]: Module
BerkeleyDB 0.31
Mar 19 17:28:07 mail.hserver.info /usr/local/sbin/amavisd[24415]: Module
Compress::Zlib 2.003
Mar 19 17:28:07 mail.hserver.info /usr/local/sbin/amavisd[24415]: Module
Convert::TNEF 0.17
Mar 19 17:28:07 mail.hserver.info /usr/local/sbin/amavisd[24415]: Module
Convert::UUlib 1.08
Mar 19 17:28:07 mail.hserver.info /usr/local/sbin/amavisd[24415]: Module
DBI 1.54
Mar 19 17:28:07 mail.hserver.info /usr/local/sbin/amavisd[24415]: Module
DB_File 1.814
Mar 19 17:28:07 mail.hserver.info /usr/local/sbin/amavisd[24415]: Module
MIME::Entity 5.420
Mar 19 17:28:07 mail.hserver.info /usr/local/sbin/amavisd[24415]: Module
MIME::Parser 5.420
Mar 19 17:28:07 mail.hserver.info /usr/local/sbin/amavisd[24415]: Module
MIME::Tools 5.420
Mar 19 17:28:07 mail.hserver.info /usr/local/sbin/amavisd[24415]: Module
Mail::Header 1.74
Mar 19 17:28:07 mail.hserver.info /usr/local/sbin/amavisd[24415]: Module
Mail::Internet 1.74
Mar 19 17:28:07 mail.hserver.info /usr/local/sbin/amavisd[24415]: Module
Mail::SPF::Query 1.999001
Mar 19 17:28:07 mail.hserver.info /usr/local/sbin/amavisd[24415]: Module
Mail::SpamAssassin 3.001008
Mar 19 17:28:07 mail.hserver.info /usr/local/sbin/amavisd[24415]: Module
Net::Cmd 2.27
Mar 19 17:28:07 mail.hserver.info /usr/local/sbin/amavisd[24415]: Module
Net::DNS 0.59
Mar 19 17:28:07 mail.hserver.info /usr/local/sbin/amavisd[24415]: Module
Net::SMTP 2.30
Mar 19 17:28:07 mail.hserver.info /usr/local/sbin/amavisd[24415]: Module
Net::Server 0.95
Mar 19 17:28:07 mail.hserver.info /usr/local/sbin/amavisd[24415]: Module
Razor2::Client::Version 2.82
Mar 19 17:28:07 mail.hserver.info /usr/local/sbin/amavisd[24415]: Module
Time::HiRes 1.86
Mar 19 17:28:07 mail.hserver.info /usr/local/sbin/amavisd[24415]: Module
Unix::Syslog 0.99
Mar 19 17:28:07 mail.hserver.info /usr/local/sbin/amavisd[24415]:
Amavis::DB code loaded
Mar 19 17:28:07 mail.hserver.info /usr/local/sbin/amavisd[24415]:
Amavis::Cache code loaded
Mar 19 17:28:07 mail.hserver.info /usr/local/sbin/amavisd[24415]:
Lookup::SQL code loaded
Mar 19 17:28:07 mail.hserver.info /usr/local/sbin/amavisd[24415]:
Lookup::LDAP code NOT loaded
Mar 19 17:28:07 mail.hserver.info /usr/local/sbin/amavisd[24415]: AMCL-in
protocol code NOT loaded
Mar 19 17:28:07 mail.hserver.info /usr/local/sbin/amavisd[24415]: SMTP-in
protocol code loaded
Mar 19 17:28:07 mail.hserver.info /usr/local/sbin/amavisd[24415]:
ANTI-VIRUS code loaded
Mar 19 17:28:07 mail.hserver.info /usr/local/sbin/amavisd[24415]: ANTI-SPAM
 code loaded
Mar 19 17:28:07 mail.hserver.info /usr/local/sbin/amavisd[24415]: Unpackers
 code loaded
Mar 19 17:28:08 mail.hserver.info /usr/local/sbin/amavisd[24415]: Found
$file at /usr/bin/file
Mar 19 17:28:08 mail.hserver.info /usr/local/sbin/amavisd[24415]: Found
$arc at /usr/local/bin/arc
Mar 19 17:28:08 mail.hserver.info /usr/local/sbin/amavisd[24415]: Found
$gzip at /usr/bin/gzip
Mar 19 17:28:08 mail.hserver.info /usr/local/sbin/amavisd[24415]: Found
$bzip2 at /usr/bin/bzip2
Mar 19 17:28:08 mail.hserver.info /usr/local/sbin/amavisd[24415]: No $lzop,
    not using it
Mar 19 17:28:08 mail.hserver.info /usr/local/sbin/amavisd[24415]: Found
$lha at /usr/local/bin/lha
Mar 19 17:28:08 mail.hserver.info /usr/local/sbin/amavisd[24415]: Found
$unarj at /usr/local/bin/arj
Mar 19 17:28:08 mail.hserver.info /usr/local/sbin/amavisd[24415]: Found
$uncompress at /usr/bin/uncompress
Mar 19 17:28:08 mail.hserver.info /usr/local/sbin/amavisd[24415]: No
$unfreeze, not using it
Mar 19 17:28:08 mail.hserver.info /usr/local/sbin/amavisd[24415]: No
$unrar, not using it
Mar 19 17:28:08 mail.hserver.info /usr/local/sbin/amavisd[24415]: No $zoo,
    not using it
Mar 19 17:28:08 mail.hserver.info /usr/local/sbin/amavisd[24415]: No $pax,
    not using it
Mar 19 17:28:08 mail.hserver.info /usr/local/sbin/amavisd[24415]: Found
$cpio at /usr/bin/cpio
Mar 19 17:28:08 mail.hserver.info /usr/local/sbin/amavisd[24415]: Found $ar
    at /usr/bin/ar
Mar 19 17:28:08 mail.hserver.info /usr/local/sbin/amavisd[24415]: No
$rpm2cpio, not using it
Mar 19 17:28:08 mail.hserver.info /usr/local/sbin/amavisd[24415]: No
$cabextract, not using it
Mar 19 17:28:08 mail.hserver.info /usr/local/sbin/amavisd[24415]: No
$ripole, not using it
Mar 19 17:28:08 mail.hserver.info /usr/local/sbin/amavisd[24415]: No
$dspam, not using it
Mar 19 17:28:08 mail.hserver.info /usr/local/sbin/amavisd[24415]: No
primary av scanner: H+BEDV AntiVir or the (old) CentralCommand Vexira Antivirus
Mar 19 17:28:08 mail.hserver.info /usr/local/sbin/amavisd[24415]: Using
internal av scanner code for (primary) ClamAV-clamd
Mar 19 17:28:08 mail.hserver.info /usr/local/sbin/amavisd[24415]: Found
secondary av scanner ClamAV-clamscan at /usr/local/bin/clamscan
Mar 19 17:28:08 mail.hserver.info /usr/local/sbin/amavisd[24415]: Creating
db in /var/amavisd/db/; BerkeleyDB 0.31, libdb 4.1
Mar 19 17:28:08 mail.hserver.info /usr/local/sbin/amavisd[24415]:
SpamControl: initializing Mail::SpamAssassin
Mar 19 17:28:14 mail.hserver.info /usr/local/sbin/amavisd[24415]:
SpamControl: done
Mar 19 17:28:14 mail.hserver.info /usr/local/sbin/amavisd[24415]:
Net::Server: Beginning prefork (4 processes)
Mar 19 17:28:14 mail.hserver.info /usr/local/sbin/amavisd[24415]:
Net::Server: Starting "4" children
Mar 19 17:28:14 mail.hserver.info /usr/local/sbin/amavisd[24417]:
Net::Server: Child Preforked (24417)
Mar 19 17:28:14 mail.hserver.info /usr/local/sbin/amavisd[24419]: Mar 19
17:28:14 mail.hserver.info /usr/local/sbin/amavisd[24418]: Net::Server:
Child Preforked (24418)
Mar 19 17:28:14 mail.hserver.info /usr/local/sbin/amavisd[24417]: TIMING
[total 34 ms] - bdb-open: 34 (100%), rundown: 0 (0%)
Mar 19 17:28:14 mail.hserver.info /usr/local/sbin/amavisd[24420]:
Net::Server: Child Preforked (24420)
Net::Server: Child Preforked (24419)
Mar 19 17:28:14 mail.hserver.info /usr/local/sbin/amavisd[24418]: TIMING
[total 42 ms] - bdb-open: 42 (100%), rundown: 0 (0%)
Mar 19 17:28:14 mail.hserver.info /usr/local/sbin/amavisd[24415]: Mar 19
17:28:14 mail.hserver.info /usr/local/sbin/amavisd[24419]: TIMING [total 51
ms] - bdb-open: 51 (100%), rundown: 0 (0%)
Net::Server: Parent ready for children.
Mar 19 17:28:14 mail.hserver.info /usr/local/sbin/amavisd[24420]: TIMING
[total 71 ms] - bdb-open: 70 (100%), rundown: 0 (0%)
Mar 19 17:28:34 mail.hserver.info /usr/local/sbin/amavisd[24417]:
Net::Server: 2007/03/19-17:28:34 CONNECT TCP Peer: "127.0.0.1:54617" Local:
"127.0.0.1:10024"
Mar 19 17:28:34 mail.hserver.info /usr/local/sbin/amavisd[24417]: loaded
base policy bank
Mar 19 17:28:34 mail.hserver.info /usr/local/sbin/amavisd[24417]:
lookup_ip_acl: key="127.0.0.1" matches "127.0.0.1", result=1
Mar 19 17:28:34 mail.hserver.info /usr/local/sbin/amavisd[24417]:
prolong_timer after new request - timer reset: remaining time = 480 s
Mar 19 17:28:34 mail.hserver.info /usr/local/sbin/amavisd[24417]:
process_request: suggested_protocol="" on TCP
Mar 19 17:28:34 mail.hserver.info /usr/local/sbin/amavisd[24417]:
(24417-01) SMTP> 220 [127.0.0.1] ESMTP amavisd-maia service ready
Mar 19 17:28:34 mail.hserver.info /usr/local/sbin/amavisd[24417]:
(24417-01) idle_proc, 4: was busy, 30.5 ms, total idle 0.000 s, busy 0.031 s
Mar 19 17:28:34 mail.hserver.info /usr/local/sbin/amavisd[24417]:
(24417-01) idle_proc, 5: was idle, 1.7 ms, total idle 0.002 s, busy 0.031 s
Mar 19 17:28:34 mail.hserver.info /usr/local/sbin/amavisd[24417]:
(24417-01) prolong_timer after reading SMTP command: remaining time = 480 s
Mar 19 17:28:34 mail.hserver.info /usr/local/sbin/amavisd[24417]:
(24417-01) SMTP< EHLO home.silviosiefke.de\r\n
Mar 19 17:28:34 mail.hserver.info /usr/local/sbin/amavisd[24417]:
(24417-01) ESMTP> 250-[127.0.0.1]
Mar 19 17:28:34 mail.hserver.info /usr/local/sbin/amavisd[24417]:
(24417-01) ESMTP> 250-PIPELINING
Mar 19 17:28:34 mail.hserver.info /usr/local/sbin/amavisd[24417]:
(24417-01) ESMTP> 250-SIZE
Mar 19 17:28:34 mail.hserver.info /usr/local/sbin/amavisd[24417]:
(24417-01) ESMTP> 250-8BITMIME
Mar 19 17:28:34 mail.hserver.info /usr/local/sbin/amavisd[24417]:
(24417-01) ESMTP> 250-ENHANCEDSTATUSCODES
Mar 19 17:28:34 mail.hserver.info /usr/local/sbin/amavisd[24417]:
(24417-01) ESMTP> 250 XFORWARD NAME ADDR PROTO HELO
Mar 19 17:28:34 mail.hserver.info /usr/local/sbin/amavisd[24417]:
(24417-01) idle_proc, 6: was busy, 6.2 ms, total idle 0.002 s, busy 0.037 s
Mar 19 17:28:34 mail.hserver.info /usr/local/sbin/amavisd[24417]:
(24417-01) idle_proc, 5: was idle, 1.5 ms, total idle 0.003 s, busy 0.037 s
Mar 19 17:28:34 mail.hserver.info /usr/local/sbin/amavisd[24417]:
(24417-01) prolong_timer after reading SMTP command: remaining time = 480 s
Mar 19 17:28:34 mail.hserver.info /usr/local/sbin/amavisd[24417]:
(24417-01) ESMTP< MAIL FROM:<siefkeinternet(at)home.silviosiefke.de> SIZE=611\r\n
Mar 19 17:28:34 mail.hserver.info /usr/local/sbin/amavisd[24417]:
(24417-01) prolong_timer after MAIL FROM received - timer reset: remaining
time = 480 s
Mar 19 17:28:34 mail.hserver.info /usr/local/sbin/amavisd[24417]:
(24417-01) prepare_tempdir: creating directory
/var/amavisd/tmp/amavis-20070319T172834-24417
Mar 19 17:28:34 mail.hserver.info /usr/local/sbin/amavisd[24417]:
(24417-01) prepare_tempdir: creating file
/var/amavisd/tmp/amavis-20070319T172834-24417/email.txt
Mar 19 17:28:34 mail.hserver.info /usr/local/sbin/amavisd[24417]:
(24417-01) lookup (debug_sender) => undef,
"siefkeinternet(at)home.silviosiefke.de" does not match
Mar 19 17:28:34 mail.hserver.info /usr/local/sbin/amavisd[24417]:
(24417-01) ESMTP> 250 2.1.0 Sender siefkeinternet(at)home.silviosiefke.de OK
Mar 19 17:28:34 mail.hserver.info /usr/local/sbin/amavisd[24417]:
(24417-01) idle_proc, 6: was busy, 14.3 ms, total idle 0.003 s, busy 0.051 s
Mar 19 17:28:34 mail.hserver.info /usr/local/sbin/amavisd[24417]:
(24417-01) idle_proc, 5: was idle, 0.7 ms, total idle 0.004 s, busy 0.051 s
Mar 19 17:28:34 mail.hserver.info /usr/local/sbin/amavisd[24417]:
(24417-01) prolong_timer after reading SMTP command: remaining time = 480 s
Mar 19 17:28:34 mail.hserver.info /usr/local/sbin/amavisd[24417]:
(24417-01) ESMTP< RCPT TO:<info(at)silviosiefke.de>\r\n
Mar 19 17:28:34 mail.hserver.info /usr/local/sbin/amavisd[24417]:
(24417-01) Connecting to SQL database server
Mar 19 17:28:34 mail.hserver.info /usr/local/sbin/amavisd[24417]:
(24417-01) connect_to_sql: trying 'DBI:mysql:maia:localhost'
Mar 19 17:28:34 mail.hserver.info /usr/local/sbin/amavisd[24417]:
(24417-01) connect_to_sql: 'DBI:mysql:maia:localhost' succeeded
Mar 19 17:28:34 mail.hserver.info /usr/local/sbin/amavisd[24417]:
(24417-01) lookup_acl(info(at)silviosiefke.de), no match
Mar 19 17:28:34 mail.hserver.info /usr/local/sbin/amavisd[24417]:
(24417-01) lookup (local_domains) => undef, "info(at)silviosiefke.de" does not
match
Mar 19 17:28:34 mail.hserver.info /usr/local/sbin/amavisd[24417]:
(24417-01) query_keys: info(at)silviosiefke.de, @silviosiefke.de,
@.silviosiefke.de, @.de, @.
Mar 19 17:28:34 mail.hserver.info /usr/local/sbin/amavisd[24417]:
(24417-01) SQL prepare(5): SELECT *,users.id FROM users,policy WHERE
(users.policy_id=policy.id) AND (users.email IN (?,?,?,?,?)) ORDER BY
users.priority DESC
Mar 19 17:28:34 mail.hserver.info /usr/local/sbin/amavisd[24417]:
(24417-01) lookup_sql "info(at)silviosiefke.de", query args:
"info(at)silviosiefke.de", "@silviosiefke.de", "@.silviosiefke.de", "@.de", "@."
Mar 19 17:28:34 mail.hserver.info /usr/local/sbin/amavisd[24417]:
(24417-01) lookup_sql select: SELECT *,users.id FROM users,policy WHERE
(users.policy_id=policy.id) AND (users.email IN (?,?,?,?,?)) ORDER BY
users.priority DESC
Mar 19 17:28:34 mail.hserver.info /usr/local/sbin/amavisd[24417]:
(24417-01) lookup_sql: 1030, Got error 1 from storage engine
Mar 19 17:28:34 mail.hserver.info /usr/local/sbin/amavisd[24417]:
(24417-01) TROUBLE in process_request: DBD::mysql::st execute failed: Got
error 1 from storage engine at (eval 53) line 258, <GEN8> line 3.
Mar 19 17:28:34 mail.hserver.info /usr/local/sbin/amavisd[24417]:
(24417-01) Requesting process rundown after fatal error
Mar 19 17:28:34 mail.hserver.info /usr/local/sbin/amavisd[24417]:
(24417-01) post_process_request_hook: timer stopped
Mar 19 17:28:34 mail.hserver.info /usr/local/sbin/amavisd[24417]:
(24417-01) idle_proc, bye: was busy, 41.5 ms, total idle 0.004 s, busy 0.093 s
Mar 19 17:28:34 mail.hserver.info /usr/local/sbin/amavisd[24417]:
(24417-01) load: 96 %, total idle 0.004 s, busy 0.093 s
Mar 19 17:28:34 mail.hserver.info /usr/local/sbin/amavisd[24417]:
(24417-01) child_finish_hook: invoking DESTROY methods
Mar 19 17:28:34 mail.hserver.info /usr/local/sbin/amavisd[24417]:
(24417-01) Amavis::In::SMTP::DESTROY called
Mar 19 17:28:34 mail.hserver.info /usr/local/sbin/amavisd[24417]:
(24417-01) SMTP shutdown: empty tempdir is being removed:
/var/amavisd/tmp/amavis-20070319T172834-24417, nothing to preserve
Mar 19 17:28:34 mail.hserver.info /usr/local/sbin/amavisd[24417]:
(24417-01) rmdir_recursively:
/var/amavisd/tmp/amavis-20070319T172834-24417, excl=
Mar 19 17:28:34 mail.hserver.info /usr/local/sbin/amavisd[24417]:
(24417-01) ESMTP> 421 4.3.2 Service shutting down, closing channel
Mar 19 17:28:34 mail.hserver.info /usr/local/sbin/amavisd[24417]:
(24417-01) SMTP shutdown: Error writing a SMTP response to the socket: Bad
file descriptor at (eval 56) line 778.\n
Mar 19 17:28:34 mail.hserver.info /usr/local/sbin/amavisd[24417]:
(24417-01) Amavis::Lookup::SQL called
Mar 19 17:28:34 mail.hserver.info /usr/local/sbin/amavisd[24417]:
(24417-01) Amavis::Cache called
Mar 19 17:28:34 mail.hserver.info /usr/local/sbin/amavisd[24417]:
(24417-01) Amavis::DB::SNMP called
Mar 19 17:28:34 mail.hserver.info /usr/local/sbin/amavisd[24417]:
(24417-01) Net::Server: Child leaving (10)
Mar 19 17:28:34 mail.hserver.info /usr/local/sbin/amavisd[24417]:
(24417-01) at the END handler: invoking DESTROY methods
Mar 19 17:28:34 mail.hserver.info /usr/local/sbin/amavisd[24417]:
(24417-01) Amavis::Lookup::SQL called
Mar 19 17:28:34 mail.hserver.info /usr/local/sbin/amavisd[24415]:
Net::Server: Starting "1" children
Mar 19 17:28:34 mail.hserver.info /usr/local/sbin/amavisd[24498]:
Net::Server: Child Preforked (24498)
Mar 19 17:28:34 mail.hserver.info /usr/local/sbin/amavisd[24498]: TIMING
[total 23 ms] - bdb-open: 23 (100%), rundown: 0 (0%)
</amavisd debug>

<postconf -n>
alias_database = hash:/etc/mail/aliases
alias_maps = hash:/etc/mail/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/local/sbin
config_directory = /usr/local/etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/local/libexec/postfix
home_mailbox = maildir/
html_directory = no
mail_owner = postfix
mailq_path = /usr/local/bin/mailq
manpage_directory = /usr/local/man
mydestination = $myhostname, home.silviosiefke.de, listen.hserver.info
myhostname = home.silviosiefke.de
mynetworks = 127.0.0.0/8, 192.168.0.0/24
newaliases_path = /usr/local/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
sample_directory = /usr/local/etc/postfix
sendmail_path = /usr/local/sbin/sendmail
setgid_group = maildrop
smtp_tls_note_starttls_offer = yes
smtp_use_tls = yes
smtpd_recipient_restrictions = permit_mynetworks,
permit_sasl_authenticated, reject_non_fqdn_hostname,
reject_non_fqdn_sender, reject_non_fqdn_recipient,
reject_unauth_destination, reject_unauth_pipelining,
reject_invalid_hostname, check_sender_access
hash:/usr/local/etc/postfix/spam/sender_access reject_rbl_client
opm.blitzed.org, reject_rbl_client list.dsbl.org, reject_rbl_client
bl.spamcop.net, reject_rbl_client sbl-xbl.spamhaus.org
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_tls_CAfile = /usr/local/etc/postfix/ssl/smtpd.pem
smtpd_tls_cert_file = /usr/local/etc/postfix/ssl/smtpd.pem
smtpd_tls_key_file = /usr/local/etc/postfix/ssl/smtpd.pem
smtpd_tls_loglevel = 0
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes
tls_random_source = dev:/dev/urandom
unknown_local_recipient_reject_code = 550
virtual_alias_maps =
proxy:mysql:/usr/local/etc/postfix/mysql/mysql_virtual_alias_maps.cf
virtual_create_maildirsize = yes
virtual_gid_maps = static:125
virtual_mailbox_base = /usr/local/virtual
virtual_mailbox_domains =
proxy:mysql:/usr/local/etc/postfix/mysql/mysql_virtual_domains_maps.cf
virtual_mailbox_limit = 51200000
virtual_mailbox_limit_maps =
proxy:mysql:/usr/local/etc/postfix/mysql/mysql_virtual_mailbox_limit_maps.cf
virtual_mailbox_maps =
proxy:mysql:/usr/local/etc/postfix/mysql/mysql_virtual_mailbox_maps.cf
virtual_minimum_uid = 125
virtual_transport = virtual
virtual_uid_maps = static:125
</postconf -n>

<master.cf>
smtp inet n - n - - smtpd
smtp-amavis unix - - n - 4 smtp
  -o smtp_data_done_timeout=1200
  -o disable_dns_lookups=yes
127.0.0.1:10025 inet n - n - - smtpd
  -o content_filter=
  -o local_recipient_maps=
  -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
pickup fifo n - n 60 1 pickup
cleanup unix n - n - 0 cleanup
qmgr fifo n - n 300 1 qmgr
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
relay unix - - n - - smtp
        -o fallback_relay=
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
scache unix - - n - 1 scache
maildrop unix - n n - - pipe
  flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
old-cyrus unix - n n - - pipe
  flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
cyrus unix - n n - - pipe
  user=cyrus argv=/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
vacation unix - n n - - pipe
  flags=DRhu user=vacation argv=/var/spool/vacation/vacation.pl
</master.cf>

<telnet Prüfung)
home# telnet localhost 25
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.silviosiefke.de.
Escape character is '^]'.
220 home.silviosiefke.de ESMTP Postfix

home# telnet localhost 10024
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.silviosiefke.de.
Escape character is '^]'.
220 [127.0.0.1] ESMTP amavisd-maia service ready

home# telnet localhost 10025
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.silviosiefke.de.
Escape character is '^]'.
220 home.silviosiefke.de ESMTP Postfix
</telnet Prüfung>

<Mailversand>
home# telnet localhost 25
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.silviosiefke.de.
Escape character is '^]'.
220 home.silviosiefke.de ESMTP Postfix
ehlo silviosiefke.de
250-home.silviosiefke.de
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH NTLM LOGIN PLAIN GSSAPI DIGEST-MD5 CRAM-MD5
250-AUTH=NTLM LOGIN PLAIN GSSAPI DIGEST-MD5 CRAM-MD5
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
mail from:<info(at)silviosiefke.de>
250 2.1.0 Ok
rcpt to:<listen(at)silviosiefke.de>
250 2.1.5 Ok
DATA
354 End data with <CR><LF>.<CR><LF>
Subject: Testnachricht
Der Test geht hoffentlich gut!
.
250 2.0.0 Ok: queued as CACAC1CD7B
quit
221 2.0.0 Bye
Connection closed by foreign host.

----
home# telnet localhost 10025
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.silviosiefke.de.
Escape character is '^]'.
220 home.silviosiefke.de ESMTP Postfix
ehlo silviosiefke.de
250-home.silviosiefke.de
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH NTLM LOGIN PLAIN GSSAPI DIGEST-MD5 CRAM-MD5
250-AUTH=NTLM LOGIN PLAIN GSSAPI DIGEST-MD5 CRAM-MD5
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
mail from:<info(at)silviosiefke.de>
250 2.1.0 Ok
rcpt to:<listen(at)silviosiefke.de>
250 2.1.5 Ok
DATA
354 End data with <CR><LF>.<CR><LF>
Subject: Test
Testnachricht ich hoffe Sie kommt an.
.
250 2.0.0 Ok: queued as 175861CD87
quit
221 2.0.0 Bye
Connection closed by foreign host.
</Mailversand>
<LOG>
1.)
Mar 19 17:58:06 home postfix/smtpd[25092]: CACAC1CD7B:
client=localhost[127.0.0.1]
Mar 19 17:58:27 home postfix/cleanup[25095]: CACAC1CD7B:
message-id=<20070319165806.CACAC1CD7B(at)home.silviosiefke.de>
Mar 19 17:58:27 home postfix/qmgr[25059]: CACAC1CD7B:
from=<info(at)silviosiefke.de>, size=410, nrcpt=1 (queue active)
Mar 19 17:58:27 home postfix/smtp[25096]: CACAC1CD7B:
to=<listen(at)silviosiefke.de>, relay=127.0.0.1[127.0.0.1]:10024, delay=32,
delays=32/0.05/0.04/0.05, dsn=4.4.2, status=deferred (lost connection
wit127.0.0.1[127.0.0.1] while sending RCPT TO)
----
2.)
Mar 19 18:00:02 home postfix/smtpd[25122]: connect from localhost[127.0.0.1]
Mar 19 18:00:29 home postfix/smtpd[25122]: 175861CD87:
client=localhost[127.0.0.1]
Mar 19 18:00:46 home postfix/cleanup[25126]: 175861CD87:
message-id=<20070319170029.175861CD87(at)home.silviosiefke.de>
Mar 19 18:00:46 home postfix/qmgr[25059]: 175861CD87:
from=<info(at)silviosiefke.de>, size=408, nrcpt=1 (queue active)
Mar 19 18:00:46 home postfix/virtual[25127]: 175861CD87:
to=<listen(at)silviosiefke.de>, relay=virtual, delay=29,
delays=29/0.04/0/0.04, dsn=2.0.0, status=sent (delivered to maildir)
Mar 19 18:00:46 home postfix/qmgr[25059]: 175861CD87: removed
Mar 19 18:00:50 home postfix/smtpd[25122]: disconnect from localhost[127.0.0.1]
</LOG>
Hat jemand Rat? Ich komme nicht weiter, zumal amavisd sich weigert in die
maillog zu schreiben.
MFG Silvio Siefke
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Mon 19 Mar 2007 - 18:04:24 CET

search this site