The OpenNET Project / Index page

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

форумы  помощь  поиск  регистрация  майллист  вход/выход  слежка  RSS
"Проблема c отправкой одного письма (Sendmail)"
Вариант для распечатки  
Пред. тема | След. тема 
Форумы OpenNET: Виртуальная конференция (Public)
Изначальное сообщение [ Отслеживать ]

"Проблема c отправкой одного письма (Sendmail)"  
Сообщение от Egor347 email on 04-Май-08, 10:53 
Добрый день All
Появилась одна странная проблема при обмене письмами с одним единственным адресатом
Коротко конфигурация почтовой схемы такая Exchange ( ящики ) - FreeBSD (Sendmail)(внешний релей)

Проблема в том что есть один адрес strl@spb.baltika.ru  -  пивоваренный завод, тот самый между прочим :)

Обмен письмами без вложений с данным адресатом не вызывает проблем и происходит в штатном режиме, но как только пользователь из моей сети начинает отсылать письмо с вложением то происходит следующее:

1) пользователю приходит отлуп

    **********************************************
    **      THIS IS A WARNING MESSAGE ONLY      **
    **  YOU DO NOT NEED TO RESEND YOUR MESSAGE  **
    **********************************************

The original message was received at Tue, 29 Apr 2008 16:08:10 +0400 (MSD) from [172.19.1.21]

   ----- Transcript of session follows -----
451 4.4.1 timeout writing message to mailgate2.baltika.ru.: Resource temporarily unavailable
451 4.4.1 timeout writing message to mailgate1.baltika.ru.: Resource temporarily unavailable <strl@spb.baltika.ru>... Deferred
Warning: message still undelivered after 4 hours Will keep trying until message is 5 days old

2) логи sendmail
mailcomstar# bzcat maillog.4.bz2 | grep strl@spb.baltika.ru
Apr 29 15:48:48 mailcomstar milter-greylist: m3TBmhHw019249: skipping greylist because address 172.19.1.21 is whitelisted, (from=<boris.goldshteyn@unicorns.ru>, rcpt=<strl@spb.baltika.ru>, addr=[172.19.1.21][172.19.1.21]) ACL 217
Apr 29 15:48:50 mailcomstar sm-mta[19265]: m3TBmhHw019249: to=<strl@spb.baltika.ru>, delay=00:00:02, xdelay=00:00:01, mailer=esmtp, pri=34525, relay=mailgate2.baltika.ru. [195.239.122.77], dsn=2.0.0, stat=Sent (ok:  Message 50900690 accepted)
Apr 29 16:00:54 mailcomstar milter-greylist: m3TC0nLf021831: skipping greylist because address 172.19.1.21 is whitelisted, (from=<boris.goldshteyn@unicorns.ru>, rcpt=<strl@spb.baltika.ru>, addr=[172.19.1.21][172.19.1.21]) ACL 217
Apr 29 16:00:54 mailcomstar sm-mta[21865]: m3TC0nLf021831: to=<strl@spb.baltika.ru>, delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=33123, relay=mailgate2.baltika.ru. [195.239.122.77], dsn=2.0.0, stat=Sent (ok:  Message 50905284 accepted)
Apr 29 16:08:10 mailcomstar milter-greylist: m3TC856Q024372: skipping greylist because address 172.19.1.21 is whitelisted, (from=<boris.goldshteyn@unicorns.ru>, rcpt=<strl@spb.baltika.ru>, addr=[172.19.1.21][172.19.1.21]) ACL 217
Apr 29 16:26:24 mailcomstar sm-mta[24410]: m3TC856Q024372: to=<strl@spb.baltika.ru>, delay=00:18:14, xdelay=00:18:08, mailer=esmtp, pri=984162, relay=mailgate1.baltika.ru. [195.239.122.76], dsn=4.0.0, stat=Deferred
Apr 29 16:50:14 mailcomstar sm-mta[28103]: m3TC856Q024372: to=<strl@spb.baltika.ru>, delay=00:42:04, xdelay=00:16:26, mailer=esmtp, pri=1074162, relay=mailgate1.baltika.ru. [195.239.122.76], dsn=4.0.0, stat=Deferred


В данном логе , там где статус sent шло письмо без влжений и соотв. там где stat=Deferred c вложением

3) вот то что прислали админы балтики


26 Mar 2008 22:38:57 (GMT +0300) Message 40288355 enqueued on incoming connection (ICID 86894381) from boris.goldshteyn@unicorns.ru.
26 Mar 2008 22:38:57 (GMT +0300) Message 40288355 on incoming connection (ICID 86894381) added recipient (Korolev@spb.baltika.ru) <Korolev@spb.baltika.ru>.
26 Mar 2008 23:03:37 (GMT +0300) Incoming connection (ICID 86894381) lost. 26 Mar 2008 23:03:37 (GMT +0300) Message 40288355 aborted: Receiving aborted

4) мой mc файл

divert(-1)
#
# Copyright (c) 1983 Eric P. Allman
# Copyright (c) 1988, 1993
#       The Regents of the University of California.  All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
#    notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
#    notice, this list of conditions and the following disclaimer in the
#    documentation and/or other materials provided with the distribution.
# 3. All advertising materials mentioning features or use of this software
#    must display the following acknowledgement:
#       This product includes software developed by the University of
#       California, Berkeley and its contributors.
# 4. Neither the name of the University nor the names of its contributors
#    may be used to endorse or promote products derived from this software
#    without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#

#
#  This is a generic configuration file for FreeBSD 5.X and later systems.
#  If you want to customize it, copy it to a name appropriate for your
#  environment and do the modifications there.
#
#  The best documentation for this .mc file is:
#  /usr/share/sendmail/cf/README or
#  /usr/src/contrib/sendmail/cf/README
#

divert(0)
VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.30.2.2 2006/08/23 03:31:00 gshapiro Exp $')
OSTYPE(freebsd6)
DOMAIN(generic)

FEATURE(access_db, `hash -o -T<TMPF> /etc/mail/access')
FEATURE(blacklist_recipients)
FEATURE(local_lmtp)
FEATURE(mailertable, `hash -o /etc/mail/mailertable')
FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')
FEATURE(badmx)
#
VIRTUSER_DOMAIN_FILE(`/etc/mail/virtuserdomain')
FEATURE(domaintable, `hash -o /etc/mail/domaintable')
FEATURE(genericstable, `hash -o /etc/mail/genericstable')
FEATURE(masquerade_envelope)
#
dnl Uncomment to allow relaying based on your MX records.
dnl NOTE: This can allow sites to use your server as a backup MX without
dnl       your permission.
dnl FEATURE(relay_based_on_MX)

dnl DNS based black hole lists
dnl --------------------------------
dnl DNS based black hole lists come and go on a regular basis
dnl so this file will not serve as a database of the available servers.
dnl For that, visit
dnl http://directory.google.com/Top/Computers/Internet/Abuse/Spa.../

dnl Uncomment to activate Realtime Blackhole List
dnl information available at http://www.mail-abuse.com/
dnl NOTE: This is a subscription service as of July 31, 2001
dnl FEATURE(dnsbl)
dnl Alternatively, you can provide your own server and rejection message:
dnl FEATURE(dnsbl, `blackholes.mail-abuse.org', `"550 Mail from " $&{client_addr} " rejected, see http://mail-abuse.org/cgi-bin/look
up?" $&{client_addr}')
#
FEATURE(`dnsbl', `sbl-xbl.spamhaus.org', `"Spam blocked see: http://spamhaus.org/query/bl?ip="$&{client_addr}')dnl
FEATURE(`dnsbl', `dul.ru', `"554 Rejected " $&{client_addr} " found in www.dul.ru"')dnl
FEATURE(`dnsbl', `cbl.abuseat.org', `"Spam blocked see: http://cbl.abuseat.org/lookup.cgi?ip="$&{client_addr}')dnl
FEATURE(`dnsbl', `bl.spamcop.net', `"Spam blocked, see: http://spamcop.net/w3m?action=checkblock&ip="$&{client_addr}')dnl
FEATURE(`dnsbl', `list.dsbl.org', `"Spam blocked, see: http://dsbl.org/listing?"$&{client_addr}')dnl
FEATURE(`dnsbl', `dnsbl.ahbl.org', `"Spam blocked, see: http://www.ahbl.org/lookup?ip="$&{client_addr}')dnl

INPUT_MAIL_FILTER(`greylist', `S=local:/var/milter-greylist/milter-greylist.sock,F=, T=S:1m;R:1m')dnl
define(`confMILTER_MACROS_CONNECT', `j, {if_addr}')dnl
define(`confMILTER_MACROS_HELO', `{verify}, {cert_subject}')dnl
define(`confMILTER_MACROS_ENVFROM', `i, {auth_authen}')dnl
define(`confMILTER_MACROS_ENVRCPT', `{greylist}')dnl
define(`confINPUT_MAIL_FILTERS', `greylist')dnl

FEATURE(`delay_checks')
FEATURE(`greet_pause', `5000')
FEATURE(`ratecontrol', `nodelay', `terminate')
#
dnl Dialup users should uncomment and define this appropriately
dnl define(`SMART_HOST', `your.isp.mail.server')

dnl Uncomment the first line to change the location of the default
dnl /etc/mail/local-host-names and comment out the second line.
dnl define(`confCW_FILE', `-o /etc/mail/sendmail.cw')
define(`confCW_FILE', `-o /etc/mail/local-host-names')

dnl Enable for both IPv4 and IPv6 (optional)
DAEMON_OPTIONS(`Name=IPv4, Family=inet')
dnl DAEMON_OPTIONS(`Name=IPv6, Family=inet6, Modifiers=O')

define(`confCONNECTION_RATE_THROTTLE', `10')
define(`confMAX_RCPTS_PER_MESSAGE', `50')
dnl define(`confMAX_MESSAGE_SIZE', `10485760')

define(`confTO_CONNECT', `30s')
define(`confTO_IDENT', `0')
define(`confTO_COMMAND', `30s')
define(`confTO_DATABLOCK', `2m')

define(`confBIND_OPTS', `WorkAroundBrokenAAAA')
define(`confNO_RCPT_ACTION', `add-to-undisclosed')
define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy')
MAILER(local)
MAILER(smtp)


Вопрос ...почему это происходит? у кого косяк?
Да еще, у ребят в Балтике стоит Лотус , не знаю как это может повлиять имхо никак..
Со всеми остальными доменами обмен почтой происходит абсолютно нормально как с вложениями так и без.
Мой сервер принимает от них письма так же и с вложениями и без них

Высказать мнение | Ответить | Правка | Cообщить модератору

 Оглавление

Сообщения по теме [Сортировка по времени | RSS]


1. "Проблема c отправкой одного письма (Sendmail)"  
Сообщение от mario email(??) on 04-Май-08, 14:40 
1.это проблема принимающей стороны.
2. у них проблемы с dns
что mta у балтики ?
Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору

Архив | Удалить

Индекс форумов | Темы | Пред. тема | След. тема
Оцените тред (1=ужас, 5=супер)? [ 1 | 2 | 3 | 4 | 5 ] [Рекомендовать для помещения в FAQ]




Спонсоры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

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