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

Re: SUCCESS!!!!!! got the mail combo working!!!!!



On Fri, Nov 30, 2001 at 12:38:57PM -0400, cmasters wrote:
| Greetings all,
| 
| Firstly ... *executing full ceremonial k'ou t'ou* ....
| 
| Thank you ~incredibly~ to all that helped. Special thanks to Kurt, Carel,
| dman, Greg, Alan, and Paolo. Your combined responses of "compare your xxx to
| mine", "stick with it, it'll come", and especially "I was once there too
| ..." helped me to overcome the frustration and look at my problem from a
| systematic, follow-the-timeline-and-transmission route.

Glad you got it working now.

| What was it? ... well as some suggested, exim was in fact impeding the
| seamless flow of events. Waaaaaaay down deep in the bottom of the
| config file, in the section that gives delivery instructions via procmail, the
| 'transport' variable had been set to 'local_delivery'. When I changed this
| to 'procmail_pipe' .... voila, all worked ~exactly~ as desired!!!!!
 
Hmm, interesting.  Do you have gads of stuff in
/var/spool/mail/<localuser> ?  That would also explain why stuff that
wasn't directed at your username were lost -- there was no local name
"debian-user@..." to deliver to (in /var/spool/mail).

| Apparently when using exim as an MTA, the 'mda procmail' variable in
| 'fetchmail'needs to have '-d <recepient>' flagged, whether is is
| respected or not.  Changing the transport instructions in exim seems
| to have the effect of saying "I said to use procmail, now don't ask
| me again!".

Well, sorta,  fetchmail uses the local MTA (via SMTP by default).
Then it is up to that MTA (exim) to deal with it (use procmail for
final delivery).


As I said last night, I would check what fetchmail does for me :

$ fetchmail -v -v
<some stuff snipped>
fetchmail: POP3> RETR 4
fetchmail: POP3< +OK 91442 octets
reading message <my external addr>:4 of 4 (91442 octets)
About to rewrite Return-Path: <MAILER-DAEMON@<somehost>>
Rewritten version is Return-Path: <MAILER-DAEMON@<somehost>>

About to rewrite From: Mail Delivery System <Mailer-Daemon@<localhost>>
Rewritten version is From: Mail Delivery System <Mailer-Daemon@<localhost>>

About to rewrite To: <my external addr>
Rewritten version is To: <my external addr>

fetchmail: about to deliver with: /usr/sbin/exim dman
#***********************.<lots of these>.**********.*  flushed
fetchmail: POP3> DELE 4
fetchmail: POP3< +OK Message 4 has been deleted.
fetchmail: POP3> QUIT
fetchmail: POP3< +OK Pop server at redoaksw.com signing off.
fetchmail: 5.9.3 querying redoaksw.com (protocol POP3) at Fri 30 Nov 2001 03:39:58 PM EST: poll completed


'dman' is my local username, and I have  mda="/usr/sbin/exim %T"  in
my .fetchmailrc, which is why it says
"about to deliver with: /usr/sbin/exim dman".  I have no idea what the
"About to rewrite" stuff is for.


Just some more data for you ...

-D

-- 

Trust in the Lord with all your heart and lean not on your own
understanding; in all your ways acknowledge Him, and He will make your
paths straight.

        Proverbs 3:5-6



Reply to: