On Mon, Sep 20, 1999 at 06:56:59AM -0300, Felipe Almeida wrote:
> Somebody here in the list told me that needs to see my maillog first to
> know what is the problem with my fetchmail. Well, below is a part of it.
> Is has the last log from yesterday and the first log from today.
> Is it possible to know the problem? What am I doing wrong? I just can't
> figure it out what's the problem.
Ok, read the following :
> Sep 19 19:19:53 pitbull postfix[342]: fatal: My hostname pitbull is not a FQDN. Set
>myhostname in /etc/postfix/main.cf
Your MTA postfix refuse to start because your hostname is not resolved
correctly. If it's not a valid hostname (i mean resolved by dns). You
can add a line in /etc/hosts with your ip address and your hostname.
If you are in trouble with mailer configuration, i suggest you to
deliver your mail locally with procmail. Here is what my ~/.fetchmailrc
looks :
------ cut here ---------
set daemon 60
poll pop
protocol POP3
username your_user_name_on_pop_server
password your_password_on_pop_server
mda "/usr/bin/procmail -d %s"
------ end cut ---------
With the following ~/.procmailrc, all your mail will be delivered to
~/Mail/inbox :
------ cut here ---------
:0:
* ^From.*
{
:0
Mail/inbox
}
------ end cut ---------
--
Sylvain GIL - <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>