The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]



Индекс форумов
Составление сообщения

Исходное сообщение
"postfix + sasl2 + pam + mysgl ---- HELP"
Отправлено george10, 05-Дек-07 11:31 
POP3 сервер Courier-imap.
Уже сделал без pam-mysgl и прикрутил clamsmtp.
cat /usr/local/lib/sasl2/smtpd.conf:
pwcheck_method: auxprop
mech_list: CRAM-MD5 DIGEST-MD5 PLAIN LOGIN
auxprop_plugin: sql
sql_usessl: yes
sql_engine: mysql
sql_hostnames: localhost
sql_user: postfix
sql_passwd: postfix
sql_database: postfix
password_format: crypt
sql_select: select password from mailbox where username = '%u@%r'
#log_level: 7

Скажите нужна ли опция: password_format: crypt
если у меня шифрованные пароли в MySQL.

И ещё помогите разобраться с master.cf, здесь сейчас явно что то не так:smtp inet n - n - - smtpd
#smtp inet n - n - - smtpd -o content_filter=myfilter:dummy
#smtp inet n - n - 660 smtpd -o content_filter=scan
#localhost:1025 inet n - n - - smtpd -o content_filter=
#submission inet n - n - - smtpd
# -o smtpd_etrn_restrictions=reject
#smtps inet n - n - - smtpd
# -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
#submission inet n - n - - smtpd
#-o smtpd_etrn_restrictions=reject
# -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes
#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
tlsmgr unix - - n 300 1 tlsmgr
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 - - smtp
relay unix - - 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
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
#
#myfilter unix - n n - - pipe
# flags=R user=clamav argv=/usr/local/etc/postfix/myfilter.sh -f ${sender} -- ${recipient}
#scan unix - n n - 1 pipe
flags=q user=clamav argv=/usr/local/sbin/avcheck -S localhost:1025 -d /tmp -s clamav:127.0.0.1:3310 -f ${sender} -- ${recipient}
scache unix - - n - 1 scache
discard unix - - n - - discard
retry unix - - n - - error

# AV scan filter (used by content_filter)
scan unix - - n
- 16 smtp
-o smtp_send_xforward_command=yes

# For injecting mail back into postfix from the filter
127.0.0.1:10026 inet n - n
- 16 smtpd
-o content_filter=
-o receive_override_options=no_unknown_recipient_checks,no_header_body_checks
-o smtpd_helo_restrictions=
-o smtpd_client_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o mynetworks_style=host

Т.к. у клиента авторизация работает сейчас и POP3 и SMTP.
Почта отправляется от клиента, но в ящик не падает.
И из мира не приходит.
/var/log/maillog:
Dec 5 14:16:06 ns postfix/smtpd[67483]: warning: 88.242.72.45: hostname dsl88.242-18477.ttnet.net.tr verification failed: hostname nor servname provided, or not known
Dec 5 14:19:19 ns postfix/smtp[67591]: 6E3576334: to=<coppernicus1975@yahoo.com>, relay=e.mx.mail.yahoo.com[216.39.53.1]:25, delay=1965, delays=1961/1.4/1.8/0.95, dsn=5.0.0, status=bounced (host e.mx.mail.yahoo.com[216.39.53.1] said: 554 delivery error: dd This user doesn't have a yahoo.com account (coppernicus1975@yahoo.com) [0] - mta111.mail.re4.yahoo.com (in reply to end of DATA command))

 

Ваше сообщение
Имя*:
EMail:
Для отправки новых сообщений в текущей нити на email укажите знак ! перед адресом, например, !user@host.ru (!! - не показывать email).
Более тонкая настройка отправки ответов производится в профиле зарегистрированного участника форума.
Заголовок*:
Сообщение*:
  Введите код, изображенный на картинке: КОД
 
При общении не допускается: неуважительное отношение к собеседнику, хамство, унизительное обращение, ненормативная лексика, переход на личности, агрессивное поведение, обесценивание собеседника, провоцирование флейма голословными и заведомо ложными заявлениями. Не отвечайте на сообщения, явно нарушающие правила - удаляются не только сами нарушения, но и все ответы на них. Лог модерирования.



Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру