Subject: problem z postfixem
To: None <regional-pl@NetBSD.org>
From: mako <m4k0@interia.pl>
List: regional-pl
Date: 05/16/2004 20:13:51
hej=20
M=F3j problem to netbsd + postfix + sasl2
zrobi=B3em sasla z security/cyrus-sasl2 i cyrus-saslauthd
oraz postfixa z mail/postfix z USE_SASL2=3DYES
m=F3j /usr/pkg/lib/sasl2/smptd.conf wygl=B1da nast=EApuj=B1co
[#>cat /usr/pkg/lib/sasl2/smtpd.conf
pwcheck_method: saslauthd
M=F3j mailer.conf
postfix /usr/pkg/sbin/postfix
send-mail /usr/pkg/sbin/postfix
mailq /usr/pkg/sbin/postfix
newaliases /usr/pkg/sbin/postfix
hoststat /usr/pkg/sbin/postfix
purgestat /usr/pkg/sbin/postfix
By=B3a te=BF opcja, =BFe zamiast postfix wystepowa=B3o sendmail
plik acces to
terespol.net.pl OK
pliczek main.cf to
queue_directory =3D /var/spool/postfix
command_directory =3D /usr/pkg/sbin
daemon_directory =3D /usr/pkg/libexec/postfix
sendmail_path =3D /usr/pkg/sbin/sendmail
newaliases_path =3D /usr/pkg/bin/newaliases
mailq_path =3D /usr/pkg/bin/mailq
manpage_directory =3D /usr/pkg/man
sample_directory =3D /etc/postfix
readme_directory =3D no
mail_owner =3D postfix
setgid_group =3D maildrop
myhostname =3D terespol.net.pl
mydomain =3D terespol.net.pl
myorigin =3D $mydomain
inet_interfaces =3D all
mydestination =3D $mydomain
#unknown_local_recipient_reject_code =3D 550
mynetworks =3D 213.25.136.66, 127.0.0.0/8, 192.168.2.0/24, 192.168.1.0/24
relay_domains =3D 213.25.136.66, 127.0.0.0/8, 192.168.2.0/24, 192.168.1.0/2=
4
alias_maps =3D hash:/etc/mail/aliases
alias_database =3D hash:/etc/mail/aliases
mail_spool_directory =3D /var/mail
smtpd_banner =3D $myhostname ESMTP $mail_name
mail_name =3D Postfix
local_destination_concurrency_limit =3D 2
default_destination_concurrency_limit =3D 10
message_size_limit =3D 5000000
mailbox_size_limit =3D 25600000
smtpd_recipient_limit =3D 10
disable_vrfy_command =3D yes
queue_run_delay =3D 30m
maximal_queue_lifetime =3D 3d
smtpd_error_sleep_time =3D 3
smtpd_soft_error_limit =3D 3
smtpd_hard_error_limit =3D 5
smtpd_sasl_auth_enable =3D yes
broken_sasl_auth_clients =3D yes
smtpd_sasl_security_options =3D noanonymous
smtpd_sasl_local_domain =3D
smtpd_recipient_restrictions =3D
permit_sasl_authenticated,
reject_unauth_destination
smtpd_client_restrictions =3D
permit_sasl_authenticated,
smtpd_sender_restrictions =3D
permit_sasl_authenticated,
check_sender_access hash:/usr/pkg/etc/postfix/a=
ccess
Problem jest w tym, =BFe za ka=BFdym razem jak chc=EA wys=B3a=E6 poczt=EA z=
jakiego kolwiek innego kompa w =B6wiecie to mi nie pozwala od razu jest re=
lay.. nie wiem w czym jest problem=20
niby postfix mi widzi sasl
EHLO terespol.net.pl
250-terespol.net.pl
250-PIPELINING
250-SIZE 5000000
250-ETRN
250-AUTH PLAIN OTP DIGEST-MD5 CRAM-MD5
250-AUTH=3DPLAIN OTP DIGEST-MD5 CRAM-MD5
250-XVERP
250 8BITMIME
tylko przy pr=F3bie wys=B3ania maila sk=B1d indziej ni=BF z servka.. na in=
=B1 domen=EA ni=BF terespol.net.pl ko=F1czy si=EA niepowodzeniem
May 16 20:10:38 titan postfix/smtpd[12459]: 8EBA0415746: reject: RCPT from =
unknown[213.25.136.93]: 554 <m4k0@interia.pl>: Relay access denied; from=3D=
<nikt@terespol.net.pl> to=3D<m4k0@interia.pl> proto=3DESMTP helo=3D<terespo=
l>