PostFix initialisieren

Postfix, QMail, Sendmail, Dovecot, Cyrus, Courier, Anti-Spam
screwedx
Posts: 12
Joined: 2003-05-01 10:18
Location: München

PostFix initialisieren

Post by screwedx » 2003-05-09 10:47

Hallo, ich habe bei meinem Rootserver alles so gemacht, wie in den FAQ's von Puretec beschrieben. Trotzdem empfängt und versendet er keine Mails. Also die Dinger gehen einfach net raus, es gibt immer wieder einen Connection-Timeout von Postfix beim Versenden.

Und EMpfangen kann er auch nix...

Loakl von einem Account zum anderen läuft es wunderbar.
Ports sind auch soweit offen...

Vielleicht hat irgendjemand die Lust, mir sein main.cf-File zu schicken.

Danke.

Gruß Olli
Last edited by screwedx on 2003-05-09 13:20, edited 1 time in total.

mark
Posts: 295
Joined: 2003-04-15 16:48
Location: Oldenburg

Re: PostFix initialisieren

Post by mark » 2003-05-09 11:27

Besser:

- zeig du mal "postconf -n" (nicht die komplette main.cf posten).
- Außerdem kannst du von local nach extern versenden ?
- "telnet server 25" ?

Gruß
Mark

PS: Ã?nder mal das Topic. Es gibt kein PostMail.

screwedx
Posts: 12
Joined: 2003-05-01 10:18
Location: München

Re: PostFix initialisieren

Post by screwedx » 2003-05-09 13:22

Aber gerne doch...

Code: Select all

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
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
default_privs = autoresp
fast_flush_domains = $relay_domains
in_flow_delay = 0
inet_interfaces = all
local_recipient_maps = $alias_maps unix:passwd.byname
mail_owner = postfix
mail_spool_directory = /var/mail
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
masquerade_classes = envelope_sender, header_sender, header_recipient
masquerade_domains = fraggme.net
masquerade_exceptions = root
mydestination = $myhostname, localhost.$mydomain, $mydomain, smtp.$mydomain
mydomain = fraggme.net
myhostname = p15131752.pureserver.info
mynetworks_style = host
myorigin = fraggme.net
newaliases_path = /usr/sbin/sendmail
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/packages/postfix/README_FILES
relay_domains = $mydestination
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
smtpd_banner = $myhostname ESMTP $mail_name
smtpd_client_restrictions = 
smtpd_recipient_restrictions = permit_sasl_authenticated, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_tls_CAfile = /etc/postfix/cacert.pem
smtpd_tls_auth_only = yes
smtpd_tls_cert_file = /etc/postfix/cert.pem
smtpd_tls_key_file = /etc/postfix/key.pem
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
virtual_maps = hash:/etc/postfix/virtual, hash:/etc/postfix/confixx_virtualUsers, hash:/etc/postfix/confixx_localDomains

Gruß Olli

mark
Posts: 295
Joined: 2003-04-15 16:48
Location: Oldenburg

Re: PostFix initialisieren

Post by mark » 2003-05-09 15:15

Hi,

die main.cf sieht gut aus. Zeig uns mal ein paar logeinträge und eventl. Fehlermeldung (und wo und wann die auftreten).

$ telnet XXXX 25
220 pxxxxxxxxx.pureserver.info ESMTP Postfix
EHLO test
250-pxxxxxxxxx.pureserver.info
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-XVERP
250 8BITMIME
MAIL FROM: blabla@domain.com
250 Ok
RCPT TO: root@test.com
554 <root@test.com>: Relay access denied

Telnet sieht auch gut aus. Connect von aussen ist schon mal möglich.

Gruß
Mark