Re: What MUA do you use?

2000-01-06 Thread Rok Papez

Hello Bill.

On Wed, 05 Jan 2000, Bill Ataras wrote:

 with "spruce" (check freshmeat). Its pretty good. But I'm curious what you

Spruce is nice Too bad it doesn't store mail in Maildir format, and it's
filterng isn't powerfull enough. Also I don't think it's stable enough (yet).
Spruce however has a potential to become a very good MUA. But I guess I'm just
spoiled by PMMail :-).. who unfortunately isn't available under Linux.

Right now I'm using KMail and it works for me (just barely)... However it did
loose a few mails once so I'm trying to find some other MUA.

Mutt; well I did try it and altough I sometimes_use/like Pine I realy disliked
Mutt becouse it's default key bindings are 100% different from what I'm used to.
Maybe someday when I have more time (yeah right... whom am I kidding) I'll read
the docs and rewamp all key bindings.

-- 
best regards,
Rok Papez.



Re: Maildirsmtp fails to run :-(.

1999-11-17 Thread Rok Papez

Hello!

On Wed, 17 Nov 1999, Rok Papez wrote:

 The problem is with the "mail exchange script". Fetchmail works just fine, but
 maildirsmtp never runs :(((. I looked thru the logs but found no error; I've
 tried a lot of things (exec, ...) but nothing worked.
 What does maildirsmtp want ??

With closer examination I've found out that tcpclient is reporting this:

maildirserial: fatal: making no progress, giving up
tcpclient: fatal: unable to set up descriptor 7: file descriptor not open
tcpclient: fatal: unable to set up descriptor 7: file descriptor not open
tcpclient: fatal: unable to set up descriptor 7: file descriptor not open

The fd number is constant (it doesn't change, when I try multiple times)

Can someone please help me out? 

-- 
best regards,
Rok Papez.



Maildirsmtp fails to run :-(.

1999-11-16 Thread Rok Papez


Hi!

I have qmail server in my intranet. The server also has a modem and does IpMasq.
I have a script to send out the outgoing mail to the nearest smtp server and
fetches new mail from internet via POP3:

- This is the script that does Mail exchange 

#!/bin/bash

export PATH="/sbin:/bin:/usr/sbin:/usr/bin:/opt/serialmail/bin:/opt/ucspi-tcp/bin"

#get the IP of ppp0!
MyIp=`/opt/iflib/ifinf ip ppp0`

#receive mail
su user1 -c "fetchmail -a "  /tmp/named.pipe.httpdial 
su user2 -c "fetchmail -a "  /tmp/named.pipe.httpdial 
... and so on ... for every user

#SEND mail
/opt/serialmail/bin/maildirsmtp ~alias/pppdir alias-ppp- smtp server $MyIp
---

This script works just fine when run from a telnet.

So other users (non Linux users) can establish ppp connection I've made a http
dialer daemon (http://www.kiss.uni-lj.si/~k4f0058/httpdial.html) with 3 buttons.
One runs conect, second disconnect and third "mail exchange" scripts. The tool
is still a bit unreliable (read beta), but the connect/disconnect scripts run
just fine. 
The problem is with the "mail exchange script". Fetchmail works just fine, but
maildirsmtp never runs :(((. I looked thru the logs but found no error; I've
tried a lot of things (exec, ...) but nothing worked.
What does maildirsmtp want ??

Some technical details:

std* is redirected to /dev/null (it is actualy the same fd, dupe2()d 3 times -
I suspect this to be the problem). 
The script is executed by this code fragment:

global.pidScriptMx=fork();
switch(global.pidScriptMx) {
case 0:
execlp(defMxScript,NULL);
syslog(LOG_ERR,"- Unable to run the mailex script - execlp() failed.\n"); // this 
code should never be executed.
exit(-255);
break;

-- 
best regards,
Rok Papez.



Re: Qmail mailing list and ReplyTo:

1999-02-23 Thread Rok Papez

Hello!

On Fri, 19 Feb 1999 15:29:03 -0300, [EMAIL PROTECTED] wrote:

   Yes, I understood that (I'm not an idiot, as you may be
implying).
   BTW, please don't be so arrogant to ask others "Please read
the post carefuly before replying" [sic]. You win nothing with this
attitude.

Sorry.. I didn't want to imply that you are and idiot.

   What should be done when the sender wants his/her personal
replies back to a different address *BUT* doesn't want to receive all
replies to his/her post personally, that is, the poster still wants to
keep the discussion on the list? Add another Reply-To field to the
message?

I see that there is no point in continuing this debate, I apologize if
I insulted you; it was not my intention. But I do doubt it that it is
the *right* way to force everyone to use mutt. Some of us just don't
like it. :)


best regards,
Rok Papez,
Student at Faculty of Computer and Information Science,
University of Ljubljana, Slovenia.



Re: Qmail mailing list and ReplyTo:

1999-02-19 Thread Rok Papez

On Fri, 19 Feb 1999 11:30:03 -0300, [EMAIL PROTECTED] wrote:

On Feb 19 1999, Rok Papez wrote:
 The mailing list sets the Reply-To: address to the mailing list, the
 From: field is preserved. When I hit the Reply buttin in PMMail
 (MUA), he notices the difference between the "From:" and "Reply-To:"
 list, pops up a quick dialog asking me to choose to whom to reply;
 to the list (Reply-To) or to the poster (From:). Voila.. problem
 solved.

   No. IMO, it's not as easy as you want to make it, because
this is a misuse of the Reply-To field. As far as I know, messages
compliant with the RFCs can't have two Reply-To fields (which one
would the MUA choose, anyway?).

Who is talking about two "Reply-To:" fields 
There is only one, the one that mailin lists creates or the 
original-one that is preserved by the mailing list.
Please read the post carefuly before replying; and if I wasn't
clear enough ask me to clearify it.

I'll write it again:
If I post to the mailing list *without* "Reply-To:" field mailinglist
creates one that points to itself, the "From:" field points to the
original author of the post.
If I post *with* "Reply-To:" field already set, then mailinglist does
*not* add a "Reply-To:" field.

This way it is solved.
If I wasn't subscribed to the mailinglist, I could set the "Reply-To:"
field to my personal mailbox and everyone will be replying to me, not
the mailing list.

   What happens is that I have three mailing lists where the
users have requested me to set the Reply-To field pointing back to the
list. To accomplish that, I had to add Reply-To to headerremove and to
headeradd (I'm using ezmlm to manage the lists).

You don't set it.. mailing list software sets it.

damn Reply-To field myself upon request of my users. Are there any
ports of Mutt to the Windows world so that I can recommend that for my
users?

Mutt is very unintuitive (PINE *is* intuitive), I tried it, didn't
like it. I wish that PINE had as many features as mutt has, tho.
I prefer PINE and PMMail over anything else.


best regards,
Rok Papez,
Student at Faculty of Computer and Information Science,
University of Ljubljana, Slovenia.



RE: Qmail mailing list and ReplyTo:

1999-02-19 Thread Rok Papez

On Fri, 19 Feb 1999 09:05:31 -0500, Mark Bainter wrote:

Just use mutt. ( http://www.mutt.org ) 

(And yes, I'm not using it now.  Qmail comes to my work account because
I'm too lazy to move it.  I use mutt for all my other lists and it works
great.  It is able to recognize lists and when you want to reply to a
list address it can handle it w/no need to munge reply-to's.  Check it
out.)

I tried it... It wasn't pleasent for use. I'm used to PINE, joe,
PMMail.
Mutt is a step in a totaly new direction, I know it is more powerful;
but I PINE is a lot more intuitive for use (for me that is ) :).



best regards,
Rok Papez,
Student at Faculty of Computer and Information Science,
University of Ljubljana, Slovenia.



Re: Qmail mailing list and ReplyTo:

1999-02-19 Thread Rok Papez

Hi Peter.

 # Try subscribing to the inet-access mailing list. They set the Reply-To: to
 # the list, and it's nearly 2-5 times per day that someone accidentally
 # posts a private response to the list.
 
 now that is really strange

Not really, when you consider how busy everyone on the list is. It's not a
matter of people on the list not understanding how Reply-To: technically
works...it's a matter of being in something of a hurry and not being able
to adequately check the headers.

Exactly my point.. If you took your time and read (instead of scanning)
the message before replying, those "Ups I posted a private mail to the
mailing
list" mistakes wouldn't hapen with "Reply-To:" field set to the
mailinglist
address.

best regards,
Rok Papez,
Student at Faculty of Computer and Information Science,
University of Ljubljana, Slovenia.



RE: Qmail mailing list and ReplyTo:

1999-02-19 Thread Rok Papez

Hi Mark.

On Fri, 19 Feb 1999 09:31:22 -0500, Mark Bainter wrote:

Then patch pine to work properly and/or add the features you need.
Don't break the list to fix a MUA problem.  -shrug-  I use mutt for
mutiple reasons.  I personally like the interface, but my biggest reason
is that it does things 'The Right Way' and doesn't care if all the other
mail clients don't.  That is the attitude I like and prefer to see.
It's one of the reasons I like Qmail.  Because Dan doesn't think he
needs to make Qmail Sendmail-compliant. (gag)  If your mail client can't
handle qmail because it supports sendmail, not the RFC then that's your
problem. 

No.. I'll just hit the ReplyToAll button on PMMail, I can play "don't
care about others" too :(.

Didn't see no RFC on mailinglist policy.

And there is one rule about communications that you probably never
heard of:
When you receive, be as liberal as you can be.
When you send, be as conservative as you can be.

best regards,
Rok Papez,
Student at Faculty of Computer and Information Science,
University of Ljubljana, Slovenia.



Re: Qmail mailing list and ReplyTo:

1999-02-19 Thread Rok Papez

Hi Russell.

On 19 Feb 1999 15:18:39 -, Russell Nelson wrote:

  Who is talking about two "Reply-To:" fields 

Anybody who suggests that the Reply-To should be set to "the" list.
What happens when mail is sent to multiple lists?  Each sets the
Reply-To to its own list, and the discussion is immediately
fragmented.  Doh!

Discussions get fragmented very often.. I don't see a problem here.
It is a bit weird to post a message to multiple mailing lists and
expect the discussion *not* to get fragmented.
Even *this* discussion got very fragmented and it was posted only
to this mailing list.


best regards,
Rok Papez,
Student at Faculty of Computer and Information Science,
University of Ljubljana, Slovenia.



Re: Qmail mailing list and ReplyTo:

1999-02-19 Thread rok . papez

   
   Exactly my point.. If you took your time and read (instead of scanning)
   the message before replying, those "Ups I posted a private mail to the
   mailing
   list" mistakes wouldn't hapen with "Reply-To:" field set to the
   mailinglist
   address

Using stock Unix /bin/mail, try to reply to this message without sending
yourself a copy.  Take your time, and have fun.

Mate



Re: Qmail in LAN with dial-up connection

1999-02-13 Thread Rok Papez

On Fri, 12 Feb 1999 14:34:02 +, Chris Green wrote:

 2.nd problem:
 Even if I fix that... I have 2 internet mail accounts (POP3),
 and I'm subscribed to different mailinglists. So if mail is 
 sent to the mailinglist it MUST be sent from the account I've 
 subscribed from.
 How do I implement some sort of per user database of mailinglists
 and if To: line contains a mailinglist it should change From: line
 differently AND(!) serialmail should send this mail thru different 
 SMTP server.
 
That sounds like the sort of problem that mutt's send-hook facility
could handle for you. (mutt is an MUA)

Mutt also runs on OS/2 and Windows 95/98/NT ?? Don't think so,
plus his POP3 support is lousy. For terminal mode I prefer pine
over it, it is more intuitive :) and I'm already used to pine.
If it was just for the terminal, I would have used those evironment
variables that modify the From line.
BUT!!! Most 99.9% of the mail is processed by users on their workstations
that are running mostly Windows. The mailers are Outlook Express,
Netscape Communicator, PMMail and probably others.

I have this situation (use monospace font and LONG lines ;):

---
INTERNET  dial-up   LINUX server   LAN WORKSTATIONS
 
pop3 account 1 - serialmail - Qmail 1.03  - SMTP - user1
pop3 account 1 - fetchmail  - Qmail 1.03  - POP3 - user1
pop3 account 2 -- Qmail 1.03   user2
pop3 account 3 -- Qmail 1.03   user2
pop3 account 4 -- Qmail 1.03   user3
---

user 1 mail transfer is shown more detailed.
The problem is with the From lines of the workstations.
I don't wont to pest every user on LAN to change "From" and "Reply To"
lines. To make things worse. User 2 has 2 POP3 accounts and both
receive mail from mailinglists. So if message is sent to a mailing list
it's From line has to be changed acording to the mailing list address
AND (!) the serialmail must be smart enough to pick the correct host
for smtp transfer.

I was thinking along the lines:
queue messages into ~alias/pppdir - already works!
set up a ~alias/SMTP_host_specific_queue for every
smtp host. Example:
~alias/smtp-1
~alias/smtp-2
~alias/smtp-3
Now I have to process mail. I have to run procmail on something else
on mail in ~alias/pppdir/new and check the from line.
If "From" is [EMAIL PROTECTED] I should send it to smtp.someplace.si
and so I move it to ~alias/smtp-x. I also have to change the from line
to [EMAIL PROTECTED]
Of course user2 is a bit more complicated. I have to check
~user2/mailinglists (for example) and if "To" line has an entry in
~user2/mailinglists, I should send to another smtp server. And
change the "From" line acording to mailinglist entry in
~user2/mailinglists.

Now.. Can procmail do that and if it can; can someone *please* send me
a few examples. Or do I have to make my own mail processor.


best regards,
Rok Papez,
Student at Faculty of Computer and Information Science,
University of Ljubljana, Slovenia.



Qmail in LAN with dial-up connection

1999-02-12 Thread Rok Papez

Hello.

I've got everything working.
Qmail does POP3/SMTP for clients and uses serialmail to
send mail to internet. Fetchmail is used to transfer mail
from internet POP3 accounts to local POP3 accouonts.

1.st problem:
Outgoing mail has From: line incorrect, that is,
it says "[EMAIL PROTECTED]" instead "[EMAIL PROTECTED]".
I had a look at procmail, but there are no examples on how it works.
Could someone send me any examples, that would realy help me out.

2.nd problem:
Even if I fix that... I have 2 internet mail accounts (POP3),
and I'm subscribed to different mailinglists. So if mail is 
sent to the mailinglist it MUST be sent from the account I've 
subscribed from.
How do I implement some sort of per user database of mailinglists
and if To: line contains a mailinglist it should change From: line
differently AND(!) serialmail should send this mail thru different 
SMTP server.

Mucho trouble ;). Thanks for any replies. :)

best regards,
Rok Papez,
Student at Faculty of Computer and Information Science,
University of Ljubljana, Slovenia.



RE: Serialmail fd 7 error!

1999-01-16 Thread Rok Papez

Hi Roger, qmail and serialmail m.l.

On Thu, 18 Nov 1999, Roger Wrethman wrote:

 Go and have a look at http://www.e-smith.net
 They have this all down to a tee.

I was expecting help It seems I've got a commercial :-(.
I guess Qmail/serialmail just isn't up to the job.

Everybody can smart-ass around about Linux support how great the mailing
list/newsgroup support is and that it's better than commercial.
My experiance (specialy with qmail/serialmail) shows that this is not the case.
The people who know don't bother to answer, the people who don't know smart-ass
around :-.

I'm sorry but this is very dissapointing that no-one on qmail nor serialmail
mailing list is able to just give me a hint (RTFM would do, if I accidently
missed the docs - I do a lot of RTFM on our local user group m.l.). But it is
not like I'm the power user who can go in and use the RTSL (Read The Source,
Luke).

Obviously a step in the right direction would be to dump Qmail/Serialmail
altogether. Local user group people know only about sendmail and qmail
users are obviously unwilling to help out.

I'll mail djb personaly.. maybe he will answer altough I doubt
it... I'll probably get ditched together with SPAM into /dev/null.

 -- 
best regards,
Rok Papez.
 



RE: Serialmail fd 7 error! Qmail support

1999-01-16 Thread Rok Papez

Hello Jeff.

On Thu, 18 Nov 1999, Jeff Hayward wrote:

-
 Hey Rok, how's the trolling today?

Great!!! :)). No, realy. I actualy got a *response* (yours).  It is not a
polite one (I didn't expect it to be), but at least it *is* there... it is even
suggesting something.
Was that "RTFM" so hard to say the first time I asked for help ?? :-). It
didn't help much.. but it was a gesture.

You actualy proved that when politeness doesn't get you anywhere
trolling might :).

-
 You checked TFM 'man tcpclient', right?  Perhaps you could describe

Actualy I just did (man 1 tcpclient)... I still don't have a clue why it works
when I telnet and why it doesn't when I fork() and exec() from daemon. Since
daemon environment is a bit different I realy hopped for someone more
experianced to help me out
And btw.: I didn't check tcpclient *before* becouse I didn't notice maildirsmtp
is a script. I apologize for not knowing everything :-(. I also alopologize
for not checking every executable on my sistem if is is a script or a binary
image - but what can you expect from a simple user.
And about the tcpclient errors... When run from telnet maildirsmtp worked and
when run from a daemon, errors got lost to /dev/null becouse I didn't redirect
error logging correctly (I did "21 " instead of " 21" ).

-
 the efforts you've made to resolve your trouble.  We already know
 about the throwing about of insults, but that's not generally a

Throwing insults? Let me check:
Ok one might be here:
-
 Everybody can smart-ass around about Linux support how great the
 mailinglist/newsgroup support is and that it's better than commercial.
-
This one applies only if you claim that linux support is great. And the other
one can apply only if you "don't know":
-
 The people who know don't bother to answer, the people who don't know
 smart-ass around :-.
-

I was a bit upset I apologize for the later one.. but the smart-assing about
*great* Linux support stays!!! Linux support isn't great and the docs aren't
great (except for some *realy* great HOWTOs in /usr/doc/HOWTO).  And guess
what.. the first time someone actualy had to tell me where to look for them :).
A "RTFM /usr/doc/HOWTO/*" got me "on the track".  Can you please do the same
for qmail+serialmail ?


 about the throwing about of insults, but that's not generally a
 success strategy.  What else have you done?

Since you obviously know more about success strategies then me, please do help
me and show me how to get help.

-
 success strategy.  What else have you done?

I've searched the Qmail and Serialmail mailing list archives for similar
problems.
I've serached the www.qmail.org site for "serialmail" and "maildirsmtp".
I did "man maildirsmtp".
I did "cat /opt/qmail/doc/* | grep serialmail".
I've read "/opt/serialmail/doc/serialmail/*" files.
And *then* I asked on the Qmail mailing list.


-- 
best regards,
Rok Papez.