Hier erst mal die "main.cf":
Code:
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
mail_owner = postfix
unknown_local_recipient_reject_code = 450
debug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq
setgid_group = maildrop
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/packages/postfix/samples
readme_directory = /usr/share/doc/packages/postfix/README_FILES
mail_spool_directory = /var/mail
canonical_maps = hash:/etc/postfix/canonical
virtual_maps = hash:/etc/postfix/virtual
relocated_maps = hash:/etc/postfix/relocated
transport_maps = hash:/etc/postfix/transport
sender_canonical_maps = hash:/etc/postfix/sender_canonical
masquerade_exceptions = root
masquerade_classes = envelope_sender, header_sender, header_recipient
myhostname = desktop.heimnetz.de
program_directory = /usr/lib/postfix
inet_interfaces = all
masquerade_domains = heimnetz.de
mydestination = $myhostname,localhost.$mydomain,$mydomain
defer_transports =
disable_dns_lookups = no
relayhost = mx.freenet.de
content_filter = vscan:
mailbox_command = /usr/bin/procmail
mailbox_transport =
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_client_restrictions =
smtpd_helo_required = no
smtpd_helo_restrictions =
strict_rfc821_envelopes = no
smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination
smtp_sasl_auth_enable = yes
smtpd_sasl_auth_enable = no
smtpd_use_tls = no
smtp_use_tls = no
alias_maps = hash:/etc/aliases
mailbox_size_limit = 0
message_size_limit = 10240000
smtp_sasl_security_options =
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
Hier die "master.cf":
Code:
smtp inet n - n - 2 smtpd -o content_filter=smtp:[localhost]:10024
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 nqmgr
#tlsmgr fifo - - n 300 1 tlsmgr
rewrite unix - - n - - trivial-rewrite
bounce unix - - n - 0 bounce
defer unix - - n - 0 bounce
flush unix n - n 1000? 0 flush
proxymap unix - - n - - proxymap
smtp unix - - n - - smtp
relay unix - - n - - smtp
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix n - n - - showq
error unix - - n - - error
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
localhost:10025 inet n - n - - smtpd -o content_filter=
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
vscan unix - n n - 10 pipe
user=vscan argv=/usr/sbin/amavis ${sender} ${recipient}
procmail unix - n n - - pipe
flags=R user=nobody argv=/usr/bin/procmail -t -m /etc/procmailrc ${sender} ${recipient}
zu "mailq" kann ich sagen: es zeigt alle Mails an die sich im Mailqueue befinden.
und hier noch ein Logfileauszug einer nichtzugestellten Mail:
Code:
Jan 23 19:31:23 desktop postfix/postfix-script: starting the Postfix mail system
Jan 23 19:31:23 desktop postfix/master[1697]: daemon started -- version 2.0.14
Jan 23 19:31:23 desktop postfix/qmgr[1717]: 476A4D96: from=<Online-Versandflyer@atelco.de>, size=438434, nrcpt=1 (queue active)
Jan 23 19:31:23 desktop postfix/qmgr[1717]: 6EEFFDC4: from=<mailings@gmx.net>, size=2560, nrcpt=1 (queue active)
Jan 23 19:31:29 desktop postfix/smtp[1772]: connect to localhost[127.0.0.1]: Connection refused (port 10024)
Jan 23 19:31:29 desktop postfix/smtp[1782]: connect to localhost[127.0.0.1]: Connection refused (port 10024)
Jan 23 19:31:29 desktop postfix/smtp[1782]: 6EEFFDC4: to=<user1@localhost.heimnetz.de>, orig_to=<user1@localhost>, relay=none, delay=23210, status=deferred (connect to localhost[127.0.0.1]: Connection refused)
Jan 23 19:31:29 desktop postfix/smtp[1772]: 476A4D96: to=<user1@localhost.heimnetz.de>, orig_to=<user1@localhost>, relay=none, delay=23212, status=deferred (connect to localhost[127.0.0.1]: Connection refused)
Jan 23 19:31:38 desktop amavis[2034]: starting. amavisd at desktop amavisd-new-20030616-p5, Unicode aware
Jan 23 19:31:39 desktop amavis[2034]: Perl version 5.008001
Jan 23 19:31:39 desktop amavis[2034]: Module Amavis::Conf 1.15
Jan 23 19:31:39 desktop amavis[2034]: Module Archive::Tar 0.23
Jan 23 19:31:39 desktop amavis[2034]: Module Archive::Zip 1.14
Jan 23 19:31:39 desktop amavis[2034]: Module Compress::Zlib 1.16
Jan 23 19:31:39 desktop amavis[2034]: Module Convert::TNEF 0.17
Jan 23 19:31:39 desktop amavis[2034]: Module Convert::UUlib 0.31
Jan 23 19:31:39 desktop amavis[2034]: Module MIME::Entity 5.404
Jan 23 19:31:39 desktop amavis[2034]: Module MIME::Parser 5.406
Jan 23 19:31:39 desktop amavis[2034]: Module MIME::Tools 5.411
Jan 23 19:31:39 desktop amavis[2034]: Module Mail::Header 1.58
Jan 23 19:31:39 desktop amavis[2034]: Module Mail::Internet 1.58
Jan 23 19:31:39 desktop amavis[2034]: Module Mail::SpamAssassin 2.64
Jan 23 19:31:39 desktop amavis[2034]: Module Net::Cmd 2.24
Jan 23 19:31:39 desktop amavis[2034]: Module Net::DNS 0.38
Jan 23 19:31:39 desktop amavis[2034]: Module Net::SMTP 2.26
Jan 23 19:31:39 desktop amavis[2034]: Module Net::Server 0.85
Jan 23 19:31:39 desktop amavis[2034]: Module Time::HiRes 1.51
Jan 23 19:31:39 desktop amavis[2034]: Module Unix::Syslog 0.98
Jan 23 19:31:39 desktop amavis[2034]: Found myself: /usr/sbin/amavisd -c /etc/amavisd.conf
Jan 23 19:31:39 desktop amavis[2034]: Lookup::SQL code NOT loaded
Jan 23 19:31:39 desktop amavis[2034]: Lookup::LDAP code NOT loaded
Jan 23 19:31:39 desktop amavis[2034]: AMCL-in protocol code loaded
Jan 23 19:31:39 desktop amavis[2034]: SMTP-in protocol code loaded
Jan 23 19:31:39 desktop amavis[2034]: ANTI-VIRUS code loaded
Jan 23 19:31:39 desktop amavis[2034]: ANTI-SPAM code loaded
Jan 23 19:31:39 desktop amavis[2406]: Net::Server: Process Backgrounded
Jan 23 19:31:39 desktop amavis[2406]: Net::Server: 2005/01/23-19:31:39 Amavis (type Net::Server::PreForkSimple) starting! pid(2406)
Jan 23 19:31:39 desktop amavis[2406]: Net::Server: Binding to UNIX socket file /var/spool/amavis/amavisd.sock using SOCK_STREAM
Jan 23 19:31:39 desktop amavis[2406]: Net::Server: Binding to TCP port 10024 on host 127.0.0.1
Jan 23 19:31:39 desktop amavis[2406]: Net::Server: Setting gid to "101 101"
Jan 23 19:31:39 desktop amavis[2406]: Net::Server: Setting uid to "65"
Jan 23 19:31:39 desktop amavis[2406]: Net::Server: Couldn't POSIX::setuid to "65" [Illegal seek]
Jan 23 19:31:39 desktop amavis[2406]: Found $file at /usr/bin/file
Jan 23 19:31:39 desktop amavis[2406]: Found $arc at /usr/bin/arc
Jan 23 19:31:39 desktop amavis[2406]: Found $gzip at /usr/bin/gzip
Jan 23 19:31:39 desktop amavis[2406]: Found $bzip2 at /usr/bin/bzip2
Jan 23 19:31:39 desktop amavis[2406]: No $lzop, not using it
Jan 23 19:31:39 desktop amavis[2406]: Found $lha at /usr/bin/lha
Jan 23 19:31:39 desktop amavis[2406]: Found $unarj at /usr/bin/unarj
Jan 23 19:31:39 desktop amavis[2406]: Found $uncompress at /usr/bin/uncompress
Jan 23 19:31:39 desktop amavis[2406]: No $unfreeze, not using it
Jan 23 19:31:39 desktop amavis[2406]: Found $unrar at /usr/bin/unrar
Jan 23 19:31:39 desktop amavis[2406]: Found $zoo at /usr/bin/zoo
Jan 23 19:31:39 desktop amavis[2406]: Found $cpio at /usr/bin/cpio
Jan 23 19:31:39 desktop amavis[2406]: Found primary av scanner H+BEDV AntiVir or CentralCommand Vexira Antivirus at /usr/bin/antivir
Jan 23 19:31:39 desktop amavis[2406]: SpamControl: initializing Mail::SpamAssassin
Jan 23 19:31:42 desktop amavis[2406]: SpamControl: done
Jan 23 19:35:50 desktop postfix/qmgr[1717]: 476A4D96: from=<Online-Versandflyer@atelco.de>, size=438434, nrcpt=1 (queue active)
Jan 23 19:35:50 desktop postfix/qmgr[1717]: 6EEFFDC4: from=<mailings@gmx.net>, size=2560, nrcpt=1 (queue active)
(ich habe mal der Übersicht wegen alle auskommentierten Zeilen gelöscht!)
System: Kernel 2.4.21 (SUSE 9.0)
Postfix Version 2.0.14
Ich hoffe das hilft weiter.
MfG
Frau Feld
Lesezeichen