Re: fetchmail and not delivering cc + bcc mail



--- Keith <ac7xcLnx@xxxxxxxxxxx> wrote:

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@xxxxxxxxx
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


In this context, I was wondering if anyone could help me with a several
years-long issue. I have fetchmail and procmail set up just fine, and they are
working, but here is the problem.

When I get my mail and procmail it, I make a logfile. However, the log-file
does not have the sender's name in it but rather my name (because I fetched it
from my pop server). This is not much use to me, and would really help if I
could find a way to get procmail to provide me with the sender's name.

Many thanks,
Trotter




__________________________________________________________________________________________
Check out the New Yahoo! Mail - Fire up a more powerful email and get things done faster.
(http://advision.webevents.yahoo.com/mailbeta)

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • Re: [procmail] [sed] [awk] cleaning up mail headers
    ... > I am trying to write a command line for procmail that takes the From: ... > header field from an email and cleans it up into just the email address. ... (I'm assuming here that you call fetchmail which then calls ... alias fetchmail like so: ...
    (comp.unix.admin)
  • Re: Fetchmail revisited
    ... > deposited into one email account which I access via pop [my isp calls ... The change is done by both by your provider and fetchmail. ... Use `procmail` to filter the mail. ... forward 'root' to your main account. ...
    (alt.os.linux.suse)
  • Re: [opensuse] Procmail: Filter & Resend
    ... You may better use fetchmail. ... What's missing is the catch-all case (multi drop mailboxes). ... Procmail is a mail delivery agent. ... The problem is that there are a number of Received fields. ...
    (SuSE)
  • Re: block emails with Fetchmail...
    ... So do I replace fetchmail with procmail or is procmail in addition to? ... Once your MTA decides to deliver a message locally, it hands the mail over to a local mailer. ... Once fetchmail fetches your email, it'll send the mail to the host it is running on on port 25. ... be delivered locally via your systemâs MDA (Mail Delivery Agent, usually sendmail(8) but your system may ...
    (Fedora)
  • fetchmail chopping off messages > 77 kB
    ... I'm currently using fetchmail to retrieve my email from my ISP. ... I've tried cutting procmail + SpamAssassin out of the process, ...
    (freebsd-questions)