ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] maildrop &maildroprc
@ 2004-12-23 10:19 Artem Pastukhov
  2004-12-23 12:45 ` Artem Pastukhov
  2004-12-23 13:19 ` Dmitry Lebkov
  0 siblings, 2 replies; 6+ messages in thread
From: Artem Pastukhov @ 2004-12-23 10:19 UTC (permalink / raw)
  To: community

[-- Attachment #1: Type: text/plain, Size: 275 bytes --]

Добрый день.

Это опять я и опять про maildrop
как-то он странно работает. 
Имеем maildroprc(в аттаче)
секция с xfilter отрабатывает, а остальное нет, ничего н понимаю.
Кто-нибудь мне растолкует в чем дело?
-- 
С уважением 
Артем Пастухов, past (at) yam.ru
YAM International

[-- Attachment #2: maildroprc --]
[-- Type: text/plain, Size: 1248 bytes --]

#
## MAILDROPRC
#

# test for vacation file, if it exists, send autoresponse
#
`test -f vacation.txt`
if ($RETURNCODE==0)
{


   # test for vacation message subject, use it if found
   #
   `test -f vacation_subject.txt`
   if ($RETURNCODE==0)
   {

      SUBJECT=`cat vacation_subject.txt`
      cc "| mailbot -t vacation.txt -A 'From: $LOGNAME' -A 'Subject: $SUBJECT' /usr/sbin/sendmail -f ''"


   # otherwise, regular "Re:" syntax for subject is automatic
   #
   }
   else
   {

      cc "| mailbot -t vacation.txt -A 'From: $LOGNAME' /usr/sbin/sendmail -f ''"

   }


   # test for any cc addresses, forward to those addresses if present
   #
   `test -f vacation_cc_addresses.txt`
   if ($RETURNCODE==0)
   {

      # grab cc addresses
      #
      CCADDRESSES=`cat vacation_cc_addresses.txt`


      # do we need to keep a copy of messages in this account or not?
      #
      `test -f vacation_keep_messages.txt`
      if ($RETURNCODE==0)
      {
         cc "! -f \"$FROM\" $CCADDRESSES"
      }
      else
      {
         to "! -f \"$FROM\" $CCADDRESSES"
      }

   }

}

  exception {
   xfilter "/usr/bin/spamoracle -f /var/spool/spamoracle/spamoracle.db mark "
       }

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

end of thread, other threads:[~2004-12-23 14:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-23 10:19 [Comm] maildrop &maildroprc Artem Pastukhov
2004-12-23 12:45 ` Artem Pastukhov
2004-12-23 13:19 ` Dmitry Lebkov
2004-12-23 13:42   ` Artem Pastukhov
2004-12-23 14:42     ` Dmitry Lebkov
2004-12-23 14:47       ` Artem Pastukhov

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