Mam problem z uruchomieniem posfixa+SASL, przeczytałem chyba juz wszystko HOW-TO i FAQ i dalej nic bez autoryzacji działał postix OK, jak uruchomiłem autoryzację, to sieci lokalnej wysyła bez problemu, przyjmuje też pocztę, niestety przy wysyłaniu jest błąd. Pewnie coś mam nie ustawione, albo cos nie działa :)
Aug 11 13:17:10 wyszkow postfix/qmgr[29538]: 0011F774FD: to=<pawel.kuc...@gazeta.pl>, relay=none, delay=2144, status=deferred (delivery temporarily suspended: transport is unavailable) Aug 11 13:18:10 wyszkow postfix/qmgr[29538]: warning: connect to transport smtp: Connection refused
a i jeszcze cos takiego ug 11 13:03:08 wyszkow postfix/smtpd[23187]: >>> CHECKING RECIPIENT MAPS <<< Aug 11 13:03:08 wyszkow postfix/smtpd[23187]: ctable_locate: leave existing entry key pawel.kuc...@gazeta.pl Aug 11 13:03:08 wyszkow postfix/smtpd[23187]: maps_find: recipient_canonical_maps: pawel.kuc...@gazeta.pl: not found Aug 11 13:03:08 wyszkow postfix/smtpd[23187]: match_string: gazeta.pl ~? poczta.gnu.com.pl Aug 11 13:03:08 wyszkow postfix/smtpd[23187]: match_string: gazeta.pl ~? localhost.gnu.com.pl Aug 11 13:03:08 wyszkow postfix/smtpd[23187]: match_string: gazeta.pl ~? localhost Aug 11 13:03:08 wyszkow postfix/smtpd[23187]: match_string: gazeta.pl ~? gnu.com.pl Aug 11 13:03:08 wyszkow postfix/smtpd[23187]: match_list_match: gazeta.pl: no match Aug 11 13:03:08 wyszkow postfix/smtpd[23187]: maps_find: recipient_canonical_maps: @gazeta.pl: not found Aug 11 13:03:08 wyszkow postfix/smtpd[23187]: mail_addr_find: pawel.kuc...@gazeta.pl -> (not found) Aug 11 13:03:08 wyszkow postfix/smtpd[23187]: maps_find: canonical_maps: pawel.kuc...@gazeta.pl: not found
# ========================================================================== # service type private unpriv chroot wakeup maxproc command + args # (yes) (yes) (yes) (never) (100) # ========================================================================== smtp inet n n n - - smtpd -v #-o smtpd_sasl_auth_enable=yes #submission inet n - n - - smtpd # -o smtpd_etrn_restrictions=reject #628 inet n - n - - qmqpd pickup fifo n - n 60 1 pickup cleanup unix n - n - 0 cleanup qmgr fifo n - n 300 1 qmgr #qmgr fifo n - n 300 1 oqmgr rewrite unix - - n - - trivial-rewrite bounce unix - - n - 0 bounce defer unix - - n - 0 bounce trace unix - - n - 0 bounce verify unix - - n - 1 verify flush unix n - n 1000? 0 flush proxymap unix - - n - - proxymap smtp unix n n n - - smtp relay unix n n n - - smtp # -o smtp_helo_timeout=5 -o smtp_connect_timeout=5 showq unix n - n - - showq error unix - - n - - error local unix - n n - - local virtual unix - n n - - virtual lmtp unix - - n - - lmtp anvil unix - - n - 1 anvil scache unix - - n - 1 scache # # Interfaces to non-Postfix software. Be sure to examine the manual # pages of the non-Postfix software to find out what options it wants. # # See the pipe(8) man page for information about ${recipient} and # other message envelope options. # # maildrop. See the Postfix MAILDROP_README file for details. # maildrop unix - n n - - pipe flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient} # # The Cyrus deliver program has changed incompatibly, multiple times. # old-cyrus unix - n n - - pipe flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user} # Cyrus 2.1.5 (Amos Gouaux) # Also specify in main.cf: cyrus_destination_recipient_limit=1 cyrus unix - n n - - pipe user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user} uucp unix - n n - - pipe flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient) ifmail unix - n n - - pipe flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient) bsmtp unix - n n - - pipe flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
In article <0c9d.000010ed.411a0...@newsgate.onet.pl>, pawel.kuc...@gazeta.pl wrote: >> In article <0c9d.000010cb.411a0...@newsgate.onet.pl>, pawel.kuc...@gazeta.pl > wrote: >> > smtpd_reception_restrictions=permit_sasl_authenticated
>> a to co ma być? >> wcześniej pewnie było puste, ale puste != default ;) >> brakuje reject_unauth_destination (wymagany wpis >> w tej acl-ce)
> Było ustawione ale tez nie działało i nie działa dalej
z twojego logu wynika że postfix ma problem z połączeniem do usługi smtp, czy aby napewno tam masz wszystko prawidłowo zainstalowane? bo niby w master.cf masz wpis smtp unix ale tak jakby podniesienie jej sprawiało jakiś problem. spróbuj pośledzić przez strace proces master postfixa, on odpala kolejne usługi i może coś ci podpowie log z niego. Brak jakiegoś pliku albo coś, może jakieś ścieżki źle ustawione?
Ja się spytam szerzej, co to w ogóle ma być smtpd_reception_restrictions?? Jaka recepcja? To ma być AFAIR smtpd_recipient_restrictions! -- Szymon Sokół (SS316-RIPE) -- Network Manager B Computer Center, AGH - University of Science and Technology, Cracow, Poland O http://home.agh.edu.pl/szymon/ PGP key id: RSA: 0x2ABE016B, DSS: 0xF9289982 F Free speech includes the right not to listen, if not interested. -- Heinlein H