OsiriZ
Newbie
Hallo Leute,
auf der Suche nach einer Lösung für mein Problem bin ich hier bei euch im Forum gelandet. Da hier ja die Suse Elite vertreten ist hoffe ich hier eine Lösung zu finden.
[Einleitung]
Ich will für ein Projekt einen Email Server einrichten auf Cyrus/Postfix/Fetchmail Basis. Soweit so gut. Mit dem ToDo von linux-tin.org ging soweit auch alles klar. Postfix funzt. Mein Outlook (ja ich weis muss aber leider sein ) in der Testumgebung versendet fleissig die Mails über den 1und1 Haupserver. Nachdem Postfix nun geht bin ich laut dem ToDo an die installation von Cyrus herangegangen und hier fingen die Probs an .
[zu meinem cyrus]
soweit ich das beurteilen kann, läuft Cyrus. Ich kann mit Telnet auf Pop und auf Imap zugreifen aber ich werde weder nach einem Benutzernamen noch nach einem Password gefragt!
Nach langem hin und her habe ich aus meiner LOG herausgelesen das er die sasldb2 nicht öffnen kann bzw. nicht findet. Also habe ich diese mit
einen User für die angelegte Mailbox erstellt und die Rechte wie hier im Forum beschrieben gesetzt. Nun ist die Fehlermeldung in den LOGs weg.
Nur das Problem ist das das Outlook sich nicht an dem Server anmelden kann. Egal ob ich ein Pop Account anlege oder ein Imap Account anlege ich kann nicht connecten und bekomme immer vom Outlook gesagt "falscher Benutzername bzw. Password".
[Meine Lösungsversuche]
Ich habe hier über euer Forum herausgefunden das Outlook im PLAIN TEXT seine Daten übermittelt also habe ich folgende imapd.conf erstellt:
Danach cyrus neu gestartet aber ESSIG ... immer noch das gleiche.
hier meine cyrus.conf:
Falls Ihr noch meine Postfix Dateien braucht poste ich sie auch noch schnell:
Meine master.cf
Ich hoffe das ihr mir helfen könnt denn solangsam habe ich aber echt den überblick verloren .. schon mal THX .. im vorraus.
cu de Osi
auf der Suche nach einer Lösung für mein Problem bin ich hier bei euch im Forum gelandet. Da hier ja die Suse Elite vertreten ist hoffe ich hier eine Lösung zu finden.
[Einleitung]
Ich will für ein Projekt einen Email Server einrichten auf Cyrus/Postfix/Fetchmail Basis. Soweit so gut. Mit dem ToDo von linux-tin.org ging soweit auch alles klar. Postfix funzt. Mein Outlook (ja ich weis muss aber leider sein ) in der Testumgebung versendet fleissig die Mails über den 1und1 Haupserver. Nachdem Postfix nun geht bin ich laut dem ToDo an die installation von Cyrus herangegangen und hier fingen die Probs an .
[zu meinem cyrus]
soweit ich das beurteilen kann, läuft Cyrus. Ich kann mit Telnet auf Pop und auf Imap zugreifen aber ich werde weder nach einem Benutzernamen noch nach einem Password gefragt!
Nach langem hin und her habe ich aus meiner LOG herausgelesen das er die sasldb2 nicht öffnen kann bzw. nicht findet. Also habe ich diese mit
Code:
saslpasswd2 -c -u domainname.de -a smtpauth username
Nur das Problem ist das das Outlook sich nicht an dem Server anmelden kann. Egal ob ich ein Pop Account anlege oder ein Imap Account anlege ich kann nicht connecten und bekomme immer vom Outlook gesagt "falscher Benutzername bzw. Password".
[Meine Lösungsversuche]
Ich habe hier über euer Forum herausgefunden das Outlook im PLAIN TEXT seine Daten übermittelt also habe ich folgende imapd.conf erstellt:
Code:
configdirectory: /var/lib/imap
partition-default: /var/spool/imap
#sievedir: /var/lib/sieve
admins: cyrus root postfix
allowanonymouslogin: no
autocreatequota: 50000
reject8bit: no
quotawarn: 90
timeout: 480
poptimeout: 10
dracinterval: 0
drachost: localhost
sasl_pwcheck_method: sasldb2
#sasl_pwcheck_method: auxprop
sasl_mech_list: PLAIN LOGIN CRAM-MD5 DIGEST-MD5
Danach cyrus neu gestartet aber ESSIG ... immer noch das gleiche.
hier meine cyrus.conf:
Code:
START {
# do not delete this entry!
recover cmd="ctl_cyrusdb -r"
# this is only necessary if using idled for IMAP IDLE
# idled cmd="idled"
}
# UNIX sockets start with a slash and are put into /var/lib/imap/socket
SERVICES {
# add or remove based on preferences
imap cmd="imapd" listen="imap" prefork=0
# imaps cmd="imapd -s" listen="imaps" prefork=0
pop3 cmd="pop3d" listen="pop3" prefork=0
# pop3s cmd="pop3d -s" listen="pop3s" prefork=0
sieve cmd="timsieved" listen="sieve" prefork=0
# at least one LMTP is required for delivery
lmtp cmd="lmtpd" listen="lmtp" prefork=0
lmtpunix cmd="lmtpd" listen="/var/lib/imap/socket/lmtp" prefork=0
# this is only necessary if using notifications
# notify cmd="notifyd" listen="/var/lib/imap/socket/notify" proto="udp" prefork=1
}
EVENTS {
# this is required
checkpoint cmd="ctl_cyrusdb -c" period=30
# this is only necessary if using duplicate delivery suppression
delprune cmd="cyr_expire -E 3" at=0400
# this is only necessary if caching TLS sessions
tlsprune cmd="tls_prune" at=0400
# Uncomment the next entry, if you want to automatically remove
# old messages of EVERY user.
# This example calls ipurge every 60 minutes and ipurge will delete
# ALL messages older then 30 days.
# enter 'man 8 ipurge' for more details
# cleanup cmd="ipurge -d 30 -f" period=60
}
Falls Ihr noch meine Postfix Dateien braucht poste ich sie auch noch schnell:
Code:
#soft_bounce = no
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
default_privs = nobody
#myhostname = host.domain.tld
#myhostname = virtual.domain.tld
#mydomain = domain.tld
#myorigin = $myhostname
#myorigin = $mydomain
#inet_interfaces = $myhostname, localhost
#proxy_interfaces =
#proxy_interfaces = 1.2.3.4
#mydestination = $myhostname, localhost.$mydomain, localhost
#mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
#mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain,
# mail.$mydomain, www.$mydomain, ftp.$mydomain
#local_recipient_maps = unix:passwd.byname $alias_maps
#local_recipient_maps = proxy:unix:passwd.byname $alias_maps
#local_recipient_maps =
#unknown_local_recipient_reject_code = 550
unknown_local_recipient_reject_code = 450
#mynetworks_style = class
#mynetworks_style = subnet
#mynetworks_style = host
mynetworks = 192.168.178.0/24, 127.0.0.0/8
#mynetworks = $config_directory/mynetworks
#mynetworks = hash:/etc/postfix/network_table
#relay_recipient_maps = hash:/etc/postfix/relay_recipients
#alias_maps = dbm:/etc/aliases
#alias_maps = hash:/etc/aliases
#alias_maps = hash:/etc/aliases, nis:mail.aliases
#alias_maps = netinfo:/aliases
#alias_database = dbm:/etc/aliases
#alias_database = dbm:/etc/mail/aliases
#alias_database = hash:/etc/aliases
#alias_database = hash:/etc/aliases, hash:/opt/majordomo/aliases
#home_mailbox = Mailbox
#home_mailbox = Maildir/
#mailbox_transport = lmtp:unix:/file/name
mailbox_transport = cyrus
#fallback_transport = lmtp:unix:/file/name
fallback_transport = cyrus
#fast_flush_domains =
local_destination_concurrency_limit = 2
default_destination_concurrency_limit = 10
default_peer_level = 2
debug_peer_level = 2
#debug_peer_list = 127.0.0.1
#debug_peer_list = some.domain
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
mail_owner = postfix
default_transport = smtp
default_transport = smtp
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
program_directory = /usr/lib/postfix
masquerade_domains =
defer_transports =
disable_dns_lookups = no
mailbox_command =
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 Auth
#SMTP mit SASL-Authentification verwenden
smtp_sasl_auth_enable = yes
#Die PaÃör stehen in der Datei /etc/postfix/smtp_auth
smtp_sasl_password_maps = hash:/etc/postfix/smtp_auth
#Zusatz-Optionen: Keine anonyme-Anmeldung verwenden
smtp_sasl_security_options = noanonymous
#Den Relayhost (der Server der unsere Emails annehmen soll)
relayhost = smtp.1und1.de
smtpd_sasl_auth_enable = yes
smtpd_use_tls = no
smtp_use_tls = no
alias_maps = hash:/etc/aliases
mailbox_size_limit = 0
message_size_limit = 20480000
html_directory = /usr/share/doc/packages/postfix/html
myhostname = mail.tetzner-edv.com
mydomain = tetzner-edv.com
myorigin = $mydomain
mydestination = $myhostname,$mydomain,localhost,localhost.$mydomain
Meine master.cf
Code:
smtp inet n - n - - smtpd
#smtps inet n - n - - smtpd
# -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
#submission inet n - n - - smtpd
# -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes -o smtpd_etrn_restrictions=reject
#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 fifo - - n 300 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 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
anvil unix - - n - 1 anvil
#localhost:10025 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.
#
# maildrop. See the Postfix MAILDROP_README file for details.
#
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}
Ich hoffe das ihr mir helfen könnt denn solangsam habe ich aber echt den überblick verloren .. schon mal THX .. im vorraus.
cu de Osi