Re: serious trouble with exim and procmail
On Sat, Dec 01, 2001 at 02:08:19PM +0100, Alex Suzuki wrote: | > It says that \246/usr/bin/procmail wasn't found. That's the problem. | > Now the question becomes, why was it looking for that?, what is that | > \246 character doing? Usually if there is not a preceding '0' the | > number is decimal, otherwise octal. That character, in latin1, is an | > umluat (an 'o' with two dots above it) if '\246' is read as decimal, | > or it is a vertical bar with a break in it if '\246' is read as octal. | > | > I notice that the character following the space after the '==' is not | > a regular pipe character. It is 0xa6, which looks very much like a | > pipe in latin1 or utf-8. However a regular pipe character, |, is | > 0x7c. 0xa6 is not part of the US-ASCII character set. I bet this is | > where your problem is. Now to check your config file : | | Strange enough, after toying around (calling eximconfig a thousand | times), deleting and recreating ~/.forward and ~/.procmailrc files it | worked again. Cool, though it is really annoying (at least to me) when a problem vanishes with no reason. | I guess some stupid character in a config file messed it all up. I think so too. Say, I just noticed that in your signature you have those characters that are not the ASCII '|'. In fact, the first one shows up as 0xc2 0xa6 in vim now (I set it to use latin1 for emails, though it defaults to utf-8). It seems that the message, as you sent it, was utf-8. I wonder if you had some sort of locale settings in an environment that caused eximconfig or exim to become confused? -D -- It took the computational power of three Commodore 64s to fly to the moon. It takes at least a 486 to run Windows 95. Something is wrong here.
Re: serious trouble with exim and procmail
> It says that \246/usr/bin/procmail wasn't found. That's the problem. > Now the question becomes, why was it looking for that?, what is that > \246 character doing? Usually if there is not a preceding '0' the > number is decimal, otherwise octal. That character, in latin1, is an > umluat (an 'o' with two dots above it) if '\246' is read as decimal, > or it is a vertical bar with a break in it if '\246' is read as octal. > > I notice that the character following the space after the '==' is not > a regular pipe character. It is 0xa6, which looks very much like a > pipe in latin1 or utf-8. However a regular pipe character, |, is > 0x7c. 0xa6 is not part of the US-ASCII character set. I bet this is > where your problem is. Now to check your config file : Strange enough, after toying around (calling eximconfig a thousand times), deleting and recreating ~/.forward and ~/.procmailrc files it worked again. I guess some stupid character in a config file messed it all up. Thanks anyway, Alex -- ¦ Alex Suzuki | Personal page: | ¦ Email: [EMAIL PROTECTED] | http://www.cynox.ch/asuzuki | ¦ Phone: +41 56 631 33 25 | Linux ISO-Shop, günstig zu Linux kommen | ¦ Mobile: +41 76 579 33 25 | http://www.cynox.ch/isoshop |
Re: serious trouble with exim and procmail
On Fri, Nov 30, 2001 at 02:08:47PM -0500, [EMAIL PROTECTED] wrote: | Hello everybody, | | I am having serious trouble with exim and procmail. | procmail 3.21.20011028 | exim 3.32-2 | Both packages are from testing. | | The mail get's passed to exim, and here's what it's got to say. I am | trying to send a mail to myself ([EMAIL PROTECTED]). ... | -- | And this is what the log file says: | | 2001-11-30 20:05:50 169syi-TS-00 <= [EMAIL PROTECTED] H=localhost (tulkas) [127.0.0.1] P=smtp S=351 | 2001-11-30 20:05:50 169syi-TS-00 == ¦/usr/bin/[EMAIL PROTECTED] <[EMAIL PROTECTED]> D=procmail defer (-1): file existence defer in procmail director: file name for existence test is not fully qualified: \246/usr/bin/procmail | -- It says that \246/usr/bin/procmail wasn't found. That's the problem. Now the question becomes, why was it looking for that?, what is that \246 character doing? Usually if there is not a preceding '0' the number is decimal, otherwise octal. That character, in latin1, is an umluat (an 'o' with two dots above it) if '\246' is read as decimal, or it is a vertical bar with a break in it if '\246' is read as octal. I notice that the character following the space after the '==' is not a regular pipe character. It is 0xa6, which looks very much like a pipe in latin1 or utf-8. However a regular pipe character, |, is 0x7c. 0xa6 is not part of the US-ASCII character set. I bet this is where your problem is. Now to check your config file : | What is going on? I checked out the lines in exim.conf concerning | procmail, I recreated the configuration file with eximconfig, I | didn't touch the config! | | --exim.conf ... | -- This looks the same as mine, and I don't see any pipe characters in my exim.conf. I hope you locate where the problem is, and let us know if you do. -D -- Q: What is the difference betwee open-source and commercial software? A: If you have a problem with commercial software you can call a phone number and they will tell you it might be solved in a future version. For open-source sofware there isn't a phone number to call, but you get the solution within a day.
serious trouble with exim and procmail
Hello everybody, I am having serious trouble with exim and procmail. procmail 3.21.20011028 exim 3.32-2 Both packages are from testing. The mail get's passed to exim, and here's what it's got to say. I am trying to send a mail to myself ([EMAIL PROTECTED]). This is the telnet session [EMAIL PROTECTED]:~$ telnet localhost 25 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. 220 tulkas.suzuki.home ESMTP Exim 3.32 #1 Fri, 30 Nov 2001 20:05:20 +0100 helo tulkas 250 tulkas.suzuki.home Hello localhost [127.0.0.1] mail from:[EMAIL PROTECTED] 250 <[EMAIL PROTECTED]> is syntactically correct rcpt to:[EMAIL PROTECTED] 250 <[EMAIL PROTECTED]> is syntactically correct data 354 Enter message, ending with "." on a line by itself Subject: This is a test message Test message 250 OK id=169syi-TS-00 quit 221 tulkas.suzuki.home closing connection Connection closed by foreign host. -- And this is what the log file says: 2001-11-30 20:05:50 169syi-TS-00 <= [EMAIL PROTECTED] H=localhost (tulkas) [127.0.0.1] P=smtp S=351 2001-11-30 20:05:50 169syi-TS-00 == ¦/usr/bin/[EMAIL PROTECTED] <[EMAIL PROTECTED]> D=procmail defer (-1): file existence defer in procmail director: file name for existence test is not fully qualified: \246/usr/bin/procmail -- What is going on? I checked out the lines in exim.conf concerning procmail, I recreated the configuration file with eximconfig, I didn't touch the config! --exim.conf # This transport is used for procmail procmail_pipe: driver = pipe command = "/usr/bin/procmail -d ${local_part}" return_path_add delivery_date_add envelope_to_add check_string = "From " escape_string = ">From " user = $local_part group = mail # This director runs procmail for users who have a .procmailrc file procmail: driver = localuser transport = procmail_pipe require_files = ${local_part}:+${home}:+${home}/.procmailrc:+/usr/bin/procmail no_verify -- Please, somebody help me! I am becoming crazy! Oh, and please CC any replies to my emailaddress [EMAIL PROTECTED], I am not subscribed to the list. Thanks. Alex mail2web - Check your email from the web at http://mail2web.com/ .
Re: exim and procmail, and how to stop spammers?
On Thu, 2 Dec 1999 22:28:12 -0800 (PST) ferret <[EMAIL PROTECTED]> wrote: > I'd like to make exim use procmail to deliver incoming messages by > default, using the ~/.procmailrc file. Transport: procmail_pipe: driver = pipe command = "/usr/bin/procmail" user = ${local_part} delivery_date_add envelope_to_add return_path_add from_hack Director: procmail: driver = localuser require_files = ${local_part}:${home}/.procmailrc transport = procmail_pipe -- J C Lawrence Home: [EMAIL PROTECTED] --(*) Other: [EMAIL PROTECTED] --=| A man is as sane as he is dangerous to his environment |=--
exim and procmail, and how to stop spammers?
I'd like to make exim use procmail to deliver incoming messages by default, using the ~/.procmailrc file. I haven't been able to make much headway through the documentation, however. I know sendmail will do this by default, but sendmail seems to be (with default configurations) more open to use by spammers. (I just got a spam from localhost relayed TO me aparantly from the spammer's ISP) and I haven't made much headway with sendmail, even with having ORA's sendmail book. This is what I got out of my syslog. ---> Dec 2 19:12:28 playdough sendmail[29527]: TAA29527: from=<[EMAIL PROTECTED]>, size=1252, class=0, pri=31252, nrcpts=1, msgid=<[EMAIL PROTECTED]>, proto=SMTP, relay=ip210.albany5.ga.pub-ip.psi.net [38.30.3.210] Dec 2 19:12:28 playdough sendmail[29530]: TAA29527: to=<[EMAIL PROTECTED]>, delay=00:00:09, xdelay=00:00:00, mailer=local, stat=Sent <--- And here's the message headers ---> Received: from 4kudos2all.com (ip210.albany5.ga.pub-ip.psi.net [38.30.3.210]) by playdough.mentasm.org (8.9.3/8.9.3/Debian/GNU) with SMTP id TAA29527 for <[EMAIL PROTECTED]>; Thu, 2 Dec 1999 19:12:19 -0800 Subject: Real Time CC Processing...$39.95/mo From: [EMAIL PROTECTED] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7BIT Message-Id: <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Date: Thu, 02 Dec 1999 21:54:07 -0500 <--- Could someone help me get my MTA (whichever one) working more to what I'm wanting? -- Ferret no baka
Re: exim and procmail?
On Tue, 23 Nov 1999 04:20:31 - (UTC) Pollywog <[EMAIL PROTECTED]> wrote: > I have all of this, so it seems I just need to move the procmail > director upward. Yes, it must be above the localuser. -- J C Lawrence Home: [EMAIL PROTECTED] --(*) Other: [EMAIL PROTECTED] --=| A man is as sane as he is dangerous to his environment |=--
Re: exim and procmail?
On 23-Nov-1999 [EMAIL PROTECTED] wrote: > On Mon, 22 Nov 1999 21:44:37 - (UTC) > Pollywog <[EMAIL PROTECTED]> wrote: > >> I tried this, but I get: Starting MTA: 1999-11-22 21:41:17 Exim >> configuration error transport procmail: cannot find transport >> driver "localuser" in line 362 > > You should have a director stanza (after the procmail director I > quoted) in your exim.conf that reads something like: > > localuser: > driver = localuser > transport = local_delivery > > Where the local_delivery transport looks something like: > > local_delivery: > driver = appendfile > group = mail > mode = 0660 > mode_fail_narrower = false > file = /var/spool/mail/${local_part} > delivery_date_add > envelope_to_add > return_path_add I have all of this, so it seems I just need to move the procmail director upward. thanks -- Andrew
Re: exim and procmail?
On Mon, 22 Nov 1999 21:44:37 - (UTC) Pollywog <[EMAIL PROTECTED]> wrote: > I tried this, but I get: Starting MTA: 1999-11-22 21:41:17 Exim > configuration error transport procmail: cannot find transport > driver "localuser" in line 362 You should have a director stanza (after the procmail director I quoted) in your exim.conf that reads something like: localuser: driver = localuser transport = local_delivery Where the local_delivery transport looks something like: local_delivery: driver = appendfile group = mail mode = 0660 mode_fail_narrower = false file = /var/spool/mail/${local_part} delivery_date_add envelope_to_add return_path_add (The above is not the default stanza -- I've added several bits to it) -- J C Lawrence Home: [EMAIL PROTECTED] --(*) Other: [EMAIL PROTECTED] --=| A man is as sane as he is dangerous to his environment |=--
Re: exim and procmail?
On 23-Nov-1999 Mark Wagnon wrote: > On 11/22/99 09:44PM, Pollywog wrote: >> >> I tried this, but I get: >> Starting MTA: 1999-11-22 21:41:17 Exim configuration error >> transport procmail: cannot find transport driver "localuser" in line 362 > > Jumping in on this thread late, and I have absolutely no clue what you guys > are talking about, but... > > Is the localuser part supposed to be the username of someone who has a local > account? No, it is a transport driver (for Exim). -- Andrew
Re: exim and procmail?
On 11/22/99 09:44PM, Pollywog wrote: > > I tried this, but I get: > Starting MTA: 1999-11-22 21:41:17 Exim configuration error > transport procmail: cannot find transport driver "localuser" in line 362 Jumping in on this thread late, and I have absolutely no clue what you guys are talking about, but... Is the localuser part supposed to be the username of someone who has a local account? -- __ _ Mark Wagnon ( Debian GNU/ -o) / / (_)__ __ __ Chula Vista, CA) /\\/ /__/ / _ \/ // /\ \/ / [EMAIL PROTECTED] ( _\_v/_/_//_/\_,_/ /_/\_\
Re: exim and procmail?
On 18-Nov-1999 J C Lawrence wrote: > A more elegant way of running procmail under Exim as an LDA is to > install the following transport and director in /etc/exim.conf: > > The director: > > procmail_pipe: > driver = pipe > command = "/usr/bin/procmail" > user = ${local_part} > delivery_date_add > envelope_to_add > return_path_add > from_hack > > The transport: > > procmail: > driver = localuser > require_files = ${local_part}:${home}/.procmailrc > transport = procmail_pipe I tried this, but I get: Starting MTA: 1999-11-22 21:41:17 Exim configuration error transport procmail: cannot find transport driver "localuser" in line 362 -- Andrew
Re: exim and procmail?
On Wed, 17 Nov 1999 21:52:03 -0500, David S. Jackson wrote: >I have been getting an error procmail which has been bouncing my mails >to debian-user. You should probably not invoke procmail via .forward, but directly as a local transport. Grep for procmail in /usr/doc/exim/spec.txt.gz and modify exim.conf accordingly. This is how I do it and I don't have any probs with my setup. -- Sign the EU petition against SPAM: L I N U X .~. http://www.politik-digital.de/spam/The Choice /V\ of a GNU /( )\ Generation ^^-^^
Re: exim and procmail?
On Wed, 17 Nov 1999 21:52:03 -0500 David S Jackson <[EMAIL PROTECTED]> wrote: > I have been getting an error procmail which has been bouncing my > mails to debian-user. Basically, the procmail log messages get > echoed back to the debian list server. I edited a line in > /etc/exim.conf: A more elegant way of running procmail under Exim as an LDA is to install the following transport and director in /etc/exim.conf: The director: procmail_pipe: driver = pipe command = "/usr/bin/procmail" user = ${local_part} delivery_date_add envelope_to_add return_path_add from_hack The transport: procmail: driver = localuser require_files = ${local_part}:${home}/.procmailrc transport = procmail_pipe -- J C Lawrence Internet: [EMAIL PROTECTED] --(*)Internet: [EMAIL PROTECTED] ...Honorary Member of Clan McFud -- Teamer's Avenging Monolith...
exim and procmail?
I have been getting an error procmail which has been bouncing my mails to debian-user. Basically, the procmail log messages get echoed back to the debian list server. I edited a line in /etc/exim.conf: userforward: driver = forwardfile no_verify check_ancestor file = .forward ###modemask = 002 filter ... After commenting modemask the error seems to go away. I only have one user on the system right now (me). My question is why should I have been getting this error in the first place? >A message that you sent could not be delivered to all of its >recipients. The >following address(es) failed: > > [EMAIL PROTECTED]: >generated | /usr/bin/procmail -p > >The following text was generated during the delivery attempt: > >-- | /usr/bin/procmail -p -- > >procmail: [30016] Wed Nov 17 17:23:03 1999 >procmail: Assigning "PATH=/bin:/usr/bin:/usr/sbin" >procmail: Assigning "MAILDIR=/home/dsj/mail" >procmail: Assigning "PMDIR=/home/dsj/procmail" >procmail: Assigning "LOGFILE=/home/dsj/procmail/log" >procmail: Opening "/home/dsj/procmail/log" > >-- This is a copy of the message, including all the headers. >-- Any help gladly appreciated! TIA -- David S. Jackson http://www.dsj.net =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= "Zen is not some kind of excitement, but concentration on our usual everyday routine." --Shunryu Suzuki
Re: Exim and procmail
George Bonser wrote: > On Mon, 20 Apr 1998, Daniel Quinlan wrote: > > > hi, > >now I know I can't be the only one using Exim and procmail, so I must > > be doing something weird. > > Uhm, you probably ARE the only one using Exim and Procmail! Exim has its > own filtering and delivery scripting built-in so there is no need for > procmail. I am sad to report he is not the only one using exim and procmailI use them alsohave it working well though with fetchmail hmmm maybe I will check out exim's own mail delivery stuff I do so like procmail though (and sort of need it for a project but thats completely anothe rstory) > Go to www.exim.org and read the exim filter specification. ill check this out... hmm maybe this should be mentioned in the description of the exim package? I don't remember it saying anything about that...just said its easier to configure -Steve -- -=Signature has been removed because it made an unfair comparison between NT 4 and Linux =- replacement: (ok I admit...I am bored..its a slow day at work) [EMAIL PROTECTED] ~]$fortune -o Anything more than 3 shakes is for fun. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Exim and procmail
On Mon, 20 Apr 1998, Daniel Quinlan wrote: > "|IFS=' ' && exec /usr/bin/procmail -f- || exit 75 daniel" > >as my .forward I don't think it knows what "exit 75 daniel" means. There should be a # to comment out your username: #daniel Cheers, -- David Wright, Open University, Earth Science Department, Milton Keynes MK7 6AA U.K. email: [EMAIL PROTECTED] tel: +44 1908 653 739 fax: +44 1908 655 151 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Exim and procmail
hi, now I know I can't be the only one using Exim and procmail, so I must be doing something weird. Exim is configured as an 'Internet site' (option 1) and I'm using this: "|IFS=' ' && exec /usr/bin/procmail -f- || exit 75 daniel" as my .forward I'm using fetchmail to pull my mail off the office mail server. It works fine. If I use the above .forward I get this in /var/log/exim/mainlog 1998-04-20 08:51:40 0yR2vz-PP-00 ** |IFS=' ' && exec /usr/bin/procmail -Yf- || exit 75 daniel <[EMAIL PROTECTED]> D=userforward T=address_pipe: "IF S='" command not found for address_pipe transport It looks to me as if exim is taking the " at the start of the forward to be closed by ' Any ideas? -- Daniel Quinlan [EMAIL PROTECTED] Netwise Australia 0417 677 377 "Engineering Network Solutions" -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]