On 08-Jun-2001 Scott Ritchie wrote: > Hey all, > I have an external account ([EMAIL PROTECTED]) with 3 aliases > (tom, dick, harry)so that email can be sent to > mailto:[EMAIL PROTECTED],etc > > What I want to happen is when the pop3 syncs to the internal domain > ([EMAIL PROTECTED]) to move the mail to the appropriate staff > member's mailbox (tom, dick, harry). I believe (?) this can be used from > the header TO:[EMAIL PROTECTED] > > so far i've used the following file names: > [EMAIL PROTECTED] > staff@internal_domain > > each containing th line: "/var/MailRoot/filters/staff.pl" @@RCPT > @@FILE > ( wasn't which was appropriate) > > staff.pl conatins: > >#!/usr/bin/perl > $rcpt = $ARGV[0]; > $file = $ARGV[1]; > if ($rcpt = "[EMAIL PROTECTED]" ) { > system ("mv $file > /var/MailRoot/domains/external_domain/tom/Maildir/new/$file") > } You don't need to use filters for this, use POP3LINKS.TAB capabilities instead. Create a domain named "external_domain.com.local" with three accounts : tom dick harry then use this line inside POP3LINKS.TAB : "&.local,external_domain.com"[TAB]""[TAB]"pop3-server-name"[TAB]"pop3-username" [TAB]"pop3-password"[TAB]"CLR" - Davide
