ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] tee & sendmail
@ 2003-09-15  5:21 Igo
  2003-09-16 15:00 ` Igo
  0 siblings, 1 reply; 2+ messages in thread
From: Igo @ 2003-09-15  5:21 UTC (permalink / raw)
  To: community

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

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




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Comm] tee & sendmail
  2003-09-15  5:21 [Comm] tee & sendmail Igo
@ 2003-09-16 15:00 ` Igo
  0 siblings, 0 replies; 2+ messages in thread
From: Igo @ 2003-09-16 15:00 UTC (permalink / raw)
  To: community

Igo пишет:

> 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")
>
> что не так делаю?
>
>
> _______________________________________________
> Community mailing list
> Community@altlinux.ru
> http://www.altlinux.ru/mailman/listinfo/community
>
Hi
я задал слишком глупый вопрос или просто что то с рассылкой



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-09-16 15:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-15  5:21 [Comm] tee & sendmail Igo
2003-09-16 15:00 ` Igo

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