Jeste jednou postfix

wnt at centrum.cz wnt at centrum.cz
Tue Feb 3 01:33:10 CET 2004


Ahoj vsem, konecne se mi podarilo zkonfigurovat postfix + courier-imap + Mysql. (podle tohoto navodu http://kirb.insanegenius.net/postfix.html). + jsem si tam rpidal SASL overovani pres pam_mysql.so ... no configurak main.cf vypada asi ansledovne (omlouvam se za delku): # SOFT BOUNCE
#soft_bounce = no


# LOCAL PATHNAME INFORMATION
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix


# QUEUE AND PROCESS OWNERSHIP
mail_owner = postfix

# INTERNET HOST AND DOMAIN NAMES
myhostname = phoenix.domena.cz
mydomain = domena.cz

# SENDING MAIL
myorigin = $mydomain


# RECEIVING MAIL
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain,
$mydomain, $transport_maps


# REJECTING MAIL FOR UNKNOWN LOCAL USERS
unknown_local_recipient_reject_code = 450


# ADDRESS EXTENSIONS (e.g., user+foo)
recipient_delimiter = +


# DELIVERY TO MAILBOX
home_mailbox = Maildir/


transport_maps = mysql:/etc/postfix/transport.cf
virtual_mailbox_maps = mysql:/etc/postfix/mysql_virt.cf
virtual_uid_maps = mysql:/etc/postfix/uids.cf
virtual_gid_maps = mysql:/etc/postfix/gids.cf
virtual_mailbox_base = /
virtual_maps = mysql:/etc/postfix/virtual.cf
#mydestination = $myhostname, localhost.$mydomain,
$mydomain, $transport_maps


# SASL
smtpd_delay_reject = yes
smtpd_error_sleep_time = 1s
smtpd_hard_error_limit = 20
smtpd_helo_required = yes
smtpd_recipient_limit = 1000
smtpd_recipient_restrictions = permit_sasl_authenticated , reject_unauth_destination , reject
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes


# SHOW SOFTWARE VERSION OR NOT
smtpd_banner = $myhostname ESMTP $mail_name
atd.. Problem je, ze v pripade, ze se nedko treba ja pokusim odeslat zpravu bez SMTP autetifikace, tak se zprava bez problemu odesle na server a odtam je hned zase me poslana z5 jako Relay danied. ok ucel to plni. V pripade ze se autentizuji na SMTP odesle se bez problemu. Ja bych ovsem chtel nastavit to cele tak, aby se zpravu bez autentifikace na SMTP vubec nepodarilo odeslat. Kdysi jsem to uz mel nakonfigurovane tak, ze bez hesla mi klient hodil chybu s tim ze zpravu nelze doelsat, ze server vyzaduje autentifikaci. Bohuzel uz nevim kde sem to tehdy nasel. Mohl by mi prosim nekdo poradit? dekuji. adb) jak zprovznim na postfixu emailovy kos? .. model je viz podle navodu vyse.. dekuji




More information about the Users-l mailing list