2 messages in net.sourceforge.lists.courier-maildrop[maildropl] Trying to figure out forw...
FromSent OnAttachments
Yanek KorffMay 1, 2002 7:56 am 
Yanek KorffMay 1, 2002 8:43 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[maildropl] Trying to figure out forwardingActions...
From:Yanek Korff (yan@cigital.com)
Date:May 1, 2002 7:56:26 am
List:net.sourceforge.lists.courier-maildrop

OS: FreeBSD 4.5-STABLE

Software: courier-imap-1.3.12 IMAP (and POP3) server that provides access to Maildir mail maildrop-1.3.7 Replacement local mail delivery agent, similar to procmail postfix-1.1.5,1 An alternative to widely-used Sendmail

Mail from postfix is coming to maildrop through Postfix's pipe to maildrop like so: vmail unix - n n - 10 pipe flags=R user=vmail argv=/usr/local/bin/maildrop -d ${recipient}

I've got a mail system which handles virtual mailboxes for a variety of domains. Not EVERYONE with valid addresses in these domains, however, has a mailbox on this system. In some cases, the mail needs to go elsewhere.

So, I figured I need to create a /usr/local/etc/maildroprc and forward mail for these individual users elsewhere. It looks like my maildroprc needs to look something like this: if (hasaddr("user@domain")) { to "user@someotherdomain" }

But that doesn't seem to be working. What am I doing wrong? What's the correct syntax here? -- And is there an easier way? Seems like a lot of lines for really, just an alias.

-Yanek.