ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Igo <igo@aeroflot-don.ru>
To: community@altlinux.ru
Subject: [Comm] tee & sendmail
Date: Mon, 15 Sep 2003 09:21:50 +0400
Message-ID: <3F654C6E.6020604@aeroflot-don.ru> (raw)

Hi
В Postfix -> Aliases прописано sub:   |/home/scr/get_letter
в этом файле

tee mail.tmp
sed s/sub@linux-test.ru/petrov@yyy.ru/g > mail.to
sendmail -t -i  < mail.to

письма недоходят до адресата, но до сервера они доходят вот лог с 
сервера куда слались
Sep 14 13:56:17 ugtovar postfix/smtpd[15435]: connect from 
linux-test.ru[192.168.89.3]
Sep 14 13:56:17 ugtovar postfix/smtpd[15435]: 515BB43B6: 
client=linux-test.ru[192.168.89.3]
Sep 14 13:56:17 ugtovar postfix/cleanup[15436]: 515BB43B6: 
message-id=<20030910181232.836565AA@linux-test.ru>
Sep 14 13:56:17 ugtovar postfix/qmgr[1644]: 515BB43B6: 
from=<root@linux-test.ru>, size=612, nrcpt=1 (queue active)
Sep 14 13:56:17 ugtovar postfix/smtpd[15435]: disconnect from 
linux-test.ru[192.168.89.3]
Sep 14 13:56:17 ugtovar postfix/local[15438]: 515BB43B6: 
to=<petrov@yyy.ru>, relay=local, delay=0, status=bounced (mail 
forwarding loop for petrov@yyy.ru)
Sep 14 13:56:17 ugtovar postfix/cleanup[15436]: 7F6B845D5: 
message-id=<20030914095617.7F6B845D5@yyy.ru>
Sep 14 13:56:17 ugtovar postfix/qmgr[1644]: 7F6B845D5: from=<>, 
size=2120, nrcpt=1 (queue active)
Sep 14 13:56:17 ugtovar postfix/smtp[15441]: 7F6B845D5: 
to=<root@linux-test.ru>, relay=none, delay=0, status=bounced (Name 
service error for linux-test.ru: Host not found)

но если посылать с linux-test.ru при помощи mail то письмо доходит вот лог
Sep 14 14:00:06 ugtovar postfix/smtpd[15504]: connect from 
linux-test.ru[192.168.89.3]
Sep 14 14:00:06 ugtovar postfix/smtpd[15504]: 1D3AB4075: 
client=linux-test.ru[192.168.89.3]
Sep 14 14:00:06 ugtovar postfix/cleanup[15505]: 1D3AB4075: 
message-id=<20030914100034.BD5505BF@linux-test.ru>
Sep 14 14:00:06 ugtovar postfix/qmgr[1644]: 1D3AB4075: 
from=<root@linux-test.ru>, size=478, nrcpt=1 (queue active)
Sep 14 14:00:06 ugtovar postfix/smtpd[15504]: disconnect from 
linux-test.ru[192.168.89.3]
Sep 14 14:00:06 ugtovar postfix/local[15507]: 1D3AB4075: 
to=<petrov@yyy.ru>, relay=local, delay=0, status=sent 
("|/usr/bin/maildrop-userdb -d $LOGNAME")

что не так делаю?




             reply	other threads:[~2003-09-15  5:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-15  5:21 Igo [this message]
2003-09-16 15:00 ` Igo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3F654C6E.6020604@aeroflot-don.ru \
    --to=igo@aeroflot-don.ru \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git