PDA

Bekijk Volledige Versie : postfix niet werkend te krijgen



sante140
07/08/08, 02:45
sinds vandaag heb ik problemen met mijn postfix.
logs geven sowieso veel fouten aan, en krijg steeds dezelfde errors.

Reason for failure unknown user: "XXXXistratie"

wie o wie kan mij helpen.

server gaat ook bij het minste op zijn bek, en toch toch niet de minste configuratie.

DiederikL
07/08/08, 10:33
Je geeft wel erg weinig informatie om je te kunnen helpen...
Hoe heb je postfix geconfigureerd? Virtuele users of juist niet etc. Post anders de inhoud van main.cfg.
En zegt "XXXXistratie" jou iets als een gebruiker?
Heeft de setup voor dit probleem een tijd goed gedraaid of is dit een verse installatie?

sante140
07/08/08, 13:52
hieronder mijn configuratie:
en ja "XXXXistratie" is een van belangrijkste emails


# Please be sure to read the /usr/share/doc/postfix-*/README.MDK file
# to learn about differences from stock postfix to Mandriva package.
# This file contains only the parameters changed from a default install
# see /etc/postfix/main.cf.dist for a commented, fuller version of this file.

# These are changed by postfix install script
readme_directory = /usr/share/doc/postfix-2.3.8/README_FILES
html_directory = /usr/share/doc/postfix-2.3.8/html
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
command_directory = /usr/sbin
manpage_directory = /usr/share/man
daemon_directory = /usr/lib64/postfix
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq
queue_directory = /var/spool/postfix
mail_owner = postfix

# User configurable parameters

inet_interfaces = all
mynetworks_style = host
#delay_warning_time = 4h
smtpd_banner = $myhostname ESMTP $mail_name ($mail_version) (Mandriva Linux)
unknown_local_recipient_reject_code = 450
smtp-filter_destination_concurrency_limit = 2
lmtp-filter_destination_concurrency_limit = 2
recipient_delimiter = +
owner_request_special = no
alias_maps = hash:/etc/postfix/aliases, hash:/var/lib/mailman/data/aliases
sample_directory = /etc/postfix
syslog_name = postfix
global_config_directory = /etc/postfix
smtpd_sasl_local_domain =
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject _unauth_destination
mydomain = dlpc.nl
myhostname = allestekoop.$mydomain
mydestination = /etc/postfix/local-host-names, localhost.dlpc.nl
mynetworks = 127.0.0.0/8
smtpd_tls_auth_only = no
smtp_use_tls = yes
smtpd_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
virtual_maps = hash:/etc/postfix/virtusertable


deze heeft tot gisteren goed gedraaid, om 19:00 op zijn bek wederom, dus pdu moeten gebruiken, en toen ging het dus mis, lijkt wel of ispconfig de boel verkloot.

lorddemos
08/08/08, 14:00
Beste,

Ik heb gauw mijn postfix configuration file erbij geplaatst. Het lijkt mij dat je beveiligingsvoorwaarden ietsje te los zijn.

Veel tijd om te helpen heb ik niet, maar ik hoop dat je al iets bent met mijn config file.

Mvg,

lorddemos

# See /usr/share/postfix/main.cf.dist for a commented, more complete version


# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname

smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

# TLS parameters
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_use_tls = yes
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache

# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.

myhostname = shared1.xsonline.be
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = shared1.xsonline.be, localhost.xsonline.be, , localhost
relayhost =
mynetworks = 127.0.0.0/8
mailbox_command =
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = all
smtpd_sasl_local_domain =
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject _unauth_destination
smtpd_tls_auth_only = no
smtp_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
home_mailbox = Maildir/
sender_canonical_maps = hash:/etc/postfix/canonical
virtual_alias_maps = hash:/etc/postfix/virtual

parmaweb
14/08/08, 16:26
Heb je iets meer informatie?

Uitgaande van je config, is die specifieke user een alias, een lokale user of een virtual user?

Heb je je syslogd(/etc/syslog.conf) al eens op debug loglevel gezet? Je zou dan meer error informatie in de logs moeten kunnen terugvinden.

bvankuik
15/08/08, 15:11
Ik kreeg overigens zojuist een security warning binnen voor Postfix, maar dit betreft een exploit voor lokale users.