Hello! I have installed exim4 with dc_use_split_config=''true''. I will to configure exim4 to forward mails to procmail. (I have already the ~/.procmailrc). My Debian GNU/Linux system is a standalone workstation and I''m the only user on it. In the /etc/exim4/conf.d/router/ directory I have the 700_exim4-config_procmail file. Must I move it so that its name should be say 50_exim4-config_procmail instead of 700_..? I want do this because I want that that in the config.autogenerated file in place off the "LOCAL_DELIVERY=mail_spool" stand "LOCAL_DELIVERY=procmail_pipe"? -- Regards, Paul Debian Junior Project, DebianEdu, Moodle -> :-) :-) :-) :-) :-) :-) :-) http://www.ektf.hu/~Csanyi.Pal (Up to now, it is in Hungarian only.)
On 2005-08-01 Csanyi Pal <csanyipal@sks.co.yu> wrote:> I have installed exim4 with dc_use_split_config=''true''.> I will to configure exim4 to forward mails to procmail. (I have > already the ~/.procmailrc). My Debian GNU/Linux system is a standalone > workstation and I''m the only user on it.> In the /etc/exim4/conf.d/router/ directory I have the > 700_exim4-config_procmail file.> Must I move it so that its name should be say 50_exim4-config_procmail > instead of 700_..? I want do this because I want that that in the > config.autogenerated file in place off the "LOCAL_DELIVERY=mail_spool" > stand "LOCAL_DELIVERY=procmail_pipe"?Hello, No, you should not need to touch the configuration at all. Regular delivery to a file or directory (respecting LOCAL_DELIVERY) is handled by 900_exim4-config_local_user, which is only used if the previous routers like 700_exim4-config_procmail declined. And 700_exim4-config_procmail will be triggered if ~/.procmailrc exists. You can use exim4 -bt yourlogin to verify this. cu andreas -- "See, I told you they''d listen to Reason," [SPOILER] Svfurlr fnlf, fuhggvat qbja gur juveyvat tha. Neal Stephenson in "Snow Crash" http://downhill.aus.cc/
Hello Andreas! On Mon, Aug 01, 2005 at 07:05:47PM +0200, Andreas Metzler wrote:> > Must I move it so that its name should be say 50_exim4-config_procmail > > instead of 700_..? I want do this because I want that that in the > > config.autogenerated file in place off the "LOCAL_DELIVERY=mail_spool" > > stand "LOCAL_DELIVERY=procmail_pipe"? > > Hello, > No, you should not need to touch the configuration at all. Regular delivery > to a file or directory (respecting LOCAL_DELIVERY) is handled by > 900_exim4-config_local_user, which is only used if the previous > routers like 700_exim4-config_procmail declined. And > 700_exim4-config_procmail will be triggered if ~/.procmailrc exists. > > You can use > exim4 -bt yourlogin > to verify this.exim4 -bt mylogin R: system_aliases for csanyipal@sks.co.yu R: userforward for csanyipal@sks.co.yu R: procmail for csanyipal@sks.co.yu csanyipal@sks.co.yu router = procmail, transport = procmail_pipe It''s maybe trivial, but I don''t know what should I do to configure exim4 so that the mails forward to procmail? -- Regards, Paul Debian Junior Project, DebianEdu, Moodle -> :-) :-) :-) :-) :-) :-) :-) http://www.ektf.hu/~Csanyi.Pal (Up to now, it is in Hungarian only.)
On Mon, Aug 01, 2005 at 08:26:51PM +0200, Csanyi Pal wrote:> Hello Andreas! > > On Mon, Aug 01, 2005 at 07:05:47PM +0200, Andreas Metzler wrote: > > > > Must I move it so that its name should be say 50_exim4-config_procmail > > > instead of 700_..? I want do this because I want that that in the > > > config.autogenerated file in place off the "LOCAL_DELIVERY=mail_spool" > > > stand "LOCAL_DELIVERY=procmail_pipe"? > > > > Hello, > > No, you should not need to touch the configuration at all. Regular delivery > > to a file or directory (respecting LOCAL_DELIVERY) is handled by > > 900_exim4-config_local_user, which is only used if the previous > > routers like 700_exim4-config_procmail declined. And > > 700_exim4-config_procmail will be triggered if ~/.procmailrc exists. > > > > You can use > > exim4 -bt yourlogin > > to verify this. > > exim4 -bt mylogin > R: system_aliases for csanyipal@sks.co.yu > R: userforward for csanyipal@sks.co.yu > R: procmail for csanyipal@sks.co.yu > csanyipal@sks.co.yu > router = procmail, transport = procmail_pipe > > It''s maybe trivial, but I don''t know what should I do to configure > exim4 so that the mails forward to procmail?I''m no expert, but doesn''t the response above indicate that exim *is* forwarding to procmail? Ross Boylan
On Mon, 2005-08-01 at 20:26 +0200, Csanyi Pal wrote:> exim4 -bt mylogin > R: system_aliases for csanyipal@sks.co.yu > R: userforward for csanyipal@sks.co.yu > R: procmail for csanyipal@sks.co.yu > csanyipal@sks.co.yu > router = procmail, transport = procmail_pipe^^^^^^^^^^^^^^^^^^^^^^^^> It''s maybe trivial, but I don''t know what should I do to configure > exim4 so that the mails forward to procmail?It already is, hence the `procmail'' and `procmail_pipe'' in the line highlighted above. Regards, Adam
On Mon, 2005-08-01 at 13:24 -0700, Ross Boylan wrote:> On Mon, Aug 01, 2005 at 08:26:51PM +0200, Csanyi Pal wrote:[...]> > exim4 -bt mylogin > > R: system_aliases for csanyipal@sks.co.yu > > R: userforward for csanyipal@sks.co.yu > > R: procmail for csanyipal@sks.co.yu > > csanyipal@sks.co.yu > > router = procmail, transport = procmail_pipe > > > > It''s maybe trivial, but I don''t know what should I do to configure > > exim4 so that the mails forward to procmail? > I''m no expert, but doesn''t the response above indicate that exim *is* > forwarding to procmail?Yes. :) Adam
On Mon, Aug 01, 2005 at 10:34:41PM +0100, Adam D. Barratt wrote:> On Mon, 2005-08-01 at 20:26 +0200, Csanyi Pal wrote: > > > exim4 -bt mylogin > > R: system_aliases for csanyipal@sks.co.yu > > R: userforward for csanyipal@sks.co.yu > > R: procmail for csanyipal@sks.co.yu > > csanyipal@sks.co.yu > > router = procmail, transport = procmail_pipe > ^^^^^^^^^^^^^^^^^^^^^^^^ > > > It''s maybe trivial, but I don''t know what should I do to configure > > exim4 so that the mails forward to procmail? > > It already is, hence the `procmail'' and `procmail_pipe'' in the line > highlighted above. > I''m no expert, but doesn''t the response above indicate that exim *is* > forwarding to procmail?> Yes. :)Then why I get all the mails in the /var/mail/fetchmail ? In the exim4''s config.autogenerated I have this lines: .ifndef LOCAL_DELIVERY LOCAL_DELIVERY=mail_spool .endif I think that there would be to stand something like: procmail_pipe, instead of mail_spool, isn''t? -- Regards, Paul Debian Junior Project, DebianEdu, Moodle -> :-) :-) :-) :-) :-) :-) :-) http://www.ektf.hu/~Csanyi.Pal (Up to now, it is in Hungarian only.)
On 2005-08-03 Csanyi Pal <csanyipal@sks.co.yu> wrote:> On Mon, Aug 01, 2005 at 10:34:41PM +0100, Adam D. Barratt wrote: > > On Mon, 2005-08-01 at 20:26 +0200, Csanyi Pal wrote:> > > exim4 -bt mylogin > > > R: system_aliases for csanyipal@sks.co.yu*******************> > > router = procmail, transport = procmail_pipe > > ^^^^^^^^^^^^^^^^^^^^^^^^[...]> > I''m no expert, but doesn''t the response above indicate that exim *is* > > forwarding to procmail?> > Yes. :)> Then why I get all the mails in the /var/mail/fetchmail ?Afaict you posted the output of "exim4 -bt csanyipal" above, but are running fetchmail as user fetchmail instead. And your fetchmail-user does not have a .procmailrc.> In the exim4''s config.autogenerated I have this lines: > .ifndef LOCAL_DELIVERY > LOCAL_DELIVERY=mail_spool > .endif> I think that there would be to stand something like: procmail_pipe, > instead of mail_spool, isn''t?No. As I told you previously, procmail is done by a separate (prioritized) router/transport. cu andreas -- "See, I told you they''d listen to Reason," [SPOILER] Svfurlr fnlf, fuhggvat qbja gur juveyvat tha. Neal Stephenson in "Snow Crash" http://downhill.aus.cc/
Hello! On Thu, Aug 04, 2005 at 07:23:44PM +0200, Andreas Metzler wrote:> > > > > exim4 -bt mylogin > > > > R: system_aliases for csanyipal@sks.co.yu > ******************* > > > > router = procmail, transport = procmail_pipe > > > ^^^^^^^^^^^^^^^^^^^^^^^^ > [...] > > > I''m no expert, but doesn''t the response above indicate that exim *is* > > > forwarding to procmail? > > > > Yes. :) > > > Then why I get all the mails in the /var/mail/fetchmail ? > > Afaict you posted the output of "exim4 -bt csanyipal" above, but are > running fetchmail as user fetchmail instead. And your fetchmail-user > does not have a .procmailrc.exim4 -bt fetchmail R: system_aliases for fetchmail@sks.co.yu R: userforward for fetchmail@sks.co.yu R: procmail for fetchmail@sks.co.yu R: maildrop for fetchmail@sks.co.yu R: local_user for fetchmail@sks.co.yu fetchmail@sks.co.yu router = local_user, transport = mail_spool The fetchmail-user was created automatically when I install fetchmail. The fetchmail-user doesn''t have /home/fetchmail/ directory. The fetchmail run as a system-wide daemon, and I have the /etc/fetchmailrc config file. In this fetchmailrc file stand the line: smtp localhost So, I think that that fetchmail daemon forwards the mails to exim4, isn''t? I whish that that exim4 forwards all mail he gets from fetchmail daemon to user csanyipal with procmail_pipe. How can I do that? Thanks! -- Regards, Paul Debian Junior Project, DebianEdu, Moodle -> :-) :-) :-) :-) :-) :-) :-) http://www.ektf.hu/~Csanyi.Pal (Up to now, it is in Hungarian only.)
On 2005-08-04 Csanyi Pal <csanyipal@sks.co.yu> wrote: [...]> exim4 -bt fetchmail > R: system_aliases for fetchmail@sks.co.yu > R: userforward for fetchmail@sks.co.yu > R: procmail for fetchmail@sks.co.yu > R: maildrop for fetchmail@sks.co.yu > R: local_user for fetchmail@sks.co.yu > fetchmail@sks.co.yu > router = local_user, transport = mail_spool> The fetchmail-user was created automatically when I install fetchmail. > The fetchmail-user doesn''t have /home/fetchmail/ directory. > The fetchmail run as a system-wide daemon, and I have the > /etc/fetchmailrc config file. In this fetchmailrc file stand the line: > smtp localhost> So, I think that that fetchmail daemon forwards the mails to exim4, > isn''t?Yes, that is how fetchmail works, it delivers the mail per SMTP.> I whish that that exim4 forwards all mail he gets from fetchmail > daemon to user csanyipal with procmail_pipe.> How can I do that? Thanks!Either configure fetchmail properly (user csanyipal) or add fetchmail: csanyipal to /etc/aliases. cu andreas -- "See, I told you they''d listen to Reason," [SPOILER] Svfurlr fnlf, fuhggvat qbja gur juveyvat tha. Neal Stephenson in "Snow Crash" http://downhill.aus.cc/
Hello! On Fri, Aug 05, 2005 at 06:56:54PM +0200, Andreas Metzler wrote:> > I whish that that exim4 forwards all mail he gets from fetchmail > > daemon to user csanyipal with procmail_pipe. > > > How can I do that? Thanks! > > Either configure fetchmail properly (user csanyipal) or add > > fetchmail: csanyipal > > to /etc/aliases.I added ''fetchmail: csanyipal'' to /etc/aliases, and that solve my problem. -- Regards, Paul Debian Junior Project, DebianEdu, Moodle -> :-) :-) :-) :-) :-) :-) :-) http://www.ektf.hu/~Csanyi.Pal (Up to now, it is in Hungarian only.)
On Mon, 2005-08-01 at 13:24 -0700, Ross Boylan wrote:> On Mon, Aug 01, 2005 at 08:26:51PM +0200, Csanyi Pal wrote:[...]> > exim4 -bt mylogin > > R: system_aliases for csanyipal@sks.co.yu > > R: userforward for csanyipal@sks.co.yu > > R: procmail for csanyipal@sks.co.yu > > csanyipal@sks.co.yu > > router = procmail, transport = procmail_pipe > > > > It''s maybe trivial, but I don''t know what should I do to configure > > exim4 so that the mails forward to procmail? > I''m no expert, but doesn''t the response above indicate that exim *is* > forwarding to procmail?Yes. :) Adam --
On Mon, 2005-08-01 at 20:26 +0200, Csanyi Pal wrote:> exim4 -bt mylogin > R: system_aliases for csanyipal@sks.co.yu > R: userforward for csanyipal@sks.co.yu > R: procmail for csanyipal@sks.co.yu > csanyipal@sks.co.yu > router = procmail, transport = procmail_pipe^^^^^^^^^^^^^^^^^^^^^^^^> It''s maybe trivial, but I don''t know what should I do to configure > exim4 so that the mails forward to procmail?It already is, hence the `procmail'' and `procmail_pipe'' in the line highlighted above. Regards, Adam