Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Witam!
Otóż mam problem z lokalnym działaniem postfixa.
Mianowicie gdy wysyłam maila z konta root do uzytkownika , list dochodzi bez prolemu.
Gorzej w drugą stronę. Maile po prostu nie dochodzą mimo, że mailog wskazuje :
Oct 18 00:23:26 debian postfix/pickup[5484]: 49848BB177: uid=1000 from=<smash>
Oct 18 00:23:26 debian postfix/cleanup[5567]: 49848BB177: message-id=<20071017222326.GA5574@debian.toya.net.pl>
Oct 18 00:23:26 debian postfix/qmgr[5492]: 49848BB177: from=<smash@debian.toya.net.pl>, size=442, nrcpt=1 (queue active)
Oct 18 00:23:26 debian postfix/local[5569]: 49848BB177: to=<root@debian.toya.net.pl>, relay=local, delay=0.04, delays=0.02/0/0/0.02, dsn=2.0.0, status=sent (delivered to command: procmail -a "$EXTENSION")
Oct 18 00:23:26 debian postfix/qmgr[5492]: 49848BB177: remove
d[/quote]
W pliku main.cf za dużo nie zmieniałem.
Usunąłem tylko alias dla root, gdyż poczta dla niego była przechwytywana przez innego użtkownika.
Cytat:
#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/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.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 = debian.toya.net.pl
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = debian.toya.net.pl, localhost.toya.net.pl, , localhost
relayhost = poczta.interia.pl
mynetworks = 127.0.0.0/8
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = all
#moje
#defer_transports = smtp
#sender_canonical_maps = hash:/etc/postfix/sender_canonical [/quote]Offline
stawiam na problem z procmailem
spróbuj usunąć ten wpis
procmail -a "$EXTENSION"
Offline
strzał w 10-tkę
mógłbyś powiedzieć na jakiej zasadzie to wywnioskowałeś ?
Offline
Oct 18 00:23:26 debian postfix/local[5569]: 49848BB177: to=<root@debian.toya.net.pl>, relay=local, delay=0.04, delays=0.02/0/0/0.02, dsn=2.0.0, status=sent (delivered to command: procmail -a "$EXTENSION")
postfix dostarczył wiadomość do procmaila po czym uznał za dostarczoną i wywalił z kolejki
Oct 18 00:23:26 debian postfix/qmgr[5492]: 49848BB177: remove d
Offline
Time (s) | Query |
---|---|
0.00010 | SET CHARSET latin2 |
0.00003 | SET NAMES latin2 |
0.00127 | SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='3.145.44.22' WHERE u.id=1 |
0.00343 | REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '3.145.44.22', 1732412971) |
0.00031 | SELECT * FROM punbb_online WHERE logged<1732412671 |
0.00110 | DELETE FROM punbb_online WHERE ident='3.138.105.4' |
0.00047 | SELECT topic_id FROM punbb_posts WHERE id=73194 |
0.00075 | SELECT id FROM punbb_posts WHERE topic_id=9444 ORDER BY posted |
0.00063 | SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=9444 AND t.moved_to IS NULL |
0.00005 | SELECT search_for, replace_with FROM punbb_censoring |
0.00047 | SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=9444 ORDER BY p.id LIMIT 0,25 |
0.00083 | UPDATE punbb_topics SET num_views=num_views+1 WHERE id=9444 |
Total query time: 0.00944 s |