Levi
07.04.09, 11:29
Hi alle mit einander
Ich habe ein Problem mit meinem E-Mail Server und komme nicht weiter habe alle möglichen
how- tos durch gesehen aber ich finde den Fehler nicht vielleicht findet ihn jemand hier.
Also meine Aufgabe ist es ein E-Mail Server zu Konfigurieren und ich Benutze
Suse Linux Enterprise Server 10.1 als plattform.
Der Server ist Postfix mit Cyrus-Imap. Die E-Mails sollen vom Client abgeholt werden mit dem client Programm Thunderbird. Der Server wird in einem Intranet stehen und keine Verbindung zum Internet haben. Geplant sind mehr als 40 E-Mail Postfächer später vielleicht mehr wenn die Mitarbeiter zahl sich vergrößert.
Da es kein direktes How-to gibt was zu mir gepasst hat habe ich mir mehr oder weniger aus vielen was immer was raus genommen was passte. Und ich denke hier habe ich irgend wo einen Fehler gemacht.
Also Postfix läuft soweit(ok im Terminal) aber wenn ich E-Mails versenden will also erstmal auf dem Server zum testen kommen die Mails nicht in den Postfächern an. Sie sind aber auch nicht in dem Queue Ordner drin.
Cyrus- Imap ist auch alles Konfiguriert(ok im Terminal) und mit cyradm wurden für die Benutzer auch schon Postfächer angelegt.
Das Nächste Problem ist das wenn ich Thunderbird mit dem smtp verbinden will er mir sagt
„Konnte keine Verbindung mit dem Mail-Server linux-mail.soemmerda.kts-group.local aufbauen, da sie verweigert wurde. „
Ich glaube das diese Fehler alle mit einander zusammenhängen oder ich einfach einen Riesen denk Fehler gemacht habe.
Also wenn mir jemand helfen kann aus dem Chaos was Funktionierendes zu machen wäre ich dankbar.
/etc/postfix/main.cf
readme_directory = /usr/share/doc/packages/postfix/README_FILES
inet_protocols = all
biff = no
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 = linux-mail.soemmerda.kts-group.local
program_directory = /usr/lib/postfix
inet_interfaces = localhost
mydestination = $myhostname,$mydomain, localhost.$mydomain
defer_transports = smtp
disable_dns_lookups = yes
mailbox_transport = Cyrus
strict_8bitmime = no
disable_mime_output_conversion = no
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_helo_required = yes
smtpd_helo_restrictions = reject_invalid_hostname
strict_rfc821_envelopes = no
smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination, reject_unknown_recipient_domain, permit_sasl_authenticated
smtp_sasl_auth_enable = no
smtpd_sasl_auth_enable = yes
smtp_use_tls = yes
alias_maps = hash:/etc/aliases
mailbox_size_limit = 11240000
mynetworks = 127.0.0.0/8, 10.20.20.0/24
broken_sasl_auth_clients = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain =
smtpd_client_restrictions = reject_invalid_hostname reject_rbl_client relays.ordb.org
smtpd_banner = $myhostname ESMTP Mailserver
empty_address_recipient = root
queue_directory = /var/spool/postfix
mail_owner = postfix
broken_sasl_auth_clients = yes
local_transport = cyrus
/etc/imapd.conf
configdirectory: /var/lib/imap
partition-default: /var/spool/imap
sievedir: /var/lib/sieve
admins: cyrus
allowanonymouslogin: no
autocreatequota: 20000
reject8bit: no
quotawarn: 90
timeout: 180
poptimeout: 10
dracinterval: 0
drachost: localhost
sasl_pwcheck_method: saslauthd
lmtp_overquota_perm_failure: no
lmtp_downcase_rcpt: yes
#
# if you want TLS, you have to generate certificates and keys
#
#tls_cert_file: /usr/ssl/certs/cert.pem
#tls_key_file: /usr/ssl/certs/skey.pem
#tls_ca_file: /usr/ssl/CA/CAcert.pem
#tls_ca_path: /usr/ssl/CA
lmtpsocket: /var/lib/imap/socket/lmtp
/etc/Cyrus.conf
# standard standalone server implementation
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
}
Mfg
Ich habe ein Problem mit meinem E-Mail Server und komme nicht weiter habe alle möglichen
how- tos durch gesehen aber ich finde den Fehler nicht vielleicht findet ihn jemand hier.
Also meine Aufgabe ist es ein E-Mail Server zu Konfigurieren und ich Benutze
Suse Linux Enterprise Server 10.1 als plattform.
Der Server ist Postfix mit Cyrus-Imap. Die E-Mails sollen vom Client abgeholt werden mit dem client Programm Thunderbird. Der Server wird in einem Intranet stehen und keine Verbindung zum Internet haben. Geplant sind mehr als 40 E-Mail Postfächer später vielleicht mehr wenn die Mitarbeiter zahl sich vergrößert.
Da es kein direktes How-to gibt was zu mir gepasst hat habe ich mir mehr oder weniger aus vielen was immer was raus genommen was passte. Und ich denke hier habe ich irgend wo einen Fehler gemacht.
Also Postfix läuft soweit(ok im Terminal) aber wenn ich E-Mails versenden will also erstmal auf dem Server zum testen kommen die Mails nicht in den Postfächern an. Sie sind aber auch nicht in dem Queue Ordner drin.
Cyrus- Imap ist auch alles Konfiguriert(ok im Terminal) und mit cyradm wurden für die Benutzer auch schon Postfächer angelegt.
Das Nächste Problem ist das wenn ich Thunderbird mit dem smtp verbinden will er mir sagt
„Konnte keine Verbindung mit dem Mail-Server linux-mail.soemmerda.kts-group.local aufbauen, da sie verweigert wurde. „
Ich glaube das diese Fehler alle mit einander zusammenhängen oder ich einfach einen Riesen denk Fehler gemacht habe.
Also wenn mir jemand helfen kann aus dem Chaos was Funktionierendes zu machen wäre ich dankbar.
/etc/postfix/main.cf
readme_directory = /usr/share/doc/packages/postfix/README_FILES
inet_protocols = all
biff = no
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 = linux-mail.soemmerda.kts-group.local
program_directory = /usr/lib/postfix
inet_interfaces = localhost
mydestination = $myhostname,$mydomain, localhost.$mydomain
defer_transports = smtp
disable_dns_lookups = yes
mailbox_transport = Cyrus
strict_8bitmime = no
disable_mime_output_conversion = no
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_helo_required = yes
smtpd_helo_restrictions = reject_invalid_hostname
strict_rfc821_envelopes = no
smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination, reject_unknown_recipient_domain, permit_sasl_authenticated
smtp_sasl_auth_enable = no
smtpd_sasl_auth_enable = yes
smtp_use_tls = yes
alias_maps = hash:/etc/aliases
mailbox_size_limit = 11240000
mynetworks = 127.0.0.0/8, 10.20.20.0/24
broken_sasl_auth_clients = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain =
smtpd_client_restrictions = reject_invalid_hostname reject_rbl_client relays.ordb.org
smtpd_banner = $myhostname ESMTP Mailserver
empty_address_recipient = root
queue_directory = /var/spool/postfix
mail_owner = postfix
broken_sasl_auth_clients = yes
local_transport = cyrus
/etc/imapd.conf
configdirectory: /var/lib/imap
partition-default: /var/spool/imap
sievedir: /var/lib/sieve
admins: cyrus
allowanonymouslogin: no
autocreatequota: 20000
reject8bit: no
quotawarn: 90
timeout: 180
poptimeout: 10
dracinterval: 0
drachost: localhost
sasl_pwcheck_method: saslauthd
lmtp_overquota_perm_failure: no
lmtp_downcase_rcpt: yes
#
# if you want TLS, you have to generate certificates and keys
#
#tls_cert_file: /usr/ssl/certs/cert.pem
#tls_key_file: /usr/ssl/certs/skey.pem
#tls_ca_file: /usr/ssl/CA/CAcert.pem
#tls_ca_path: /usr/ssl/CA
lmtpsocket: /var/lib/imap/socket/lmtp
/etc/Cyrus.conf
# standard standalone server implementation
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
}
Mfg