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

Re: Having trouble with fetchmail...



Jonathan Lupa <jjlupa@jamdata.net> writes:

> Greetings,
> 
> In the tradition of a long line of questions that are inherently obvious to
> someone with the most basic of skills, I figured I'd send my message
> directly to the experts, thus forgoing my first rule of thumb (never post
> until you read all the doc). Unfortunately, I have found that with *NIX
> mail, the doc is rather extensive and sooner or later I have to sleep. =)
> 
> OK, simple enough network configuration, I have a slakware linux (2.0.36)
> box doing masquerading for a small network of computers all on the same
> local subdomain (192.168.2.*). None of the computers matter but my
> Debian/Linux box (Slink from CD), where I would like to receive my mail. I
> do internal DNS to use the domain name of JJLNet. (I'm not sure how relavant
> it is, but my outside address is jjlupa@jamdata.net)
> 
> The facts
> =======
> 1. I have exim running as my MTA. (through inetd)
> 2. I want local delivery to all clients on my linux machines. (That is, I
> don't use aliasing for root, so I want to be able to deliver to
> root@XXXX.JJLNet, or my "regular login" jjlupa@XXXX.JJLNet. (This is
> currently working correctly!)
> 3. I want to be able to pull down mail from my ISP into the spool for jjlupa
> (which, again, is my normal user login on my debian box).
> 4. Just to make sure it wasn't a group permission problem, I added jjlupa to
> the "mail" group.
> 
> I will attach my relavant files at the end of this, but here is the behavior
> I am seeing.
> -- When I run fetchmail (as jjlupa) it just sort of hangs there.  I didn't
> see any messages to the terminal, to /var/log/messages or to
> /var/log/syslog.
> -- When I run `fetchmail -c` it correctly tells me how many messages are
> available for me to download.
> -- All internal mail (between users on my debian box or between different
> boxes on my local net) works just fine.
> 
> Any help would be greatly appreciated. To get mail I have to boot to windows
> *blech* and run outlook express *double blech*.  I have a feeling I'm just
> doing something silly in one of the config files down below.
> 
> -Jonathan Lupa
> jjlupa@jamdata.net
> 
> /ETC/EXIM.CONF
> ===========================================
> local_domains = jamdata.net:JJLNet
> local_domains_include_host = true
> local_domains_include_host_literals = true
> sender_host_reject_relay = *
> trusted_users = mail
> smtp_verify = true
> gecos_pattern = ^([^,:]*)
> gecos_name = $1
> received_header_text = "Received: \
>           ${if def:sender_fullhost {from ${sender_fullhost} \
>           ${if def:sender_ident {(${sender_ident})}}\n\t}\
>           {${if def:sender_ident {from ${sender_ident} }}}}\
>           by ${primary_hostname} \
>           ${if def:received_protocol {with ${received_protocol}}} \
>           (Exim ${version_number} #${compile_number} (Debian))\n\t\
>           id ${message_id}"
> end
> local_delivery:
>   driver = appendfile
>   group = mail
>   mode = 0660
>   mode_fail_narrower = false
>   file = /var/spool/mail/${local_part}
> address_pipe:
>   driver = pipe
>   return_output
> address_file:
>   driver = appendfile
> address_directory:
>   driver = appendfile
>   no_from_hack
>   prefix = ""
>   suffix = ""
> address_reply:
>   driver = autoreply
> remote_smtp:
>   driver = smtp
> end
> 
> real_local:
>   prefix = real-
>   driver = localuser
>   transport = local_delivery
> system_aliases:
>   driver = aliasfile
>   file = /etc/aliases
>   search_type = lsearch
> userforward:
>   driver = forwardfile
>   no_verify
>   check_ancestor
>   file = .forward
>   modemask = 002
>   filter
> localuser:
>   driver = localuser
>   transport = local_delivery
> end
> 
> smarthost:
>   driver = domainlist
>   transport = remote_smtp
>   route_list = "* mail.jamdata.net bydns_a"
> end
> 
> #                      RETRY CONFIGURATION                           #
> # Domain               Error       Retries
> # ------               -----       -------
> *                      *           F,2h,15m; G,16h,2h,1.5; F,4d,8h
> end
> ===========================================
> 
> ~JJLUPA/.FETCHMAILRC
> ===========================================
> set postmaster "jjlupa"
> set daemon 500
> poll mail.jamdata.net with proto POP3
>        user "jjlupa" there with password "Efil!Sucks" is jjlupa here options
> fetchall
> ===========================================

-- 
Arcady Genkin
"I opened up my wallet, and it's full of blood..." - GsYDE


Reply to: