LINUX.ORG.RU
ФорумAdmin

Sendmail... блин :(


0

0

Feb 7 13:42:10 control sm-mta[3572]: l17DgAiI003572: from=<q2@tmknn.ru>, size=476, class=0, nrcpts=1, msgid=<1059945328.20070207134226@tmknn.ru>, proto=ESMTP, daemon=IPv4, relay=[169.255.2.150]
Feb 7 13:42:10 control sm-mta[3574]: l17DgAiI003572: SYSERR(root): MX list for tmknn.ru. points back to mail.tmknn.ru
Feb 7 13:42:10 control sm-mta[3574]: l17DgAiI003572: to=<q2@tmknn.ru>, delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=30476, relay=tmknn.ru., dsn=5.3.5, stat=Local configuration error
Feb 7 13:42:10 control sm-mta[3574]: l17DgAiI003572: forward /home/q2/.forward.mail+: World writable directory
Feb 7 13:42:10 control sm-mta[3574]: l17DgAiI003572: forward /home/q2/.forward+: World writable directory
Feb 7 13:42:10 control sm-mta[3574]: l17DgAiI003572: forward /home/q2/.forward.mail: World writable directory
Feb 7 13:42:10 control sm-mta[3574]: l17DgAiI003572: forward /home/q2/.forward: World writable directory
Feb 7 13:42:10 control sm-mta[3574]: l17DgAiI003572: l17DgAiI003574: DSN: Local configuration error
Feb 7 13:42:10 control sm-mta[3574]: l17DgAiI003574: to=q2, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=61500, dsn=2.0.0, stat=Sent
Feb 7 13:42:10 control sm-mta[3574]: l17DgAiI003574: to=<q2@tmknn.ru>, delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=61500, relay=tmknn.ru., dsn=5.3.5, stat=Local configuration error
Feb 7 13:42:10 control sm-mta[3574]: l17DgAiI003574: forward /home/q2/.forward.mail+: World writable directory
Feb 7 13:42:10 control sm-mta[3574]: l17DgAiI003574: forward /home/q2/.forward+: World writable directory
Feb 7 13:42:10 control sm-mta[3574]: l17DgAiI003574: forward /home/q2/.forward.mail: World writable directory
Feb 7 13:42:10 control sm-mta[3574]: l17DgAiI003574: forward /home/q2/.forward: World writable directory
Feb 7 13:42:10 control sm-mta[3574]: l17DgAiI003574: forward /home/q2/.forward.mail+: World writable directory
Feb 7 13:42:10 control sm-mta[3574]: l17DgAiI003574: forward /home/q2/.forward+: World writable directory
Feb 7 13:42:10 control sm-mta[3574]: l17DgAiI003574: forward /home/q2/.forward.mail: World writable directory
Feb 7 13:42:10 control sm-mta[3574]: l17DgAiI003574: forward /home/q2/.forward: World writable directory
Feb 7 13:42:10 control sm-mta[3574]: l17DgAiI003574: l17DgAiJ003574: return to sender: Local configuration error
Feb 7 13:42:10 control sm-mta[3574]: l17DgAiJ003574: to=q2, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=32524, dsn=2.0.0, stat=Sent

=======
письма могут отправляються на сторонние домены, на наш домен tmknn.ru нет (лог выше)... и откудато беруться форварды....

Re: Sendmail... блин :(

Содержимое /etc/mail/virtualtable /etc/mail/sendmail.mc (или sendmail.cf без комментариев) покажи...

Harliff ★★★★★ ()

Re: Sendmail... блин :(

Да, забыл: высылается лог от постмастера:

From MAILER-DAEMON Wed Feb 7 13:19:44 2007
Return-Path: <MAILER-DAEMON>
Received: from localhost (localhost)
by mail.tmknn.ru (8.13.6/8.13.6) id l17DJiU6002907;
Wed, 7 Feb 2007 13:19:44 GMT
(envelope-from MAILER-DAEMON)
Date: Wed, 7 Feb 2007 13:19:44 GMT
From: Mail Delivery Subsystem <MAILER-DAEMON>
Message-Id: <200702071319.l17DJiU6002907@mail.tmknn.ru>
To: <q2@tmknn.ru>
To: postmaster
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
boundary="l17DJiU6002907.1170854384/mail.tmknn.ru"
Subject: Returned mail: see transcript for details
Auto-Submitted: auto-generated (failure)

The original message was received at Wed, 7 Feb 2007 13:19:44 GMT
from [169.255.2.150]

----- The following addresses had permanent fatal errors -----
<q2@tmknn.ru>

----- Transcript of session follows -----
554 5.0.0 MX list for tmknn.ru. points back to mail.tmknn.ru
554 5.3.5 Local configuration error
======
+ DNS
======
$ORIGIN tmknn.ru.
$TTL 86400
@ SOA mail.tmknn.ru. postmaster.tmknn.ru. (
20070201; serial
10800 ; refresh
3600 ; retry
3600000 ; expire
86400 ) ; minimum

@ IN NS mail.tmknn.ru.

MX 10 mail.tmknn.ru.
MX 15 mail.kis.ru.
MX 20 post.kis.ru.

localhost IN A 127.0.0.1
mail IN A 89.189.0.150

dev-ice ()
Ответ на: Re: Sendmail... блин :( от Harliff

Re: Sendmail... блин :(

в local-host-names ничего
virtualtable нет, только virtualtable.sample

sendmail.mc (control.cf):
====
VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.30.6.1 2006/04/13 04:00:23 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(local_procmail, `/usr/local/bin/procmail')

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/Spam/Blacklists/

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/lookup?"; $&{client_addr}')

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')

define(`confAUTH_OPTIONS', `p')
define(`confAUTH_MECHANISMS', `DIGEST-MD5 CRAM-MD5 PLAIN LOGIN')
TRUST_AUTH_MECH(`DIGEST-MD5 CRAM-MD5 PLAIN LOGIN')

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

dev-ice ()

Re: Sendmail... блин :(

>> и откудато беруться форварды....

У Вас в домашней директории лежат .forward

anonymous ()
Ответ на: Re: Sendmail... блин :( от anonymous

Re: Sendmail... блин :(

нет тама форвардов...
и хотелось бы узнать спомощью какой утилы (наподобие make-localhost) делаются конфиги для доставки от лок. пользвователей к лок. пользователям

dev-ice ()
Ответ на: Re: Sendmail... блин :( от hatefu1_dead

Re: Sendmail... блин :(

потом make? что-нить создасться в директории mail должно?

dev-ice ()

Re: Sendmail... блин :(

А - "MASQUERADE_AS(`tmknn.ru')dnl" в свой sendmail.cf добавить? Или в sendmail.cf - "DMtmknn.ru".

Не пробовал? Ну и mailertable соответственно заполнить..

MiracleMan ★★★★★ ()
Ответ на: Re: Sendmail... блин :( от MiracleMan

Re: Sendmail... блин :(

>А - "MASQUERADE_AS(`tmknn.ru')dnl" в свой sendmail.cf добавить?

s/sendmail.cf/sendmail.mc

MiracleMan ★★★★★ ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.