Cyrus + Postfix + MySQL + SASL
Davor Guttierrez
davor at guttierrez.org
Thu Sep 23 17:28:46 CEST 2004
Pozdravljeni
Na enem strežniku uporabljam v zadevi opisano programje za pošto.
Prejemanje pošte deluje brez problema, toda pošiljanje pa ne gre. Za
pošiljanje uporabljam SMTP avtentikacijo. Sporočilo, ki ga dobim je
sledeče:
---
Sep 23 17:14:36 predator postfix/smtpd[2319]: connect from
nekaj.domena.com[193.77.xxx.xxx]
Sep 23 17:14:37 predator postfix/smtpd[2319]: 68F561FE036:
client=nekaj.domena.com[193.77.xxx.xxx], sasl_method=LOGIN,
sasl_username=mojusername
Sep 23 17:14:37 predator postfix/smtpd[2319]: 68F561FE036: reject: RCPT
from nekaj.domena.com[193.77.xxx.xxx]: 554 <nekaj at gmail.com>:
Relay access denied; from=<davor at guttierrez.org> to=<nekaj at gmail.com>
proto=ESMTP helo=<[192.168.0.54]>
---
To se je pa zgodilo kar naenkrat, dodal sem novo domeno, čez noč je delalo
zjutraj pa sem pri testiranjih videl, da ne morem poslati nobenega maila.
Pošiljanje deluje na domene, ki so v main.cf (Postfix) v mydestination.
Pošiljanje deluje preko webmail vmesnika (squirrel) kamor koli.
Vsebina main.cf je sledeča: (domene sem izbrisal)
---
alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/libexec/postfix
debug_peer_level = 5
mail_owner = postfix
mailbox_transport = cyrus
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, mysql:/etc/postfix/mysql-mydestination.cf
myhostname = predator.cadis.si
myorigin = $myhostname
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.0.18/README_FILES
relay_domains = $mydestination
sample_directory = /usr/share/doc/postfix-2.0.18/samples
sender_canonical_maps = mysql:/etc/postfix/mysql-canonical.cf
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP $mail_name
smtpd_helo_required = yes
smtpd_recipient_restrictions =
reject_invalid_hostname, reject_non_fqdn_sender, reject_non_fqdn_recipient,
reject_unknown_sender_domain,
reject_unknown_recipient_domain,
reject_unauth_pipelining, reject_unauth_destination,
permit_mynetworks, reject_rbl_client zombie.dnsbl.sorbs.net,
reject_rbl_client relays.ordb.org, reject_rbl_client
opm.blitzed.org, reject_rbl_client list.dsbl.org,
reject_rbl_client sbl.spamhaus.org, permit
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
unknown_local_recipient_reject_code = 450
virtual_alias_maps = hash:/etc/postfix/virtual,
mysql:/etc/postfix/mysql-virtual.cf
---
Jaz več nimam idej kaj naj gledam. Ima kdo drug kako idejo?
Lep pozdrav,
Davor Guttierrez
More information about the lugos-list
mailing list