Re: .promailrc help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Phil wrote:
> In the example below if an email has both support and user1 in CC:
> or To: fileds I will get two emails in the support
> directory....however if there is only one email address in the To:
> or CC: fileds the emails will go to the appropriate directory... any
> help would be great.
>
> Here is my .procmailrc file
> 
> MAILDIR=$HOME/mail
> 
> LOGFILE=/var/log/procmail.log
> #VERBOSE=yes
> 
> :0
> * ^From:.*postmaster@xxxxxxxxxxxxx*
> /dev/null
> 
> :0
> * ^TOsupport@
> $MAILDIR/support
> 
> :0
> * ^TOuser1@
> $MAILDIR/friends

I think you want to either increase the specificity of your pattern
and/or use some other headers to distinguish to which address the mail
is being sent.

- -- 
Todd        OpenPGP -> KeyID: 0xD654075A | URL: www.pobox.com/~tmz/pgp
======================================================================
I figure that if God actually does exist, He's big enough to
understand an honest difference of opinion.
    -- Isaac Asimov

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)
Comment: When crypto is outlawed bayl bhgynjf jvyy unir cevinpl.

iG0EARECAC0FAkSuekomGGh0dHA6Ly93d3cucG9ib3guY29tL350bXovcGdwL3Rt
ei5hc2MACgkQuv+09NZUB1p/7ACfUWoD/a3FVcO0g7Pwlvl2r6hfyRwAoMqS6Hjf
HBzgAoLxa93EOoLdzk4q
=xXtk
-----END PGP SIGNATURE-----


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux