ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Artem Pastukhov <past@yam.ru>
To: community@altlinux.ru
Subject: [Comm] maildrop &maildroprc
Date: Thu, 23 Dec 2004 13:19:02 +0300
Message-ID: <200412231319.02034.past@yam.ru> (raw)

[-- 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 "
       }

             reply	other threads:[~2004-12-23 10:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-23 10:19 Artem Pastukhov [this message]
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

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=200412231319.02034.past@yam.ru \
    --to=past@yam.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