Mails kommen nicht an

daniel74

Registered User
Hallo,

ich habe folgendes Problem, bei dem ich nicht weiter komme.

Es kommen sporadisch keine Mails an: Folgende Fehlermeldung erscheint

Nov 6 11:01:25 xxx ct-milter[1117]: mlfi_eom: ctasd_outbound is on and connect IP in mynetworks list -> working in outbound mode.
Nov 6 11:01:25 xxx ct-milter[1117]: ctASd: couldn't establish connection with 127.0.0.1:8088

Habe daraufhin den Premium Outbounce Antispam deinstalliert.

Nun bekomme ich folgenden Fehler

Nov 6 13:18:58 xxx postfix/cleanup[3694]: warning: connect to Milter service unix:/ctmilter/ctmilter.sock: No such file or directory

Habe dann /etc/postfix/main.cf folgendes deaktiviert

smtpd_milters = inet:localhost:12768 unix:/ctmilter/ctmilter.sock

Bekomme aber weiterhin folgende Fehler

Nov 6 13:40:58 xxx postfix/cleanup[3694]: warning: connect to Milter service unix:/ctmilter/ctmilter.sock: No such file or directory
Nov 6 13:40:58 xx postfix/cleanup[3694]: 7DCB72AE0414: milter-reject: CONNECT from localhost[127.0.0.1]: 4.7.1 Service unavailable - try again later; from=<root@xxx>

Könnte Hilfe gebrauchen, ich weiss jetzt grad nicht weiter.

Danke
 
Postfix auch neu gestartet? AUßerdem könnten dazu auch Einträge in der master.cf nur für einzelne Dienste vorhanden sein.
 
Hallo Danton,

danke für deine Antwort.

Postfix natürlich neugestartet.

main.cf
# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

readme_directory = no

# TLS parameters
smtpd_tls_cert_file = /etc/postfix/postfix_default.pem
smtpd_tls_key_file = $smtpd_tls_cert_file
smtpd_use_tls = yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.

myhostname = xxx.de
alias_maps = hash:/etc/aliases, hash:/var/spool/postfix/plesk/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = localhost.server4you.de, localhost, localhost.localdomain
relayhost =
mynetworks = 127.0.0.0/8 [::1]/128 188.138.112.198/32
mailbox_size_limit = 51200000
recipient_delimiter = +
inet_interfaces = all
inet_protocols = all
virtual_mailbox_domains = $virtual_mailbox_maps, hash:/var/spool/postfix/plesk/virtual_domains
virtual_alias_maps = $virtual_maps, hash:/var/spool/postfix/plesk/virtual
virtual_mailbox_maps = hash:/var/spool/postfix/plesk/vmailbox
transport_maps = hash:/var/spool/postfix/plesk/transport
smtpd_tls_security_level = may
smtp_tls_security_level = may
smtp_use_tls = no
smtpd_timeout = 3600s
smtpd_proxy_timeout = 3600s
disable_vrfy_command = yes
smtpd_sender_restrictions = check_sender_access hash:/var/spool/postfix/plesk/blacklists, permit_sasl_authenticated, check_client_access pcre:/var/spool/postfix/plesk/non_auth.re
smtp_send_xforward_command = yes
smtpd_authorized_xforward_hosts = 127.0.0.0/8 [::1]/128
smtpd_sasl_auth_enable = yes
smtpd_recipient_restrictions = permit_mynetworks, check_client_access pcre:/var/spool/postfix/plesk/no_relay.re, permit_sasl_authenticated, reject_unauth_destination
virtual_mailbox_base = /var/qmail/mailnames
virtual_uid_maps = static:110
virtual_gid_maps = static:31
virtual_transport = plesk_virtual
plesk_virtual_destination_recipient_limit = 1
mailman_destination_recipient_limit = 1
smtpd_client_restrictions = permit_mynetworks
message_size_limit = 51200000
# smtpd_milters = inet:localhost:12768 unix:/ctmilter/ctmilter.sock
# non_smtpd_milters = inet:localhost:12768 unix:/ctmilter/ctmilter.sock
sender_dependent_default_transport_maps = hash:/var/spool/postfix/plesk/sdd_transport_maps
milter_connect_macros = j {daemon_name} v
milter_data_macros = i
milter_end_of_data_macros = i
milter_end_of_header_macros = i
milter_helo_macros = {tls_version} {cipher} {cipher_bits} {cert_subject} {cert_issuer}
milter_macro_daemon_name = $myhostname
milter_macro_v = $mail_name $mail_version
milter_mail_macros = i {auth_type} {auth_authen} {auth_author} {mail_addr}
milter_rcpt_macros = i {rcpt_addr}

master.cf
# ==========================================================================
#submission inet n - - - - smtpd
# -o smtpd_tls_security_level=encrypt
# -o smtpd_sasl_auth_enable=yes
# -o smtpd_client_restrictions=permit_sasl_authenticated,reject
# -o milter_macro_daemon_name=ORIGINATING
#smtps inet n - - - - smtpd
# -o smtpd_tls_wrappermode=yes
# -o smtpd_sasl_auth_enable=yes
# -o smtpd_client_restrictions=permit_sasl_authenticated,reject
# -o milter_macro_daemon_name=ORIGINATING
#628 inet n - - - - qmqpd
pickup fifo n - - 60 1 pickup
cleanup unix n - - - 0 cleanup
qmgr fifo n - n 1 1 qmgr
#qmgr fifo n - - 300 1 oqmgr
tlsmgr unix - - - 1000? 1 tlsmgr
rewrite unix - - - - - trivial-rewrite
bounce unix - - - - 0 bounce
defer unix - - - - 0 bounce
trace unix - - - - 0 bounce
verify unix - - - - 1 verify
flush unix n - - 1000? 0 flush
proxymap unix - - n - - proxymap
proxywrite unix - - n - 1 proxymap
smtp unix - - - - - smtp
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay unix - - - - - smtp
-o smtp_fallback_relay=
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix n - - - - showq
error unix - - - - - error
retry unix - - - - - error
discard unix - - - - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - - - - lmtp
anvil unix - - - - 1 anvil
scache unix - - - - 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/bin/maildrop -d ${recipient}
#
# ====================================================================
#
# Recent Cyrus versions can use the existing "lmtp" master.cf entry.
#
# Specify in cyrus.conf:
# lmtp cmd="lmtpd -a" listen="localhost:lmtp" proto=tcp4
#
# Specify in main.cf one or more of the following:
# mailbox_transport = lmtp:inet:localhost
# virtual_transport = lmtp:inet:localhost
#
# ====================================================================
#
# Cyrus 2.1.5 (Amos Gouaux)
# Also specify in main.cf: cyrus_destination_recipient_limit=1
#
#cyrus unix - n n - - pipe
# user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
#
# ====================================================================
# Old example of delivery via Cyrus.
#
#old-cyrus unix - n n - - pipe
# flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
#
# ====================================================================
#
# See the Postfix UUCP_README file for configuration details.
#
uucp unix - n n - - pipe
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
#
# Other external delivery methods.
#
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=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
scalemail-backend unix - n n - 2 pipe
flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
mailman unix - n n - - pipe flags=R user=list:list argv=/usr/lib/plesk-9.0/postfix-mailman ${nexthop} ${user} ${recipient}


plesk_virtual unix - n n - - pipe flags=DORhu user=popuser:popuser argv=/usr/lib/plesk-9.0/postfix-local -f ${sender} -d ${recipient} -p /var/qmail/mailnames
plesk_saslauthd unix y y y - 1 plesk_saslauthd status=5 listen=6 dbpath=/plesk/passwd.db

xxx.xxx.xxx.xxx- unix - n n - - smtp -o smtp_bind_address=xxx.xxx.xxx.xxx-o smtp_bind_address6= -o smtp_address_preference=ipv4

smtp inet n - - - - smtpd
smtps inet n - - - - smtpd -o smtpd_tls_wrappermode=yes

Nu meldet sich auch noch folgende Mail

run-parts: /etc/cron.hourly/ctoblogs exited with return code 127

Wie ich das liebe.
 
Last edited by a moderator:
Sehen kann ich so nix mehr, was das Problem verursachen könnte. Es kann natürlich auch noch irgendwo was in den Dateien von Plesk versteckt sein (u.a. in /var/spool/postfix/plesk) - aber das ich Plesk selber nicht verwende, weiß ich nicht, was Plesk da noch so alles anstellt.
Die Mail von dem Cronjob ist hingegen das einfachere Problem. Die Deinstallation von deinem Antispam-Tool scheint nicht alles sauber entfernt zu haben - /etc/cron.hourly/ctoblogs scheint zu den Resten zu gehören, die übrig geblieben sind.
 
Hatte das selbe Problem. Ich habe Outgoing Spam installiert UND aktiviert. Nachdem ich merkte, keinen gültigen Lizensschlüßel für das Plugin zu haben, habe ich es wieder deinstalliert ohne es vorher zu deaktivieren.

Folge: keine Mails gingen mehr raus.

Lösung: Outgoing Spam erneut installieren, deaktivieren und wieder deinstallieren.
 
Outgoing Spam lässt sich aber nach einer erneuten Installation nicht deaktivieren! :confused:

doch... ich weiß nicht mehr genau wo es war aber ich musste auch etwas suchen. ist auf jeden fall deaktivierbar, da war irgendwo ein haken bei "Outgoing Spam aktiv" den du weg machen musst.
 
Back
Top