Re: [courier-users] Re: Error in IMAP command received by server

2002-02-03 Thread Juha Saarinen

On Sun, 3 Feb 2002, marc lindahl wrote:


  So what's the advantage to doing this, rather than installing from the
  source?

The advantage is that Sam has kindly written a SPEC file for the RPM
package, that puts stuff where it belongs in the RHL file system layout;
it also provides the RHL init scripts. Also, if you stick to RPM packages,
you'll find upgrading much less of a chore.

-- 
Juha
Take off every sig!


___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] couriermlm subject header rewrite

2002-02-03 Thread Alexander Lazic

Hi,

On 03.02.2002 17:55, Mark Constable wrote:

Does this feature exist for couriermlm ?

Yes, called 'KEYWORD' for more info see:

http://www.courier-mta.org/couriermlm.html

or your local 'man couriermlm'.

Hth

al ;-)

___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Running Courier-IMAP through inetd ????

2002-02-03 Thread David Bouw

Hi there,

I just installed courier-imap on a Redhat 6.2 machine using the 'authpam' 
authentication..
This seems to work just fine!!!

I do though would like to ask help 1 question because I can't seem to find much in de
documentation:

The imap-server I installed will only be accessed by 2-3 client computers.
Because of this I want to block all traffic from other computers by accepten only 
traffic
by allowing the IP's
from the specified clients

Normally I run our private services (SSH, FTP) throught INETD which allows me to block
traffic using the HOSTS.DENY and HOSTS.ALLOW file.. As far as I know this also prevents
any security holes being used in server software like COURIER-IMAP/SSH/FTP because a
client should first pass the 'IP' check of INETD before the 'server' software is 
started..

Is it possible to start Courier through INETD..?  I now there is some extra load, but 
this
isn't really a issue..
I tried to do this by adding the IMAPD executable to INETD.. This didn't seem to work 
for
me..
(I could telnet to port 143, but my IMAP client can't seem to connect..)

If this isn't possible, is it possible for me to only accept traffic from a few 
different
hosts by changing to configuration files of IMAPD and running it as a standalone
version?
(How is it with security leaks in IMAPD, have there been found quite a lot..?)

Thanks in advance..

With kind regards,
David Bouw


___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] ESMTP over SSL (again)

2002-02-03 Thread Bryan Ross








Hi,



Posted this question a while ago, but didnt get
anything back. I know its lame to keep reposting, but hoping that at least one
person has got this working. If im being stupid, just say so, and Ill go away and do (yet
more) reading



Anyway, Ive got pop3/imap running over SSL, using my thawte certificate, and everything works alright. My
problem is with esmtp over ssl.
I installed the relevant emstpd.cnf and esmtpd.pem file, using the same settings as I did for the
outgoing protocols above. But, I cant seem to get
Outlook to play nice with it.



From what I can understand, smtp over ssl is normally
done over port 465, but here were using the STARTTLS extension, so the
clients just connects to port 25. If I telnet into port 25, I get the following
advertised;



250-AUTH LOGIN

250-AUTH=LOGIN X-NETSCAPE-HAS-BUGS

250-STARTTLS

250-XVERP=Courier

250-XEXDATA

250-XSECURITY=NONE,STARTTLS

250-PIPELINING

250-8BITMIME

250-SIZE

250 DSN



Outlook barfs, telling me that my server reported an
internal error, but I cant find anything in the server
logs. All I see is the start of a smtp
connection. I assume the problem is that Outlook isnt starting the
session properly, and therefore isnt doing SSL, and hence, isnt
authenticating but does anyone have any clues as to why? Or even if theres some tests I can run to get a little bit more
debug info.



Oh, and just to confirm, I dont need a emtpd-ssl config file do I ?



Thanks,



Bryan.








RE: [courier-users] ESMTP over SSL (again)

2002-02-03 Thread Bryan Ross









Thanks Mike,



Outlook works alright with my esmtp server, as long as I tell it not to bother with SSL,
so I think it can handle the multi-line greeting alright. Similarly, it can
handle the secure connections thru pop3/imap, so I assume theres not a
problem there. I think its got something to do with my esmtp
config. Pop3/imap over ssl
have their own port, so I think thats more straight forward.



Thanks for the offer of letting me try it
with your server, but I think I would really need someone who has SSL running,
just to prove that its my courier-mta config thats broken.



Kind Regards,



Bryan.



-Original
Message-
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
On Behalf Of Michael J. Tubby B.Sc
(Hons) G8TIC
Sent: 03
 February 2002
10:27
To: [EMAIL PROTECTED];
[EMAIL PROTECTED]
Subject: Re: [courier-users] ESMTP
over SSL (again)





Bryan,











Is this as simple as Outlook is
unable to support correctly formatted





multi-line greeting messages in the
form











 250-line1





 250-line2





 250-line3





 250 last line











NB. no continuation dash on the last
line... Sam's output looks





fine to me. I don't use
outlook but you might try pointing it my





mail relay which runs exim and also
does multi-line output at





start up:











 bash$ telnet
post.thorcom.com 25





 Trying
212.172.148.70 (post.thorcom.com) ...
 Connected to post.thorcom.com
 220-post.thorcom.com ESMTP Exim 3.33 #2 Sun, 03 Feb 2002 10:20:29 +
 220-Computer Misuse Act (1990) UK applies -
Unauthorised access prohibited.
 220-Unsolicited Commercial Email (UCE) or SPAM is not
permitted here!
 220-All connections are logged. Sending of UCE or SPAM via
this system
 220-constitutes unauthorised use and may result in
blacklisting with ISPs
 220 and/or criminal proceedings against the originators of
such messages.











There's no SSL (STARTTLS not
enabled) and its not an open relay





but you could see just how early in
the session starto Outlook barfs





(if I recall there's a 'record a log
file' option somewhere).











You should be able to attempt to
relay via my box and get the usual





550 we do not relay
unless you're sending me a mail and you're a non-





dialup internet connection.

















Mike

























- Original Message - 





From: Bryan Ross 





To: [EMAIL PROTECTED]






Sent: Sunday, February 03, 2002 9:50 AM





Subject:
[courier-users] ESMTP over SSL (again)









Hi,



Posted this question a while ago,
but didnt get anything back. I know its lame to keep reposting, but
hoping that at least one person has got this working. If im being stupid, just
say so, and Ill go away and do (yet more) reading



Anyway, Ive got pop3/imap
running over SSL, using my thawte certificate, and everything works alright. My
problem is with esmtp over ssl. I installed the relevant emstpd.cnf and
esmtpd.pem file, using the same settings as I did for the outgoing protocols
above. But, I cant seem to get Outlook to play nice with it.



From what I can understand, smtp
over ssl is normally done over port 465, but here were
using the STARTTLS extension, so the clients just connects to port 25. If I
telnet into port 25, I get the following advertised;



250-AUTH LOGIN

250-AUTH=LOGIN X-NETSCAPE-HAS-BUGS

250-STARTTLS

250-XVERP=Courier

250-XEXDATA

250-XSECURITY=NONE,STARTTLS

250-PIPELINING

250-8BITMIME

250-SIZE

250 DSN



Outlook barfs, telling me that my
server reported an internal error, but I cant find anything in the server logs.
All I see is the start of a smtp connection. I assume the problem is that
Outlook isnt starting the session properly, and therefore isnt
doing SSL, and hence, isnt authenticating but does anyone have
any clues as to why? Or even if theres some tests I can run to get a
little bit more debug info.



Oh, and just to confirm, I
dont need a emtpd-ssl config file do I ?



Thanks,



Bryan.










Re: [courier-users] ESMTP over SSL (again)

2002-02-03 Thread Michael J. Tubby B.Sc \(Hons\) G8TIC



Bryan,

Is this as simple as Outlook is unable to support 
correctly formatted
multi-line greeting messages in the 
form

 250-line1
 250-line2
 250-line3
 250 last line

NB. no continuation dash on the last line... 
Sam's output looks
fine to me. I don't use outlook but you might 
try pointing it my
mail relay which runs exim and also does multi-line 
output at
start up:

 bash$ telnet post.thorcom.com 
25
 Trying 212.172.148.70 
(post.thorcom.com) ... Connected to 
post.thorcom.com 220-post.thorcom.com ESMTP Exim 3.33 #2 
Sun, 03 Feb 2002 10:20:29 + 220-Computer Misuse Act 
(1990) UK applies - Unauthorised access prohibited. 
220-Unsolicited Commercial Email (UCE) or SPAM is not permitted 
here! 220-All connections are logged. Sending of UCE or 
SPAM via this system 220-constitutes unauthorised use and 
may result in blacklisting with ISPs 220 and/or criminal 
proceedings against the originators of such messages.

There's no SSL (STARTTLS not enabled) and its not 
an open relay
but you could see just how early in the session 
starto Outlook barfs
(if I recall there's a 'record a log file' option 
somewhere).

You should be able to attempt to relay via my box 
and get the usual
"550 we do not relay" unless you're sending me a 
mail and you're a non-
dialup internet connection.


Mike




  - Original Message - 
  From: 
  Bryan 
  Ross 
  To: [EMAIL PROTECTED] 
  
  Sent: Sunday, February 03, 2002 9:50 
  AM
  Subject: [courier-users] ESMTP over SSL 
  (again)
  
  
  Hi,
  
  Posted this question a while ago, 
  but didn’t get anything back. I know its lame to keep reposting, but hoping 
  that at least one person has got this working. If im 
  being stupid, just say so, and I’ll go away and do 
  (yet more) reading…
  
  Anyway, I’ve got pop3/imap running 
  over SSL, using my thawte certificate, and 
  everything works alright. My problem is with esmtp 
  over ssl. I installed the relevant emstpd.cnf and esmtpd.pem file, 
  using the same settings as I did for the outgoing protocols above. But, I 
  cant seem to get Outlook to play nice with 
  it.
  
  From what I can understand, smtp over ssl is ‘normally’ done over port 465, but here we’re using 
  the STARTTLS extension, so the clients just connects to port 25. If I telnet 
  into port 25, I get the following advertised;
  
  250-AUTH 
  LOGIN
  250-AUTH=LOGIN 
  X-NETSCAPE-HAS-BUGS
  250-STARTTLS
  250-XVERP=Courier
  250-XEXDATA
  250-XSECURITY=NONE,STARTTLS
  250-PIPELINING
  250-8BITMIME
  250-SIZE
  250 
  DSN
  
  Outlook barfs, telling me that my 
  server reported an internal error, but I cant find 
  anything in the server logs. All I see is the start of a smtp connection. I assume the 
  problem is that Outlook isn’t starting the session properly, and therefore 
  isn’t doing SSL, and hence, isn’t authenticating… but does anyone have any 
  clues as to why? Or even if there’s some tests I can 
  run to get a little bit more debug info.
  
  Oh, and just to confirm, I don’t 
  need a emtpd-ssl config 
  file do I ?
  
  Thanks,
  
  Bryan.


[courier-users] Re: Error in IMAP command received by server

2002-02-03 Thread Sam Varshavchik

marc lindahl writes: 

  
 
 From: Sam Varshavchik [EMAIL PROTECTED]
 
 There's RH7.2 RPMs for courier?  Where?
 
 http://www.courier-mta.org/status.html
 
 I see instructions on how to build my own RPMs from the source, but I don't
 see a link to any built RPMs, and didn't see them on the sourceforge ftp
 site  that's why I installed from source, what's the point of building
 your own RPM and then installing it, if you're just doing one machine?

Makes upgrades easier. 

Integrity verification. 

Things happen.  You may need to rebuild the machine, for some reason. 

 
 2. anyone have any idea (before I put this online) how effective the
 'require authorization' option is at stopping spam?
 
 It would be wise for you to actually read what that option does, instead of
 speculating. 
 
 The only reference I could find among the somewhat scattered documentation
 was http://www.courier-mta.org/install.html#esmtpauth which tells me that an
 auth step (in my case PAM) similar to that used to check mail is performed
 before sending mail.  Seems like that would make it harder for my smtp to be
 used as an unauthorized relay.

Right.  Except that nobody will be able to send you any mail, since it is 
unlikely that every other mail relay in the world knows the userid and 
password for your mail server. 

This option is designed to be used on port 587 only, the message submission 
protocol, which requires authentication. 


-- 
Sam 


___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Mailing list filtering

2002-02-03 Thread courier_users

Hi

Is it possible to setup a rule such that email sent to the address
[EMAIL PROTECTED], which does not come from the address
[EMAIL PROTECTED], is forwarded to another email address (i.e.
[EMAIL PROTECTED])? 

I would like to do this to prevent spamming of my email addresses that
are used exclusively for mailing lists.

Thank you






___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Attachment filtering

2002-02-03 Thread courier_users

Hi

Is it possible to have courier remove attachments such as exe, com, bat,
url, etc on incoming mail, as well as, indicate in the message that the
attachment was removed?

I've noticed the attachment name is defined twice in the email: in the
name attribute of the content-type and in the filename attribute of the
content-disposition. Which one of these should be filtered? Should the
mime value of the content-type also be used in filtering?

Thank you 


___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Re: Mailing list filtering

2002-02-03 Thread Sam Varshavchik

[EMAIL PROTECTED] writes: 

 Hi 
 
 Is it possible to setup a rule such that email sent to the address
 [EMAIL PROTECTED], which does not come from the address
 [EMAIL PROTECTED], is forwarded to another email address (i.e.
 [EMAIL PROTECTED])? 

Yes.  See the maildropfilter man page. 


-- 
Sam 


___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] Re: Error in IMAP command received by server

2002-02-03 Thread marc lindahl



 From: Sam Varshavchik [EMAIL PROTECTED]
 
 Hey... what about this idea - on port 25, requiring authorization to relay,
 but no authorization to deliver to any locally configured (hosted or
 specifically set up relays) mailboxes?
 
 That's the default configuration.

When you check the require authorization for standard ESTMP in the webadmin
form?


___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Re: Error in IMAP command received by server

2002-02-03 Thread Sam Varshavchik

marc lindahl writes: 

  
 
 From: Sam Varshavchik [EMAIL PROTECTED] 
 
 Hey... what about this idea - on port 25, requiring authorization to relay,
 but no authorization to deliver to any locally configured (hosted or
 specifically set up relays) mailboxes?
 
 That's the default configuration.
 
 When you check the require authorization for standard ESTMP in the webadmin
 form?

No.  You don't need to do anything at all, except to enable authentication 
overall. 

 

-- 
Sam 


___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] SMTP slowly driving me mad

2002-02-03 Thread Scott

 I've spent the past three hours trying to figure out this problem,
which is well on it's way to ruining my weekend.  For some reasons which I
have not been able to figure out, and as of this writing have not seen in
the archives, SMTP is hanging upon connect.  This is a brand new install
of 0.37.2 on FBSD 4.5.
 So far I've tried disabling DNS lookups, turning off various auth
modules, and rebuilding from scratch with --without-authmysql since MySQL
is installed on this machine.  A connection attempt to port 25 is made,
but then there is no SMTP banner and it will sit like that until the end
of time.  I'd appreciate some insight on to what else I should take a look
at to get this working so that I don't have to resort to backup shells to
send  receive mail.


___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] Re: Error in IMAP command received by server

2002-02-03 Thread marc lindahl



 From: Sam Varshavchik [EMAIL PROTECTED]
 Date: Sun, 03 Feb 2002 16:45:39 -0500
 To: [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 Subject: [courier-users] Re: Error in IMAP command received by server
 
 marc lindahl writes:
 
 
 
 From: Sam Varshavchik [EMAIL PROTECTED]
 
 Hey... what about this idea - on port 25, requiring authorization to relay,
 but no authorization to deliver to any locally configured (hosted or
 specifically set up relays) mailboxes?
 
 That's the default configuration.
 
 When you check the require authorization for standard ESTMP in the webadmin
 form?
 
 No.  You don't need to do anything at all, except to enable authentication
 overall. 


So the check boxes in the webadmin for are for additional authentication?


___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] [dev] what's webmail doing?

2002-02-03 Thread marc lindahl

Hi All,
I'm trying to get sqwebmail to run basically behind my own CGI server
(actually, it's an addon to Zope), and running into a wierd problem.  The
thing is basically working, you can log in, and look at the 'folders' view,
but it hangs when trying the other views (like preferences or create
message).  The way this CGI server works is by using os.popen3 (in Python)
to run the webmail script, after setting up the proper (I hope!) CGI
environment.  It's working, and I can see that the child process sets it's
owner to whoever I log in as, so it looks like it's working (well, yes, it's
working, because it properly shows the folder list for that user.  Also the
same CGI interface is working great with the webadmin script).  I'm
wondering why does it hang when, e.g. clicking on 'preferences'?  'folders'
is the only navbar choice that seems to work.  I've been looking thru the
source, but I don't see what could be the problem.  Any ideas what it could
be doing that would cause os.popen3 to hang?  Maybe trying to open some file
or fork something?  I've been on this for days


___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] shared folders question

2002-02-03 Thread Carl St-Jacques

Hi,

I'm trying to use the shared folders to put some e-mails in one folder. I
added a rule in .mailfilter to put the e-mails in a shared folder. The new
e-mails are added to the shared folder but the problem is that I can't
retrieve these e-mails in this shared folder from my client. I have to
change the owner of the files to my username to see these new e-mails. So it
is possible to let courier-imap see all the emails even I'm not the owner of
these files?

Thanks.
Carl St-Jacques


___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Re: SMTP slowly driving me mad

2002-02-03 Thread Sam Varshavchik

Scott writes: 

  So far I've tried disabling DNS lookups, turning off various auth
 modules, and rebuilding from scratch with --without-authmysql since MySQL
 is installed on this machine.  A connection attempt to port 25 is made,
 but then there is no SMTP banner and it will sit like that until the end
 of time.  I'd appreciate some insight on to what else I should take a look

What about identd lookups? 

-- 
Sam 


___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Re: shared folders question

2002-02-03 Thread Sam Varshavchik

Carl St-Jacques writes: 

 Hi, 
 
 I'm trying to use the shared folders to put some e-mails in one folder. I
 added a rule in .mailfilter to put the e-mails in a shared folder. The new
 e-mails are added to the shared folder but the problem is that I can't
 retrieve these e-mails in this shared folder from my client. I have to
 change the owner of the files to my username to see these new e-mails. So it
 is possible to let courier-imap see all the emails even I'm not the owner of
 these files?

You cannot deliver to shared folders.  Mail must be delivered to a regular 
mailbox, and the mailbox's owner than copies the message to the shared 
folder. 

It is also possible to use maildrop.  In the current version of maildrop the 
variable UMASK can be set to select the file permissions on the delivered 
message. 


-- 
Sam 


___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users