enko
01.08.06, 18:35
Hi,
ich habe versucht, den Mailserver nachzubasteln, wie er im c't-Spezial-Linux vorgestellt wurde. Demzufolge nutze ich SuSE 10.1, mit postfix, amavis-new, cyrus, spamassissin, fetchmail. Ich habe soweit alles installiert und eingerichtet und versuche nun mit Thunderbird die Mails per imap zu empfangen. Jedoch kommen die Mails nicht bis in den imap-Ordner, sondern dümpeln bei postfix rum. Ich hofe, es kann mir jemand helfen. Ich poste daher mal alle erdenklich relevanten Daten.
/var/log/mail
Aug 1 18:57:37 brain postfix/smtpd[3736]: connect from localhost[127.0.0.1]
Aug 1 18:57:37 brain postfix/smtpd[3736]: 748EF1137: client=localhost[127.0.0.1]
Aug 1 18:57:37 brain postfix/cleanup[3739]: 748EF1137: message-id=<44CF8776.903@xxxxxxx.de>
Aug 1 18:57:37 brain postfix/qmgr[3046]: 748EF1137: from=<xxx@xxxxxxxx.de>, size=972, nrcpt=1 (queue active)
Aug 1 18:57:37 brain postfix/smtpd[3736]: disconnect from localhost[127.0.0.1]
Aug 1 18:57:39 brain amavis[3329]: (03329-01) ClamAV-clamd: Can't connect to INET socket 127.0.0.1:3310: Connection refused, retrying (2)
Aug 1 18:57:45 brain amavis[3329]: (03329-01) ClamAV-clamd av-scanner FAILED: Too many retries to talk to 127.0.0.1:3310 (Can't connect to INET socket 127.0.0.1:3310: Connection refused) at (eval 56) line 266.
Aug 1 18:57:45 brain amavis[3329]: (03329-01) WARN: all primary virus scanners failed, considering backups
Aug 1 18:57:50 brain postfix/smtpd[3743]: connect from unknown[127.0.0.1]
Aug 1 16:57:50 brain postfix/smtpd[3743]: 3AF541175: client=unknown[127.0.0.1]
Aug 1 18:57:50 brain postfix/cleanup[3739]: 3AF541175: message-id=<44CF8776.903@xxxxxxxx.de>
Aug 1 18:57:50 brain postfix/qmgr[3046]: 3AF541175: from=<xxx@xxxxxxxxxx.de>, size=1408, nrcpt=1 (queue active)
Aug 1 18:57:50 brain amavis[3329]: (03329-01) Passed CLEAN, [217.172.183.167] <eek@desa-projekt.de> -> <mail_e@localhost.brain.castle>, Message-ID: <44CF8776.903@xxxxxxxxxx.de>, mail_id: GBIEMGxnznva, Hits: 3.701, 12744 ms
Aug 1 16:57:50 brain postfix/smtpd[3743]: disconnect from unknown[127.0.0.1]
Aug 1 18:57:50 brain postfix/smtp[3740]: 748EF1137: to=<mail_e@localhost.brain.castle>, orig_to=<mail_e@localhost>, relay=127.0.0.1[127.0.0.1], delay=13, status=sent (250 2.6.0 Ok, id=03329-01, from MTA([127.0.0.1]:10025): 250 Ok: queued as 3AF541175)
Aug 1 18:57:50 brain postfix/qmgr[3046]: 3AF541175: to=<mail_e@localhost.brain.castle>, relay=none, delay=0, status=deferred (delivery temporarily suspended: transport is unavailable)
Aug 1 18:57:50 brain postfix/qmgr[3046]: 748EF1137: removed
Aug 1 18:58:33 brain postfix/qmgr[3046]: warning: connect to transport [127.0.0.1]: No such file or directory
/var/log/mail.info
Aug 1 18:57:37 brain postfix/smtpd[3736]: connect from localhost[127.0.0.1]
Aug 1 18:57:37 brain postfix/smtpd[3736]: 748EF1137: client=localhost[127.0.0.1]
Aug 1 18:57:37 brain postfix/cleanup[3739]: 748EF1137: message-id=<44CF8776.903@xxxxxxxxx.de>
Aug 1 18:57:37 brain postfix/qmgr[3046]: 748EF1137: from=<xxx@xxxxxxxxx.de>, size=972, nrcpt=1 (queue active)
Aug 1 18:57:37 brain postfix/smtpd[3736]: disconnect from localhost[127.0.0.1]
Aug 1 18:57:50 brain postfix/smtpd[3743]: connect from unknown[127.0.0.1]
Aug 1 16:57:50 brain postfix/smtpd[3743]: 3AF541175: client=unknown[127.0.0.1]
Aug 1 18:57:50 brain postfix/cleanup[3739]: 3AF541175: message-id=<44CF8776.903@xxxxxxxxx.de>
Aug 1 18:57:50 brain postfix/qmgr[3046]: 3AF541175: from=<xxx@xxxxxxxxx.de>, size=1408, nrcpt=1 (queue active)
Aug 1 16:57:50 brain postfix/smtpd[3743]: disconnect from unknown[127.0.0.1]
Aug 1 18:57:50 brain postfix/smtp[3740]: 748EF1137: to=<mail_e@localhost.brain.castle>, orig_to=<mail_e@localhost>, relay=127.0.0.1[127.0.0.1], delay=13, status=sent (250 2.6.0 Ok, id=03329-01, from MTA([127.0.0.1]:10025): 250 Ok: queued as 3AF541175)
Aug 1 18:57:50 brain postfix/qmgr[3046]: 3AF541175: to=<mail_e@localhost.brain.castle>, relay=none, delay=0, status=deferred (delivery temporarily suspended: transport is unavailable)
Aug 1 18:57:50 brain postfix/qmgr[3046]: 748EF1137: removed
Aug 1 19:05:25 brain postfix/smtpd[3826]: connect from localhost[127.0.0.1]
Aug 1 19:10:25 brain postfix/smtpd[3826]: timeout after CONNECT from localhost[127.0.0.1]
Aug 1 19:10:25 brain postfix/smtpd[3826]: disconnect from localhost[127.0.0.1]
Aug 1 19:20:53 brain postfix/qmgr[3046]: 3AF541175: from=<xxx@xxxxxxxxx.de>, size=1408, nrcpt=1 (queue active)
Aug 1 19:20:53 brain postfix/qmgr[3046]: 3AF541175: to=<mail_e@localhost.brain.castle>, relay=none, delay=1383, status=deferred (delivery temporarily suspended: transport is unavailable)
/var/log/mail.warn
Aug 1 18:57:39 brain amavis[3329]: (03329-01) ClamAV-clamd: Can't connect to INET socket 127.0.0.1:3310: Connection refused, retrying (2)
Aug 1 18:58:33 brain postfix/qmgr[3046]: warning: connect to transport [127.0.0.1]: No such file or directory
Aug 1 18:59:33 brain postfix/qmgr[3046]: warning: connect to transport [127.0.0.1]: No such file or directory
/etc/postfix/main.cf
readme_directory = /usr/share/doc/packages/postfix/README_FILES
inet_protocols = all
biff = no
mail_spool_directory = /var/mail
canonical_maps = hash:/etc/postfix/canonical
virtual_alias_maps = hash:/etc/postfix/virtual
virtual_alias_domains = 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 = brain.castle
program_directory = /usr/lib/postfix
inet_interfaces = all
masquerade_domains =
mydestination = $myhostname,localhost.$mydomain,$mydomain
defer_transports =
mynetworks_style = subnet
disable_dns_lookups = no
relayhost = mail.desa-projekt.de
mailbox_command =
mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp
strict_8bitmime = yes
disable_mime_output_conversion = no
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
/etc/postfix/master.cf
#
# 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) (100)
# ================================================== ========================
smtp inet n - n - 2 smtpd -o content_filter=smtp:[127.0.0.1]:10024
#submission inet n - n - - smtpd
# -o smtpd_etrn_restrictions=reject
# -o smtpd_client_restrictions=permit_sasl_authenticate d,reject
#smtps inet n - n - 2 smtpd -o smtpd_tls_wrappermode=yes -o content_filter=smtp:[127.0.0.1]:10024
# -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
# 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 - y - - smtpd -o content_filter=[127.0.0.1]:10026
scache unix - - n - 1 scache
localhost:10027 inet n - n - - smtpd -o content_filter=
#
# ================================================== ==================
# 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}
Ich hoffe, ich habe soweit alle relavanten Daten erwischt und dass mit jemand helfen kann.
Ich bin bald am verzweifeln.
MfG
enko
ich habe versucht, den Mailserver nachzubasteln, wie er im c't-Spezial-Linux vorgestellt wurde. Demzufolge nutze ich SuSE 10.1, mit postfix, amavis-new, cyrus, spamassissin, fetchmail. Ich habe soweit alles installiert und eingerichtet und versuche nun mit Thunderbird die Mails per imap zu empfangen. Jedoch kommen die Mails nicht bis in den imap-Ordner, sondern dümpeln bei postfix rum. Ich hofe, es kann mir jemand helfen. Ich poste daher mal alle erdenklich relevanten Daten.
/var/log/mail
Aug 1 18:57:37 brain postfix/smtpd[3736]: connect from localhost[127.0.0.1]
Aug 1 18:57:37 brain postfix/smtpd[3736]: 748EF1137: client=localhost[127.0.0.1]
Aug 1 18:57:37 brain postfix/cleanup[3739]: 748EF1137: message-id=<44CF8776.903@xxxxxxx.de>
Aug 1 18:57:37 brain postfix/qmgr[3046]: 748EF1137: from=<xxx@xxxxxxxx.de>, size=972, nrcpt=1 (queue active)
Aug 1 18:57:37 brain postfix/smtpd[3736]: disconnect from localhost[127.0.0.1]
Aug 1 18:57:39 brain amavis[3329]: (03329-01) ClamAV-clamd: Can't connect to INET socket 127.0.0.1:3310: Connection refused, retrying (2)
Aug 1 18:57:45 brain amavis[3329]: (03329-01) ClamAV-clamd av-scanner FAILED: Too many retries to talk to 127.0.0.1:3310 (Can't connect to INET socket 127.0.0.1:3310: Connection refused) at (eval 56) line 266.
Aug 1 18:57:45 brain amavis[3329]: (03329-01) WARN: all primary virus scanners failed, considering backups
Aug 1 18:57:50 brain postfix/smtpd[3743]: connect from unknown[127.0.0.1]
Aug 1 16:57:50 brain postfix/smtpd[3743]: 3AF541175: client=unknown[127.0.0.1]
Aug 1 18:57:50 brain postfix/cleanup[3739]: 3AF541175: message-id=<44CF8776.903@xxxxxxxx.de>
Aug 1 18:57:50 brain postfix/qmgr[3046]: 3AF541175: from=<xxx@xxxxxxxxxx.de>, size=1408, nrcpt=1 (queue active)
Aug 1 18:57:50 brain amavis[3329]: (03329-01) Passed CLEAN, [217.172.183.167] <eek@desa-projekt.de> -> <mail_e@localhost.brain.castle>, Message-ID: <44CF8776.903@xxxxxxxxxx.de>, mail_id: GBIEMGxnznva, Hits: 3.701, 12744 ms
Aug 1 16:57:50 brain postfix/smtpd[3743]: disconnect from unknown[127.0.0.1]
Aug 1 18:57:50 brain postfix/smtp[3740]: 748EF1137: to=<mail_e@localhost.brain.castle>, orig_to=<mail_e@localhost>, relay=127.0.0.1[127.0.0.1], delay=13, status=sent (250 2.6.0 Ok, id=03329-01, from MTA([127.0.0.1]:10025): 250 Ok: queued as 3AF541175)
Aug 1 18:57:50 brain postfix/qmgr[3046]: 3AF541175: to=<mail_e@localhost.brain.castle>, relay=none, delay=0, status=deferred (delivery temporarily suspended: transport is unavailable)
Aug 1 18:57:50 brain postfix/qmgr[3046]: 748EF1137: removed
Aug 1 18:58:33 brain postfix/qmgr[3046]: warning: connect to transport [127.0.0.1]: No such file or directory
/var/log/mail.info
Aug 1 18:57:37 brain postfix/smtpd[3736]: connect from localhost[127.0.0.1]
Aug 1 18:57:37 brain postfix/smtpd[3736]: 748EF1137: client=localhost[127.0.0.1]
Aug 1 18:57:37 brain postfix/cleanup[3739]: 748EF1137: message-id=<44CF8776.903@xxxxxxxxx.de>
Aug 1 18:57:37 brain postfix/qmgr[3046]: 748EF1137: from=<xxx@xxxxxxxxx.de>, size=972, nrcpt=1 (queue active)
Aug 1 18:57:37 brain postfix/smtpd[3736]: disconnect from localhost[127.0.0.1]
Aug 1 18:57:50 brain postfix/smtpd[3743]: connect from unknown[127.0.0.1]
Aug 1 16:57:50 brain postfix/smtpd[3743]: 3AF541175: client=unknown[127.0.0.1]
Aug 1 18:57:50 brain postfix/cleanup[3739]: 3AF541175: message-id=<44CF8776.903@xxxxxxxxx.de>
Aug 1 18:57:50 brain postfix/qmgr[3046]: 3AF541175: from=<xxx@xxxxxxxxx.de>, size=1408, nrcpt=1 (queue active)
Aug 1 16:57:50 brain postfix/smtpd[3743]: disconnect from unknown[127.0.0.1]
Aug 1 18:57:50 brain postfix/smtp[3740]: 748EF1137: to=<mail_e@localhost.brain.castle>, orig_to=<mail_e@localhost>, relay=127.0.0.1[127.0.0.1], delay=13, status=sent (250 2.6.0 Ok, id=03329-01, from MTA([127.0.0.1]:10025): 250 Ok: queued as 3AF541175)
Aug 1 18:57:50 brain postfix/qmgr[3046]: 3AF541175: to=<mail_e@localhost.brain.castle>, relay=none, delay=0, status=deferred (delivery temporarily suspended: transport is unavailable)
Aug 1 18:57:50 brain postfix/qmgr[3046]: 748EF1137: removed
Aug 1 19:05:25 brain postfix/smtpd[3826]: connect from localhost[127.0.0.1]
Aug 1 19:10:25 brain postfix/smtpd[3826]: timeout after CONNECT from localhost[127.0.0.1]
Aug 1 19:10:25 brain postfix/smtpd[3826]: disconnect from localhost[127.0.0.1]
Aug 1 19:20:53 brain postfix/qmgr[3046]: 3AF541175: from=<xxx@xxxxxxxxx.de>, size=1408, nrcpt=1 (queue active)
Aug 1 19:20:53 brain postfix/qmgr[3046]: 3AF541175: to=<mail_e@localhost.brain.castle>, relay=none, delay=1383, status=deferred (delivery temporarily suspended: transport is unavailable)
/var/log/mail.warn
Aug 1 18:57:39 brain amavis[3329]: (03329-01) ClamAV-clamd: Can't connect to INET socket 127.0.0.1:3310: Connection refused, retrying (2)
Aug 1 18:58:33 brain postfix/qmgr[3046]: warning: connect to transport [127.0.0.1]: No such file or directory
Aug 1 18:59:33 brain postfix/qmgr[3046]: warning: connect to transport [127.0.0.1]: No such file or directory
/etc/postfix/main.cf
readme_directory = /usr/share/doc/packages/postfix/README_FILES
inet_protocols = all
biff = no
mail_spool_directory = /var/mail
canonical_maps = hash:/etc/postfix/canonical
virtual_alias_maps = hash:/etc/postfix/virtual
virtual_alias_domains = 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 = brain.castle
program_directory = /usr/lib/postfix
inet_interfaces = all
masquerade_domains =
mydestination = $myhostname,localhost.$mydomain,$mydomain
defer_transports =
mynetworks_style = subnet
disable_dns_lookups = no
relayhost = mail.desa-projekt.de
mailbox_command =
mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp
strict_8bitmime = yes
disable_mime_output_conversion = no
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
/etc/postfix/master.cf
#
# 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) (100)
# ================================================== ========================
smtp inet n - n - 2 smtpd -o content_filter=smtp:[127.0.0.1]:10024
#submission inet n - n - - smtpd
# -o smtpd_etrn_restrictions=reject
# -o smtpd_client_restrictions=permit_sasl_authenticate d,reject
#smtps inet n - n - 2 smtpd -o smtpd_tls_wrappermode=yes -o content_filter=smtp:[127.0.0.1]:10024
# -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
# 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 - y - - smtpd -o content_filter=[127.0.0.1]:10026
scache unix - - n - 1 scache
localhost:10027 inet n - n - - smtpd -o content_filter=
#
# ================================================== ==================
# 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}
Ich hoffe, ich habe soweit alle relavanten Daten erwischt und dass mit jemand helfen kann.
Ich bin bald am verzweifeln.
MfG
enko