On Tue, 2006-10-31 at 12:41 +0200, Gregory Machin wrote:
Hi
Please could you advise.
I have fetchmail / sendamil running on a server that collects mail
every 15 min, but it seems that the mail address in the cc and bcc are
not being delivered to the user's boxes and going to the catch all
box.
What could be wrong ...
--
Gregory Machin
gregory.machin(a)gmail.com
www.linuxpro.co.za
Create a procmail recipe to deliver the mail to the user mailbox.
If fetchmail is being run by root then put a .fetchmailrc in root's
directory or you can set one up in /etc. If it is a user account you are
running fetchmail create a .fetchmailrc in the users directory. The most
important line is to use
is localuseraccountname here
sample .fetchmailrc
set postmaster "username"
set logfile .mailfetch-log
poll
mail.servername.net with proto POP3 uidl
user 'pop3_username'
pass 'pop3_password'
is localuseraccountname here
keep
## end of .fetchmailrc
You can use a .procmailrc recipe to catch anything to a
certain pop3_accounts name in the header.
:0H:
* .*pop3_username.*
/var/spool/mail/username
--
BC-246T Control & Programming Tool TCL/TK
http://home.comcast.net/~kilowattradio/ftp/
Ham _Scanner SWL Info
http://home.comcast.net/~kilowattradio/
WindowXP <> Linux Easy Dual Boot
http://home.comcast.net/~kilowattradio/linux/wXP_linux_boot.txt