L
lakul
Grünschnabel
Hallo!
Ich habe Suse Linux 10.2 mit Postfix und Vhcs2 zu laufen.
Ich habe mein Postfix auf relay konfiguriert. Leider kommen nur Fehlermeldungen in den Logs und an die Email Adressen wo ich hinsende kommt nichts an.
Ich bin folgendermaßen vorgegangen:
- Folgende Zeile habe ich in der mail.cf ergänzt:
damit steht jetzt das da
- In der der sasl_passwd habe ich folgendes ergänzt (:
Natürlich habe ich bei username und password meine richtigen Angaben eingetragen.
- Abschließend habe ich folgende Befehle ausgeführt:
Wie gesagt leider geht es aber nicht.
Ich habe hier noch ein paar Auszüge von relevanten Stellen aus den logs:
- mail
- mail.err
- mail.info
- mail.warn
Hier noch die Inhalte der mail.cf und der master.cf
- main.cf:
- master.cf
Ich hoffe die Informationen sind ausreichend, sonst sagt bitte bescheid. Ich bin mit meinem Latain leider am Ende.
Vielen Dank im Voraus.
Viele Grüße
lakul
Ich habe Suse Linux 10.2 mit Postfix und Vhcs2 zu laufen.
Ich habe mein Postfix auf relay konfiguriert. Leider kommen nur Fehlermeldungen in den Logs und an die Email Adressen wo ich hinsende kommt nichts an.
Ich bin folgendermaßen vorgegangen:
- Folgende Zeile habe ich in der mail.cf ergänzt:
Code:
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
damit steht jetzt das da
Code:
#
# SASL paramters;
#
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain = vhcs.net
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions =
permit_sasl_authenticated,
permit_mynetworks,
reject_unauth_destination
- In der der sasl_passwd habe ich folgendes ergänzt (:
Code:
mail.arcor.de username:password
Natürlich habe ich bei username und password meine richtigen Angaben eingetragen.
- Abschließend habe ich folgende Befehle ausgeführt:
Code:
postmap /etc/postfix/sasl_passwd
rcpostfix reload
Wie gesagt leider geht es aber nicht.
Ich habe hier noch ein paar Auszüge von relevanten Stellen aus den logs:
Code:
Jan 29 20:40:33 meinserver postfix/qmgr[14370]: B782AC7764: to=<mail@mich.de>, relay=none, delay=1062, delays=1061/1.1/0/0, dsn=4.3.0, status=deferred (unknown mail transport error)
Jan 29 20:40:33 meinserver postfix/qmgr[14370]: warning: premature end-of-input on private/smtp socket while reading input attribute name
Jan 29 20:40:33 meinserver postfix/qmgr[14370]: warning: private/smtp socket: malformed response
Jan 29 20:40:33 meinserver postfix/qmgr[14370]: warning: transport smtp failure -- see a previous warning/fatal/panic logfile record for the problem description
- mail.err
Code:
Jan 29 21:40:32 meinserver postfix/smtp[14504]: fatal: unknown service: smtp/tcp
- mail.info
Code:
Jan 29 20:40:33 meinserver postfix/qmgr[14370]: E9A3DC7763: to=<mail@mich.de>, relay=none, delay=1062, delays=1061/1.1/0/0, dsn=4.3.0, status=deferred (unknown mail transport error)
- mail.warn
Code:
Jan 29 20:40:33 meinserver postfix/qmgr[14370]: warning: premature end-of-input on private/smtp socket while reading input attribute name
Jan 29 20:40:33 meinserver postfix/qmgr[14370]: warning: private/smtp socket: malformed response
Jan 29 20:40:33 meinserver postfix/qmgr[14370]: warning: transport smtp failure -- see a previous warning/fatal/panic logfile record for the problem description
Hier noch die Inhalte der mail.cf und der master.cf
- main.cf:
Code:
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
program_directory = /usr/lib/postfix
inet_interfaces = all
mynetworks_style = host
myhostname = meinserver
mydomain = meinserver.local
myorigin = $mydomain
smtpd_banner = $myhostname VHCS2 2.4 Spartacus Managed ESMTP 2.4.7.1
setgid_group = maildrop
mydestination = $myhostname, $mydomain
append_dot_mydomain = no
append_at_myorigin = yes
local_transport = local
virtual_transport = virtual
transport_maps = hash:/etc/postfix/vhcs2/transport
mail_spool_directory = /var/spool/mail
mailbox_size_limit = 0
mailbox_command = procmail -a "$EXTENSION"
biff = no
alias_database = hash:/etc/aliases
local_destination_recipient_limit = 1
local_recipient_maps = unix:passwd.byname $alias_database
virtual_mailbox_base = /var/spool/mail/virtual
virtual_mailbox_limit = 0
virtual_mailbox_domains = hash:/etc/postfix/vhcs2/domains
virtual_mailbox_maps = hash:/etc/postfix/vhcs2/mailboxes
virtual_alias_maps = hash:/etc/postfix/vhcs2/aliases
virtual_minimum_uid = 1001
virtual_uid_maps = static:1001
virtual_gid_maps = static:12
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtpd_sasl_local_domain = vhcs.net
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions =
permit_sasl_authenticated,
permit_mynetworks,
reject_unauth_destination
- master.cf
Code:
smtp inet n - - - - smtpd
pickup fifo n - - 60 1 pickup
cleanup unix n - - - 0 cleanup
qmgr fifo n - - 300 1 qmgr
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
smtp unix - - - - - smtp
relay unix - - - - - smtp
-o fallback_relay=
showq unix n - - - - showq
error 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
maildrop unix - n n - - pipe
flags Rhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
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=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 - - pipe
flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
${nexthop} ${user}
vhcs2-arpl unix - n n - - pipe flags=O user=vmail argv=/var/www/vhcs2/engine/messager/vhcs2-arpl-msgr
Ich hoffe die Informationen sind ausreichend, sonst sagt bitte bescheid. Ich bin mit meinem Latain leider am Ende.
Vielen Dank im Voraus.
Viele Grüße
lakul