Page 1 of 1
ISPConfig und Postfix Problem
Posted: 2006-03-22 21:00
by menzechristian
Hallo zusammen , habe einen Server von Deinprovider.de und bau mir gerade alles was man so braucht. Leider funzt der Postfix nicht richtig und ich finde nicht die Lösung. Ich möchte ISPConfig betreiben , habe erst alles nach howto perfekt suse 9.3 installiert und dann ISPConfig. Über Ispconfig ne Webseite eingerichtet funktioniert auch alles bis auf postfix.Ich logge mich mittels Putty auf dem Server ein und kann dann nur mit telnet auf localhost verbinden . Mit dem Versuch auf die richtige domain zu verbinden kein Erfolg. Vielleicht sieht ja jemand spontan den Fehler in meiner Postfix main.cf:
Code: Select all
alias_maps = hash:/etc/aliases
biff = no
broken_sasl_auth_clients = yes
canonical_maps = hash:/etc/postfix/canonical
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
debug_peer_level = 2
defer_transports =
disable_dns_lookups = no
home_mailbox = Maildir/
html_directory = /usr/share/doc/packages/postfix/html
inet_interfaces = all
inet_protocols = all
mail_spool_directory = /var/mail
mailbox_command =
mailbox_size_limit = 0
mailbox_transport =
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
masquerade_classes = envelope_sender, header_sender, header_recipient
masquerade_domains =
masquerade_exceptions = root
message_size_limit = 10240000
mydestination = $myhostname, localhost.$mydomain
mydomain = nenneichmalum.de
myhostname = www.$mydomain
newaliases_path = /usr/bin/newaliases
readme_directory = /usr/share/doc/packages/postfix/README_FILES
relocated_maps = hash:/etc/postfix/relocated
sample_directory = /usr/share/doc/packages/postfix/samples
sender_canonical_maps = hash:/etc/postfix/sender_canonical
sendmail_path = /usr/sbin/sendmail
setgid_group = maildrop
smtp_sasl_auth_enable = no
smtp_tls_note_starttls_offer = yes
smtp_use_tls = yes
smtpd_client_restrictions =
smtpd_helo_required = no
smtpd_helo_restrictions =
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,check_relay_domains
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_auth_only = no
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes
strict_rfc821_envelopes = no
tls_random_source = dev:/dev/urandom
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 550
Thx für jeden Tipp
Re: ISPConfig und Postfix Problem
Posted: 2006-03-22 23:08
by adjustman
menzechristian wrote:Vielleicht sieht ja jemand spontan den Fehler
Erstens: Welchen Fehler meinst du?
Zweitens: bei Postfix Fragen IMMER postconf -n
Drittens:
Code: Select all
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,check_relay_domains
DAS ist auf jeden Fall falsch. Lautet:
Code: Select all
permit_mynetworks
permit_sasl_authenticated
reject_unauth_destination
UND - mynetworks fehlt
Re: ISPConfig und Postfix Problem
Posted: 2006-03-23 07:19
by menzechristian
OK , ich glaube ich bin etwas weiter:
Ich benutze Outlook af meinem Home PC , kann jetzt emails abholen und emails von meinem eingerichteten Email Acc zu meinem senden.
Problem:
Wenn ich von einem externen Email acc ( GMX ) zu meiner sende wird diese abgelehnt und wenn ich von meinem acc zu einem extern sende wird diese auch abgelehnt.
welche infos braucht ihr ? Ach ja und wer kann mir sagen was das heißt, steht in der log von mail ?
Code: Select all
postfix/smtpd[3300]: warning: connect to private/tlsmgr: Connection refused
postfix/smtpd[3300]: warning: problem talking to server private/tlsmgr: Connection refused
Die Mail von einem externen Anbieter bekommt folgende Email zurück :
Code: Select all
----- The following addresses had permanent fatal errors ----- <xxx@xxx.de>
(reason: 550 <xxx@xxx.de>: Recipient address rejected: User unknown in local recipient table) <xxx@xxx.de>
Die Mail von intern nach externen Email acc bekommt diese NAchricht zurück:
Code: Select all
Folgende Empfänger konnten nicht erreicht werden:
'xxx@xxx.de' am 23.03.2006 07:05
554 <xxx@xxx.de>: Relay access denied
Ziel : Email acc sollen von allen adrssen empfangen können und zu allen hin senden können.
Thx für Tips[/quote]
Re: ISPConfig und Postfix Problem
Posted: 2006-03-23 12:30
by adjustman
menzechristian wrote:Thx für Tips
steht oben.
Re: ISPConfig und Postfix Problem
Posted: 2006-03-23 13:14
by menzechristian
Also hab mal die einstellungen übernommen , aber funzt immernoch nicht richtig:
Postconf -n :
Code: Select all
alias_maps = hash:/etc/aliases
biff = no
broken_sasl_auth_clients = yes
canonical_maps = hash:/etc/postfix/canonical
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
debug_peer_level = 2
defer_transports =
disable_dns_lookups = no
home_mailbox = Maildir/
html_directory = /usr/share/doc/packages/postfix/html
inet_interfaces = all
inet_protocols = all
mail_spool_directory = /var/mail
mailbox_command =
mailbox_size_limit = 0
mailbox_transport =
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
masquerade_classes = envelope_sender, header_sender, header_recipient
masquerade_domains =
masquerade_exceptions = root
message_size_limit = 10240000
mydestination = /etc/postfix/local-host-names
mydomain = we-g.de
myhostname = www.$mydomain
mynetworks = 127.0.0.0/8
newaliases_path = /usr/bin/newaliases
readme_directory = /usr/share/doc/packages/postfix/README_FILES
relocated_maps = hash:/etc/postfix/relocated
sample_directory = /usr/share/doc/packages/postfix/samples
sender_canonical_maps = hash:/etc/postfix/sender_canonical
sendmail_path = /usr/sbin/sendmail
setgid_group = maildrop
smtp_sasl_auth_enable = no
smtp_tls_note_starttls_offer = yes
smtp_use_tls = yes
smtpd_client_restrictions =
smtpd_helo_required = no
smtpd_helo_restrictions =
smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,rejec
t_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_auth_only = no
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes
strict_rfc821_envelopes = no
tls_random_source = dev:/dev/urandom
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 550
Meine local-host-names
Code: Select all
localhost
server1.we-g.de
localhost.server1.we-g.de
localhost.we-g.de
www.weg-gemeinschaft.de
weg-gemeinschaft.de
www.we-g.de
we-g.de
Meine virtusertable
Code: Select all
menze@www.weg-gemeinschaft.de web1_menze
web1_menze@www.weg-gemeinschaft.de web1_menze
menze@weg-gemeinschaft.de web1_menze
web1_menze@weg-gemeinschaft.de web1_menze
menze@www.we-g.de web1_menze
web1_menze@www.we-g.de web1_menze
menze@we-g.de web1_menze
web1_menze@we-g.de web1_menze
Meine master.cf
Code: Select all
smtp inet n - n - - smtpd
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
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}
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}
so dass ist glaube ich alles wichtige :
kann von außen mails schicken aber nur an
menze@www.weg-gemeinschaft.de hätte das gerne ohne www , obwohl die anderen eingetragen sind klappt das nicht. von
menze@weg-gemeinschaft.de kann ich auch keine mails an außerhalb senden , ich finde den Fehler nicht.
Re: ISPConfig und Postfix Problem
Posted: 2006-03-23 13:37
by adjustman
wie ist denn Postfix installiert? Selbst kompiliert oder Paketsystem?
Es sieht so aus, als ob kein TLS von Postfix verarbeitet werden kann.
Was sagt?
telnet localhost 25
ehlo foo
Re: ISPConfig und Postfix Problem
Posted: 2006-03-23 13:43
by menzechristian
telnet localhost 25
Code: Select all
server1:/etc/postfix # telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 www.we-g.de ESMTP Postfix
ehlo foo
250-www.we-g.de
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH PLAIN LOGIN
250-AUTH=PLAIN LOGIN
250 8BITMIME
Hab postfix mit howto perfect Setup suse 9.3 gemacht
Code: Select all
Postfix With SMTP-AUTH And TLS
apt-get install cyrus-sasl cyrus-sasl-crammd5 cyrus-sasl-devel cyrus-sasl-digestmd5 cyrus-sasl-gssapi cyrus-sasl-otp cyrus-sasl-plain cyrus-sasl-saslauthd
Re: ISPConfig und Postfix Problem
Posted: 2006-03-23 13:58
by adjustman
zeig mal die smtpd.conf und sag mal, wo die liegt
Re: ISPConfig und Postfix Problem
Posted: 2006-03-23 14:05
by menzechristian
liegt in usr/lib/sasl2/smtpd.conf
Code: Select all
pwcheck_method: saslauthd
mech_list: plain login
so bin erst in ner guten stunde zurück muß mal kurz weg
thx für hilfe
Re: ISPConfig und Postfix Problem
Posted: 2006-03-23 14:14
by adjustman
Re: ISPConfig und Postfix Problem
Posted: 2006-03-23 16:34
by menzechristian
Check server-side SMTP AUTH configuration:
Code: Select all
saslfinger - postfix Cyrus sasl configuration Thu Mar 23 16:27:39 CET 2006
version: 1.0
mode: server-side SMTP AUTH
-- basics --
Postfix: 2.2.1
System:
Welcome to SuSE Linux 9.3 (i586) - Kernel r (l).
-- smtpd is linked to --
libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x4006d000)
-- active SMTP AUTH and TLS parameters for smtpd --
broken_sasl_auth_clients = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_auth_only = no
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes
-- listing of /usr/lib/sasl2 --
total 656
drwxr-xr-x 2 root root 4096 Mar 22 15:26 .
drwxr-xr-x 64 root root 16384 Mar 22 16:18 ..
-rwxr-xr-x 1 root root 695 Mar 19 2005 libanonymous.la
-rwxr-xr-x 1 root root 13560 Mar 19 2005 libanonymous.so
-rwxr-xr-x 1 root root 13560 Mar 19 2005 libanonymous.so.2
-rwxr-xr-x 1 root root 13560 Mar 19 2005 libanonymous.so.2.0.20
-rwxr-xr-x 1 root root 683 Mar 19 2005 libcrammd5.la
-rwxr-xr-x 1 root root 15828 Mar 19 2005 libcrammd5.so
-rwxr-xr-x 1 root root 15828 Mar 19 2005 libcrammd5.so.2
-rwxr-xr-x 1 root root 15828 Mar 19 2005 libcrammd5.so.2.0.20
-rwxr-xr-x 1 root root 713 Mar 19 2005 libdigestmd5.la
-rwxr-xr-x 1 root root 43544 Mar 19 2005 libdigestmd5.so
-rwxr-xr-x 1 root root 43544 Mar 19 2005 libdigestmd5.so.2
-rwxr-xr-x 1 root root 43544 Mar 19 2005 libdigestmd5.so.2.0.20
-rwxr-xr-x 1 root root 749 Mar 19 2005 libgssapiv2.la
-rwxr-xr-x 1 root root 25912 Mar 19 2005 libgssapiv2.so
-rwxr-xr-x 1 root root 25912 Mar 19 2005 libgssapiv2.so.2
-rwxr-xr-x 1 root root 25912 Mar 19 2005 libgssapiv2.so.2.0.20
-rwxr-xr-x 1 root root 679 Mar 19 2005 liblogin.la
-rwxr-xr-x 1 root root 14420 Mar 19 2005 liblogin.so
-rwxr-xr-x 1 root root 14420 Mar 19 2005 liblogin.so.2
-rwxr-xr-x 1 root root 14420 Mar 19 2005 liblogin.so.2.0.20
-rwxr-xr-x 1 root root 675 Mar 19 2005 libotp.la
-rwxr-xr-x 1 root root 44924 Mar 19 2005 libotp.so
-rwxr-xr-x 1 root root 44924 Mar 19 2005 libotp.so.2
-rwxr-xr-x 1 root root 44924 Mar 19 2005 libotp.so.2.0.20
-rwxr-xr-x 1 root root 679 Mar 19 2005 libplain.la
-rwxr-xr-x 1 root root 14420 Mar 19 2005 libplain.so
-rwxr-xr-x 1 root root 14420 Mar 19 2005 libplain.so.2
-rwxr-xr-x 1 root root 14420 Mar 19 2005 libplain.so.2.0.20
-rwxr-xr-x 1 root root 707 Mar 19 2005 libsasldb.la
-rwxr-xr-x 1 root root 18792 Mar 19 2005 libsasldb.so
-rwxr-xr-x 1 root root 18792 Mar 19 2005 libsasldb.so.2
-rwxr-xr-x 1 root root 18792 Mar 19 2005 libsasldb.so.2.0.20
-rw------- 1 root root 49 Mar 19 2005 smtpd.conf
-- content of /usr/lib/sasl2/smtpd.conf --
pwcheck_method: saslauthd
mech_list: plain login
-- active services in /etc/postfix/master.cf --
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
smtp inet n - n - - smtpd
pickup fifo n - n 60 1 pickup
cleanup unix n - n - 0 cleanup
qmgr fifo n - n 300 1 qmgr
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}
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}
-- mechanisms on localhost --
250-AUTH PLAIN LOGIN
250-AUTH=PLAIN LOGIN
-- end of saslfinger output --
Check client-side SMTP AUTH configuration:
Code: Select all
saslfinger - postfix Cyrus sasl configuration Thu Mar 23 16:29:33 CET 2006
version: 1.0
mode: client-side SMTP AUTH
-- basics --
Postfix: 2.2.1
System:
Welcome to SuSE Linux 9.3 (i586) - Kernel r (l).
-- smtp is linked to --
libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x4006d000)
-- active SMTP AUTH and TLS parameters for smtp --
smtp_sasl_auth_enable = no
smtp_tls_note_starttls_offer = yes
smtp_use_tls = yes
-- listing of /usr/lib/sasl2 --
total 656
drwxr-xr-x 2 root root 4096 Mar 22 15:26 .
drwxr-xr-x 64 root root 16384 Mar 22 16:18 ..
-rwxr-xr-x 1 root root 695 Mar 19 2005 libanonymous.la
-rwxr-xr-x 1 root root 13560 Mar 19 2005 libanonymous.so
-rwxr-xr-x 1 root root 13560 Mar 19 2005 libanonymous.so.2
-rwxr-xr-x 1 root root 13560 Mar 19 2005 libanonymous.so.2.0.20
-rwxr-xr-x 1 root root 683 Mar 19 2005 libcrammd5.la
-rwxr-xr-x 1 root root 15828 Mar 19 2005 libcrammd5.so
-rwxr-xr-x 1 root root 15828 Mar 19 2005 libcrammd5.so.2
-rwxr-xr-x 1 root root 15828 Mar 19 2005 libcrammd5.so.2.0.20
-rwxr-xr-x 1 root root 713 Mar 19 2005 libdigestmd5.la
-rwxr-xr-x 1 root root 43544 Mar 19 2005 libdigestmd5.so
-rwxr-xr-x 1 root root 43544 Mar 19 2005 libdigestmd5.so.2
-rwxr-xr-x 1 root root 43544 Mar 19 2005 libdigestmd5.so.2.0.20
-rwxr-xr-x 1 root root 749 Mar 19 2005 libgssapiv2.la
-rwxr-xr-x 1 root root 25912 Mar 19 2005 libgssapiv2.so
-rwxr-xr-x 1 root root 25912 Mar 19 2005 libgssapiv2.so.2
-rwxr-xr-x 1 root root 25912 Mar 19 2005 libgssapiv2.so.2.0.20
-rwxr-xr-x 1 root root 679 Mar 19 2005 liblogin.la
-rwxr-xr-x 1 root root 14420 Mar 19 2005 liblogin.so
-rwxr-xr-x 1 root root 14420 Mar 19 2005 liblogin.so.2
-rwxr-xr-x 1 root root 14420 Mar 19 2005 liblogin.so.2.0.20
-rwxr-xr-x 1 root root 675 Mar 19 2005 libotp.la
-rwxr-xr-x 1 root root 44924 Mar 19 2005 libotp.so
-rwxr-xr-x 1 root root 44924 Mar 19 2005 libotp.so.2
-rwxr-xr-x 1 root root 44924 Mar 19 2005 libotp.so.2.0.20
-rwxr-xr-x 1 root root 679 Mar 19 2005 libplain.la
-rwxr-xr-x 1 root root 14420 Mar 19 2005 libplain.so
-rwxr-xr-x 1 root root 14420 Mar 19 2005 libplain.so.2
-rwxr-xr-x 1 root root 14420 Mar 19 2005 libplain.so.2.0.20
-rwxr-xr-x 1 root root 707 Mar 19 2005 libsasldb.la
-rwxr-xr-x 1 root root 18792 Mar 19 2005 libsasldb.so
-rwxr-xr-x 1 root root 18792 Mar 19 2005 libsasldb.so.2
-rwxr-xr-x 1 root root 18792 Mar 19 2005 libsasldb.so.2.0.20
-rw------- 1 root root 49 Mar 19 2005 smtpd.conf
Cannot find the smtp_sasl_password_maps parameter in main.cf.
Client-side SMTP AUTH cannot work without this parameter!
Da haben wir doch schon einen Fehler oder ?
smtp_sasl_password_maps parameter in main.cf
werd mal den parameter einbauen und sage später ob es funzt.
Re: ISPConfig und Postfix Problem
Posted: 2006-03-23 17:00
by menzechristian
so nun die gänderte version , aber emails kommen immernoch nicht an oder raus:
Code: Select all
mode: server-side SMTP AUTH
-- basics --
Postfix: 2.2.1
System:
Welcome to SuSE Linux 9.3 (i586) - Kernel r (l).
-- smtpd is linked to --
libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x4006d000)
-- active SMTP AUTH and TLS parameters for smtpd --
broken_sasl_auth_clients = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_auth_only = no
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes
-- listing of /usr/lib/sasl2 --
total 656
drwxr-xr-x 2 root root 4096 Mar 22 15:26 .
drwxr-xr-x 64 root root 16384 Mar 22 16:18 ..
-rwxr-xr-x 1 root root 695 Mar 19 2005 libanonymous.la
-rwxr-xr-x 1 root root 13560 Mar 19 2005 libanonymous.so
-rwxr-xr-x 1 root root 13560 Mar 19 2005 libanonymous.so.2
-rwxr-xr-x 1 root root 13560 Mar 19 2005 libanonymous.so.2.0.20
-rwxr-xr-x 1 root root 683 Mar 19 2005 libcrammd5.la
-rwxr-xr-x 1 root root 15828 Mar 19 2005 libcrammd5.so
-rwxr-xr-x 1 root root 15828 Mar 19 2005 libcrammd5.so.2
-rwxr-xr-x 1 root root 15828 Mar 19 2005 libcrammd5.so.2.0.20
-rwxr-xr-x 1 root root 713 Mar 19 2005 libdigestmd5.la
-rwxr-xr-x 1 root root 43544 Mar 19 2005 libdigestmd5.so
-rwxr-xr-x 1 root root 43544 Mar 19 2005 libdigestmd5.so.2
-rwxr-xr-x 1 root root 43544 Mar 19 2005 libdigestmd5.so.2.0.20
-rwxr-xr-x 1 root root 749 Mar 19 2005 libgssapiv2.la
-rwxr-xr-x 1 root root 25912 Mar 19 2005 libgssapiv2.so
-rwxr-xr-x 1 root root 25912 Mar 19 2005 libgssapiv2.so.2
-rwxr-xr-x 1 root root 25912 Mar 19 2005 libgssapiv2.so.2.0.20
-rwxr-xr-x 1 root root 679 Mar 19 2005 liblogin.la
-rwxr-xr-x 1 root root 14420 Mar 19 2005 liblogin.so
-rwxr-xr-x 1 root root 14420 Mar 19 2005 liblogin.so.2
-rwxr-xr-x 1 root root 14420 Mar 19 2005 liblogin.so.2.0.20
-rwxr-xr-x 1 root root 675 Mar 19 2005 libotp.la
-rwxr-xr-x 1 root root 44924 Mar 19 2005 libotp.so
-rwxr-xr-x 1 root root 44924 Mar 19 2005 libotp.so.2
-rwxr-xr-x 1 root root 44924 Mar 19 2005 libotp.so.2.0.20
-rwxr-xr-x 1 root root 679 Mar 19 2005 libplain.la
-rwxr-xr-x 1 root root 14420 Mar 19 2005 libplain.so
-rwxr-xr-x 1 root root 14420 Mar 19 2005 libplain.so.2
-rwxr-xr-x 1 root root 14420 Mar 19 2005 libplain.so.2.0.20
-rwxr-xr-x 1 root root 707 Mar 19 2005 libsasldb.la
-rwxr-xr-x 1 root root 18792 Mar 19 2005 libsasldb.so
-rwxr-xr-x 1 root root 18792 Mar 19 2005 libsasldb.so.2
-rwxr-xr-x 1 root root 18792 Mar 19 2005 libsasldb.so.2.0.20
-rw------- 1 root root 49 Mar 19 2005 smtpd.conf
-- content of /usr/lib/sasl2/smtpd.conf --
pwcheck_method: saslauthd
mech_list: plain login
-- active services in /etc/postfix/master.cf --
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
smtp inet n - n - - smtpd
pickup fifo n - n 60 1 pickup
cleanup unix n - n - 0 cleanup
qmgr fifo n - n 300 1 qmgr
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}
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}
-- mechanisms on localhost --
250-AUTH PLAIN LOGIN
250-AUTH=PLAIN LOGIN
-- end of saslfinger output --
Code: Select all
mode: client-side SMTP AUTH
-- basics --
Postfix: 2.2.1
System:
Welcome to SuSE Linux 9.3 (i586) - Kernel r (l).
-- smtp is linked to --
libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x4006d000)
-- active SMTP AUTH and TLS parameters for smtp --
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options =
smtp_tls_note_starttls_offer = yes
smtp_use_tls = yes
-- listing of /usr/lib/sasl2 --
total 656
drwxr-xr-x 2 root root 4096 Mar 22 15:26 .
drwxr-xr-x 64 root root 16384 Mar 22 16:18 ..
-rwxr-xr-x 1 root root 695 Mar 19 2005 libanonymous.la
-rwxr-xr-x 1 root root 13560 Mar 19 2005 libanonymous.so
-rwxr-xr-x 1 root root 13560 Mar 19 2005 libanonymous.so.2
-rwxr-xr-x 1 root root 13560 Mar 19 2005 libanonymous.so.2.0.20
-rwxr-xr-x 1 root root 683 Mar 19 2005 libcrammd5.la
-rwxr-xr-x 1 root root 15828 Mar 19 2005 libcrammd5.so
-rwxr-xr-x 1 root root 15828 Mar 19 2005 libcrammd5.so.2
-rwxr-xr-x 1 root root 15828 Mar 19 2005 libcrammd5.so.2.0.20
-rwxr-xr-x 1 root root 713 Mar 19 2005 libdigestmd5.la
-rwxr-xr-x 1 root root 43544 Mar 19 2005 libdigestmd5.so
-rwxr-xr-x 1 root root 43544 Mar 19 2005 libdigestmd5.so.2
-rwxr-xr-x 1 root root 43544 Mar 19 2005 libdigestmd5.so.2.0.20
-rwxr-xr-x 1 root root 749 Mar 19 2005 libgssapiv2.la
-rwxr-xr-x 1 root root 25912 Mar 19 2005 libgssapiv2.so
-rwxr-xr-x 1 root root 25912 Mar 19 2005 libgssapiv2.so.2
-rwxr-xr-x 1 root root 25912 Mar 19 2005 libgssapiv2.so.2.0.20
-rwxr-xr-x 1 root root 679 Mar 19 2005 liblogin.la
-rwxr-xr-x 1 root root 14420 Mar 19 2005 liblogin.so
-rwxr-xr-x 1 root root 14420 Mar 19 2005 liblogin.so.2
-rwxr-xr-x 1 root root 14420 Mar 19 2005 liblogin.so.2.0.20
-rwxr-xr-x 1 root root 675 Mar 19 2005 libotp.la
-rwxr-xr-x 1 root root 44924 Mar 19 2005 libotp.so
-rwxr-xr-x 1 root root 44924 Mar 19 2005 libotp.so.2
-rwxr-xr-x 1 root root 44924 Mar 19 2005 libotp.so.2.0.20
-rwxr-xr-x 1 root root 679 Mar 19 2005 libplain.la
-rwxr-xr-x 1 root root 14420 Mar 19 2005 libplain.so
-rwxr-xr-x 1 root root 14420 Mar 19 2005 libplain.so.2
-rwxr-xr-x 1 root root 14420 Mar 19 2005 libplain.so.2.0.20
-rwxr-xr-x 1 root root 707 Mar 19 2005 libsasldb.la
-rwxr-xr-x 1 root root 18792 Mar 19 2005 libsasldb.so
-rwxr-xr-x 1 root root 18792 Mar 19 2005 libsasldb.so.2
-rwxr-xr-x 1 root root 18792 Mar 19 2005 libsasldb.so.2.0.20
-rw------- 1 root root 49 Mar 19 2005 smtpd.conf
-- permissions for /etc/postfix/sasl_passwd --
-rw------- 1 root root 269 Mar 23 16:53 /etc/postfix/sasl_passwd
-- permissions for /etc/postfix/sasl_passwd.db --
-rw------- 1 root root 12288 Mar 23 16:53 /etc/postfix/sasl_passwd.db
/etc/postfix/sasl_passwd.db is up to date.
-- active services in /etc/postfix/master.cf --
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
smtp inet n - n - - smtpd
pickup fifo n - n 60 1 pickup
cleanup unix n - n - 0 cleanup
qmgr fifo n - n 300 1 qmgr
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}
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}
-- mechanisms on [root@mail --
so bis hierhin bin ich alleine gekommen , mir scheint das ende zu schnell -- mechanisms on [root@mail -- fehlt da noch was ?
Fragend blicke ich in die Runde....
Re: ISPConfig und Postfix Problem
Posted: 2006-03-23 17:07
by adjustman
das mit /etc/postfix/sasl_passwd.db ist falsch. Du hast saslauth als Mechanismus. Läuft denn saslauth überhaupt?
ps ax | grep saslauth sagt was?
Re: ISPConfig und Postfix Problem
Posted: 2006-03-23 17:13
by menzechristian
ps ax | grep saslauth
4174 ? Ss 0:00 /usr/sbin/saslauthd -a pam
4175 ? S 0:00 /usr/sbin/saslauthd -a pam
4176 ? S 0:00 /usr/sbin/saslauthd -a pam
4177 ? S 0:00 /usr/sbin/saslauthd -a pam
4178 ? S 0:00 /usr/sbin/saslauthd -a pam
7574 pts/1 S+ 0:00 grep saslauth
Hab das nochmal ausprobiert vielleicht hilft dir das noch:
Code: Select all
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 www.we-g.de ESMTP Postfix
ehlo localhost
250-www.we-g.de
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH PLAIN LOGIN
250-AUTH=PLAIN LOGIN
250 8BITMIME
starttls
454 TLS not available due to local problem
in der mail log steht:
Code: Select all
warning: connect to private/tlsmgr: Connection refused
postfix/smtpd[8354]: warning: problem talking to server private/tlsmgr: Connection refused
postfix/smtpd[8354]: warning: connect to private/tlsmgr: Connection refused
postfix/smtpd[8354]: warning: problem talking to server private/tlsmgr: Connection refused
postfix/smtpd[8354]: warning: no entropy for TLS key generation: disabling TLS support
Problem gelöst musste in der master cf eintragen:
allerdings wenn ich von außen ne mail sende kommt die immernoch zurück mit folgender meldung:
Code: Select all
----- The following addresses had permanent fatal errors ----- <menze@weg-gemeinschaft.de>
(reason: 550 <menze@weg-gemeinschaft.de>: Recipient address rejected: User unknown in local recipient table)
----- Transcript of session follows -----
... while talking to appendix.udag.de.:
>>> DATA
<<< 550 <menze@weg-gemeinschaft.de>: Recipient address rejected: User unknown in local recipient table 550 5.1.1 <menze@weg-gemeinschaft.de>... User unknown <<< 554 Error: no valid recipients
Re: ISPConfig und Postfix Problem
Posted: 2006-04-06 23:08
by menzechristian
Ich bekomme es nicht hin:
emails local versenden klappt , aber emails von einem anderen anbieter wie gmx an den server werden abglehnt. weiß jemand rat oder schaut auf mein System ? pm und er bekommt root rechte um mal auf den server zu schauen...
danke für jede hilfe
Re: ISPConfig und Postfix Problem
Posted: 2006-04-07 00:00
by rootsvr
Hast Du den Eintrag mydestination gemacht?
der schaut irgendwie falsch aus, ich dachte Postfix frisst nur irgendwelche hashmaps..
schreib da mal deine Domains rein statt /etc/postfix/local_domains
also
mydestination = localhost, localhost.$mydomain, server1.we-g.de,localhost.server1.we-g.de,
http://www.weg-gemeinschaft.de, weg-gemeinschaft.de,
http://www.we-g.de, we-g.de
/etc/init.d/postfix reload
und teste nochmal.
Du nutzt normale locale accounts, oder?
Und warum willst Du mails für alle Diese Domains annehmen.. also
User@server1.we-g.de ? reicht da nicht normalerweise wenn du die Domain nimmst?
Re: ISPConfig und Postfix Problem
Posted: 2006-04-07 00:37
by menzechristian
Habs grad ausprobiert aber läuft nicht.
adjustMan schaut sich das morgen mal an.
Ich richte nen Internet Server ein wo verschiedene Leute emails bekommen und abholen sollen.( von anderen Email diensten Gmx yahoo...sollen auch emails empfangen werden können) wichtig ist erstmal nur das die adresse @weg-gemeinschaft.de funktioniert , wobei das Catch all Email
c.menze@weg-gemeinschaft.de sein soll.
Mal schaun was adjustMan findet..
Gute Nacht zusammen
Re: ISPConfig und Postfix Problem
Posted: 2006-04-07 11:32
by rootsvr
Jap.. vielleicht besser..
generell sind howto nur eine Möglichkeit und Du solltest alles gut testen.
Es gibt auf Postfix.org gute Readmes (Basic Konfiguration) und auch bei
http://www.stahl.bau.tu-bs.de/~hildeb/postfix/ ist ne Menge zu finden.
Und wenn Du was änderst: immer nen postconf -n und relevante Logfiles, damit man HIER weiß was Du gemacht hast..
Re: ISPConfig und Postfix Problem
Posted: 2006-04-11 15:44
by Anonymous
menzechristian wrote:Hallo zusammen , habe einen Server von Deinprovider.de und bau mir gerade alles was man so braucht. Leider funzt der Postfix nicht richtig und ich finde nicht die Lösung. Ich möchte ISPConfig betreiben , habe erst alles nach howto perfekt suse 9.3 installiert und dann ISPConfig. Über Ispconfig ne Webseite eingerichtet funktioniert auch alles bis auf postfix.Ich logge mich mittels Putty auf dem Server ein und kann dann nur mit telnet auf localhost verbinden . Mit dem Versuch auf die richtige domain zu verbinden kein Erfolg. Vielleicht sieht ja jemand spontan den Fehler in meiner Postfix main.cf:
Code: Select all
alias_maps = hash:/etc/aliases
biff = no
broken_sasl_auth_clients = yes
canonical_maps = hash:/etc/postfix/canonical
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
debug_peer_level = 2
defer_transports =
disable_dns_lookups = no
home_mailbox = Maildir/
html_directory = /usr/share/doc/packages/postfix/html
inet_interfaces = all
inet_protocols = all
mail_spool_directory = /var/mail
mailbox_command =
mailbox_size_limit = 0
mailbox_transport =
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
masquerade_classes = envelope_sender, header_sender, header_recipient
masquerade_domains =
masquerade_exceptions = root
message_size_limit = 10240000
mydestination = $myhostname, localhost.$mydomain
mydomain = nenneichmalum.de
myhostname = www.$mydomain
newaliases_path = /usr/bin/newaliases
readme_directory = /usr/share/doc/packages/postfix/README_FILES
relocated_maps = hash:/etc/postfix/relocated
sample_directory = /usr/share/doc/packages/postfix/samples
sender_canonical_maps = hash:/etc/postfix/sender_canonical
sendmail_path = /usr/sbin/sendmail
setgid_group = maildrop
smtp_sasl_auth_enable = no
smtp_tls_note_starttls_offer = yes
smtp_use_tls = yes
smtpd_client_restrictions =
smtpd_helo_required = no
smtpd_helo_restrictions =
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,check_relay_domains
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_auth_only = no
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes
strict_rfc821_envelopes = no
tls_random_source = dev:/dev/urandom
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 550
Thx für jeden Tipp
ändere mal diese Zeile "mydestination = $myhostname, localhost.$mydomain" Statt locaalhost Dein hostname "server" oder wie auch immer
Re: ISPConfig und Postfix Problem
Posted: 2006-04-11 16:51
by adjustman
ihr könnt aufhören zu mutmaßen. Ich hab nachgesehen.
Es ist ein DNS/MX Problem.

Re: ISPConfig und Postfix Problem
Posted: 2006-04-18 22:14
by menzechristian
So problem gelöst : die Mail-Weiterleitung bei United-domains hab ich vergessen einzustellen
MX-Einträge definieren
Bei Nutzung eigener MX-Server können die von united-domains bereitgestellten Mail-Weiterleitungen NICHT mehr genutzt werden.
MX-Einträge dürfen nicht auf CNAME-Einträge verweisen.
MX-Einträge müssen auf einen Domain-Namen zeigen. IP-Adressen sind nicht erlaubt!
Also nur Eigene MX-Server einstellen und jetzt funzt alles , danke an alle die mir geholfen haben , werd bestimmt noch mal ne frage haben , grins.