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

Re: Q: Working .forward?



On Tue, Nov 28, 2000 at 11:11:11PM +0000, thus spake Mail Delivery System:
> 
> On Tue, Nov 28, 2000 at 06:45:56PM +0100, thus spake Jonathan Gift:
> > Hi,
> > 
> > We crossed msgs back thee. I'm not sold on any forward file. I deleted
> > it as requested and put in procmail your reference. No go. Mail still
> > shows up in /var/spool/user...
> > 
> > > Shove this into a file called .procmailrc in your home directory
> > > 
> > > :0:
> > > * 
> > > /home/user/mail
> 
 Well, it must be either Exim or procmail!   Given that each time I have
 tried to mail you personaly it has bounced back, I suspect exim but.....
 
 Start from scratch - you have exim and procmail both installed?
 
 Is exim listening? Do 
 
 telnet localhost 25 
 
 you should get.......
 
 Trying 127.0.0.1
 Connected to localhost
 Escape character is '^]'
 220 glynthebearded.localdomain ESMTP Exim 3.12 #1 Tue..............
 
 
 Does your exim.conf contain a section like this?
 
 --------------------------------------------------------
 
 # This director runs procmail for users who have a .procmailrc file
 
 procmail:
   driver = localuser
   transport = procmail_pipe
   require_files = ${local_part}:+${home}:+${home}/.procmailrc:+/usr/bin/procmail
   no_verify
     
 
 -------------------------------------------------------------------
 It should, perhaps!
 
 How about procmail.  here is the start of my .procmailrc
 
 
 # This is my Procmail file started 18/02/2000
 # Procmailrc comes in two parts - first you tell it where everything is
 # then the recipes for allocating mail!
 # LOCATION SECTION
 SHELL=/bin/bash
 LINEBUF=4096
 PATH=/bin:/usr/bin:/usr/local/bin
 VERBOSE=off
 DEFAULT=$HOME/Mail/IN.glyn   # you want $HOME/user/mail
 MAILDIR=$HOME/Mail
 LOGFILE=$HOME/mailsystem/procmaillog
 FORMAIL=/usr/bin/formail
 SENDMAIL=/usr/sbin/sendmail       # yes, I know we use exim - but this works
 
 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 # RECIPE SECTION. first some useful tricks, then mailing list stuff.
 
 # Back-p cache of 100 most recent messages in case of mistakes
 :0 c
 backup 
   :0 ic
   | cd backup && rm -f dummy `ls -t msg.*  | sed -e 1,200d`
 
 # Nuke duplicate messages
 :0 Wh:  msgid.lock
 | $FORMAIL -D 8192 msgid.cache
 
 
 # Regenerate "From" lines to make sure they are valid (old problem)
 :0 fhw
 | formail -I "From " -a "From "
 
 
 # ------------  The killing fields --------------
 # spam addresses deposited in "bollocks" file
 :0:
 * ^From:.*webmaster@my.netvigator.com
 IN.bollocks
 
 # Matt Man
 :0:
 * ^FROM.*matman@gmx.li
 IN.bollocks
 
 
 Hope this helps!
 
 Glyn M
 
 
 
-- 
                   ************************************************
                   * None can love freedom heartily but good men; *
                   *    the rest love not freedom but license     *
                   *                John Milton                   *
                   ************************************************



Reply to: