Re: [courier-users] mail loops back to myself

2004-08-06 Thread Anand Buddhdev
gerd kranz wrote:
hi all,
i have an debian router with courier-mta installed
the eth0 is connected to an dsl-router and
the eth1 is connected to the internal lan
in my bind config i have the mx record set to the fqdn-name of the 
server and the ip of the server is the internal nic

when i send a mail via crontab to a local user i became the error:
mail loops back to myself
why this? what is wrong in my settings?
You've forgotten to define your domain as local. Add it to the locals 
file and restart courier.

---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] imap not finding new mail

2004-07-29 Thread Anand Buddhdev
Comrade Burnout wrote:
i just set up a new mailserver.  delivery seems to be working just fine. 
i can see that there are new messages waiting to be read (by doing an `ls`
in a user maildir:

/opt/usermail/domains/web.com/burnout/new
shows me about 20 messages, so i know they're there.
my IMAP server isn't seeing these new messages.  i can access it from 2
clients, a 'normal' mailread (Moz mail, in this case) or via the web (i
have squirrelmail installed).
neither of these methods shows the new messages.  i did copy old messages
over to the new machine, so i'm starting to think that something is
missing/ didn't get copied over correctly.  
A default installation of courier will look for messages in 
/path/to/user/homedir/Maildir. So, if you have a user called burnout, as 
I can see above, then you would create a Maildir in 
/opt/usermail/domains/web.com/burnout. At the moment, it seems as if you 
have defined /opt/usermail/domains/web.com/burnout itself as the 
Maildir. There is nothing wrong with that in theory. However, you must 
then ensure that you set the maildir parameter in your authentication 
database to let the system know that the home directory and the maildir 
are the same.

---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Wierd Error Message

2004-07-27 Thread Anand Buddhdev
Jim Gifford wrote:
Classic mistake. You're running a shell script from your dot-courier 
file, and you're using the SENDER environment variable without quoting 
it. When you get a rogue email message with a quote in the sender 
address, the shell sees the lone quote in the sender address, and gets 
confused because there's no matching end quote. Make sure you sorround 
the SENDER variable with quotes, for example:

$SENDER instead of just $SENDER
No .courier in use, only .mailfilter for moving messages into the proper 
folders.
But the error message is clearly from a shell. Does your .mailfilter 
contain any instructions which call an external program? It would help 
if you can post your .mailfilter too.

---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721alloc_id=10040op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Wierd Error Message

2004-07-27 Thread Anand Buddhdev
Jim Gifford wrote:
Anand Buddhdev wrote:
Jim Gifford wrote:
Classic mistake. You're running a shell script from your dot-courier 
file, and you're using the SENDER environment variable without 
quoting it. When you get a rogue email message with a quote in the 
sender address, the shell sees the lone quote in the sender address, 
and gets confused because there's no matching end quote. Make sure 
you sorround the SENDER variable with quotes, for example:

$SENDER instead of just $SENDER
No .courier in use, only .mailfilter for moving messages into the 
proper folders.
But the error message is clearly from a shell. Does your .mailfilter 
contain any instructions which call an external program? It would help 
if you can post your .mailfilter too.
The only thing I have in my shell that uses variables is amavis. Here is 
the amavis section

# Virus Scan
#
import SENDER
import RECIPIENT
if ($SENDER ne )
   {
   FROM=escape($SENDER)
   }
   else
   {
   FROM=[EMAIL PROTECTED]
   }
if ($RECIPIENT ne )
   {
   TO=escape($RECIPIENT)
   }
   else
   {
   TO=[EMAIL PROTECTED]
}
xfilter /usr/sbin/amavis debug $SENDER $RECIPIENT
Well, there you are! You're passing unquoted SENDER and RECIPIENT 
variables to the shell (xfilter runs its argument in a shell). What 
surprises me is that you've taken great pains to quote the SENDER and 
RECIPIENT using the escape() function, but then you're not using them. 
You should change your xfilter line to read:

xfilter /usr/bin/amavis debug $FROM $TO

---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721alloc_id=10040op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Wierd Error Message

2004-07-26 Thread Anand Buddhdev
Jim Gifford wrote:
I have a problem with one email giving me a strange error, every other 
email delivers with no problems. Any suggestions or ideas on what's 
going on.

ul 26 16:35:43 server courierlocal: 
id=0002C018.41055BAD.39DF,from=banei'[EMAIL PROTECTED],addr=[EMAIL PROTECTED]: 
sh: -c: line 1: unexpected EOF while looking for matching `''
Jul 26 16:35:43 server courierlocal: 
id=0002C018.41055BAD.39DF,from=banei'[EMAIL PROTECTED],addr=[EMAIL PROTECTED]: 
sh: -c: line 2: syntax error: unexpected end of file
Jul 26 16:35:43 server courierlocal: 
id=0002C018.41055BAD.39DF,from=banei'[EMAIL PROTECTED],addr=[EMAIL PROTECTED]: 
maildrop: error writing to filter.
Jul 26 16:35:43 server courierlocal: 
id=0002C018.41055BAD.39DF,from=banei'[EMAIL PROTECTED],addr=[EMAIL PROTECTED]: 
maildrop: Unable to filter message.
Jul 26 16:35:43 server courierlocal: 
id=0002C018.41055BAD.39DF,from=banei'[EMAIL PROTECTED],addr=[EMAIL PROTECTED],status: 
deferred
Jul 26 16:35:43 server courierd: completed,id=0002C018.41055BAD.39DF
Jul 26 16:40:43 server courierd: 
started,id=0002C018.41055BAD.39DF,from=banei'[EMAIL PROTECTED],module=local,host=jim!!501!501!/home/jim!!,addr=jim 

Jul 26 16:40:48 server courierlocal: 
id=0002C018.41055BAD.39DF,from=banei'[EMAIL PROTECTED],addr=[EMAIL PROTECTED]: 
sh: -c: line 1: unexpected EOF while looking for matching `''
Jul 26 16:40:48 server courierlocal: 
id=0002C018.41055BAD.39DF,from=banei'[EMAIL PROTECTED],addr=[EMAIL PROTECTED]: 
sh: -c: line 2: syntax error: unexpected end of file
Jul 26 16:40:48 server courierlocal: 
id=0002C018.41055BAD.39DF,from=banei'[EMAIL PROTECTED],addr=[EMAIL PROTECTED]: 
maildrop: error writing to filter.
Jul 26 16:40:48 server courierlocal: 
id=0002C018.41055BAD.39DF,from=banei'[EMAIL PROTECTED],addr=[EMAIL PROTECTED]: 
maildrop: Unable to filter message.
Jul 26 16:40:48 server courierlocal: 
id=0002C018.41055BAD.39DF,from=banei'[EMAIL PROTECTED],addr=[EMAIL PROTECTED],status: 
deferred
Jul 26 16:40:48 server courierd: completed,id=0002C018.41055BAD.39DF
Classic mistake. You're running a shell script from your dot-courier 
file, and you're using the SENDER environment variable without quoting 
it. When you get a rogue email message with a quote in the sender 
address, the shell sees the lone quote in the sender address, and gets 
confused because there's no matching end quote. Make sure you sorround 
the SENDER variable with quotes, for example:

$SENDER instead of just $SENDER
---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721alloc_id=10040op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Can Courier log into an outbound relay server?

2004-07-22 Thread Anand Buddhdev
Eric Livingston wrote:
I have an esmtproutes file with a single line that looks like this:
 
:smtp.comcast.net
 
This successfully relays my outgoing mail through Comcast's servers, but 
there are some recipient servers that don't seem to accept mail from 
this domain.
 
I'd like to change that to another outbound relaying service (dyndns's 
Mailhop Outbound), but their outbound relay server requires a login.
 
Is there a way to get Courier to provide username and password 
credentials for an outbound relay server?
echo 'out.bound.relay username password'  /etc/courier/esmtpauthclient
echo 'some.domain:out.bound.relay'  /etc/courier/esmtproutes

---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721alloc_id=10040op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] sqwebmail default domain setting

2004-07-20 Thread Anand Buddhdev
Carlos Hanson wrote:
Formerly posted on the courier-sqwebmail list:
Greetings,
After setting up sqwebmail and logging into my account, in the upper
right-hand corner I have [EMAIL PROTECTED] rather than
[EMAIL PROTECTED]  Naturally, when I send an email through
sqwebmail it defaults to [EMAIL PROTECTED]
How do I change it to my domain name rather than my hostname?
echo 'clanhansom.com'  /path/to/sqwebmail/hostname
I know the file is called hostname, so it might sound confusing, but the 
value in there is actually used for the domain part of addresses.

---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721alloc_id=10040op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Re: RFC 2047 charset displayed in the reply screen

2004-07-09 Thread Anand Buddhdev
Sam Varshavchik wrote:
I'm using sqwebmail 4.0.5, and I've noticed that if I reply to an 
email where the sender's name has been encoded according to RFC 
2047, then the character set of the encoding shows up before the 
sender's name in the reply screen. I've created a screenshot for you 
to have a look at:

http://anand.org/webmail.jpg
Is this intentional, or a bug that needs fixing?
Yes, and no.  Character sets are meant to be shown in this fashion, 
in some circumstances.  It remans to be seen whether this should 
happen in this specific instance.
Ok, the header looks like this:
From: =?iso-8859-1?q?Jean=20Swallow?= [EMAIL PROTECTED]
I've deliberately left out the domain part to stop the address being 
harvested. So what is the reason for showing the character set in this 
case?
A few possible reasons are the browser using some character set other 
than iso-8859-1, or utf-8; or the --disable-unicode option was used to 
build sqwebmail.
My browser (firefox 0.8) sends:
ISO-8859-1,utf-8;q=0.7,*;q=0.7
in the accept charset HTTP header. And I did *not* build sqwebmail with 
the --disable-unicode option.


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Re: RFC 2047 charset displayed in the reply screen

2004-07-09 Thread Anand Buddhdev
Sam Varshavchik wrote:
I'm using sqwebmail 4.0.5, and I've noticed that if I reply to an 
email where the sender's name has been encoded according to RFC 
2047, then the character set of the encoding shows up before the 
sender's name in the reply screen. I've created a screenshot for 
you to have a look at:

http://anand.org/webmail.jpg
Is this intentional, or a bug that needs fixing?
Yes, and no.  Character sets are meant to be shown in this fashion, 
in some circumstances.  It remans to be seen whether this should 
happen in this specific instance.
Ok, the header looks like this:
From: =?iso-8859-1?q?Jean=20Swallow?= [EMAIL PROTECTED]
I've deliberately left out the domain part to stop the address being 
harvested. So what is the reason for showing the character set in 
this case?
A few possible reasons are the browser using some character set other 
than iso-8859-1, or utf-8; or the --disable-unicode option was used 
to build sqwebmail.
My browser (firefox 0.8) sends:
ISO-8859-1,utf-8;q=0.7,*;q=0.7
in the accept charset HTTP header. And I did *not* build sqwebmail 
with the --disable-unicode option.
In this case the character set tag should not be necessary.
So it's a bug in sqwebmail?

---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Outlook 2003 client config for Courier-IMAP

2004-07-09 Thread Anand Buddhdev
Bill Mounsey wrote:
Here is an error I am getting when I setup my Outlook 2003 client for
my IMAP server...
Your message did not reach some or all of the intended recipients.
  Subject:  test
  Sent: 7/9/2004 6:28 PM
The following recipient(s) could not be reached:
  '[EMAIL PROTECTED](dot)com' on 7/9/2004 6:28 PM
553 sorry, that domain isn't in my list of allowed
rcpthosts (#5.7.1)
You're confused. Courier-imap is used to *read* email, not send it. That 
error you're seeing occurs when sending a message. And secondly, that 
error message is from qmail, so you need to be asking your question on 
the qmail list, not here.

---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Re: RFC 2047 charset displayed in the reply screen

2004-07-08 Thread Anand Buddhdev
Sam Varshavchik wrote:
I'm using sqwebmail 4.0.5, and I've noticed that if I reply to an 
email where the sender's name has been encoded according to RFC 2047, 
then the character set of the encoding shows up before the sender's 
name in the reply screen. I've created a screenshot for you to have a 
look at:

http://anand.org/webmail.jpg
Is this intentional, or a bug that needs fixing?
Yes, and no.  Character sets are meant to be shown in this fashion, in 
some circumstances.  It remans to be seen whether this should happen in 
this specific instance.
Ok, the header looks like this:
From: =?iso-8859-1?q?Jean=20Swallow?= [EMAIL PROTECTED]
I've deliberately left out the domain part to stop the address being 
harvested. So what is the reason for showing the character set in this case?

---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] RFC 2047 charset displayed in the reply screen

2004-07-07 Thread Anand Buddhdev
Hi Sam,
I'm using sqwebmail 4.0.5, and I've noticed that if I reply to an email 
where the sender's name has been encoded according to RFC 2047, then the 
character set of the encoding shows up before the sender's name in the 
reply screen. I've created a screenshot for you to have a look at:

http://anand.org/webmail.jpg
Is this intentional, or a bug that needs fixing?
---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] A Colon (:) in real names

2004-07-02 Thread Anand Buddhdev
On Fri, Jul 02, 2004 at 02:14:30PM +0100, Peter Ford wrote:

 Hi,
 
 One of my users set his From: address in his mail client (mozilla, I think) to 
 put a colon character in the real name bit, so I guess the message headers 
 were coming in like From: Real Name: Role [EMAIL PROTECTED]
 This seems to have caused his message to appear to come from 
 [EMAIL PROTECTED] (when he replaces ':' with '-' all is well).
 Is this something that's documented in RFCs? Or is it a special feature of 
 Courier (probably both, given Courier's dedication to the RFCs). I don't 
 recall the descriptive part of an address not allowing ':' although it makes 
 a kind of sense...

In a header field, a colon MUST be quoted. So if the mail client isn't
quoting the colon, then it's buggy.

However, I can't comment on courier's behaviour when it encounters an
unquoted colon, because I simply don't know.

-- 
Anand Buddhdev
Celtel International


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Maildirs

2004-07-02 Thread Anand Buddhdev
On Fri, Jul 02, 2004 at 09:22:30PM +0100, Neil Moore wrote:

 I am considering writing some scripts to move all messages from one
 folder to another, and to empty folders in maildirs, both using the
 the filesystem (eg. rm and mv commands).
 
 When I began to investigate this I see that there are more files in
 directories than there are emails (at least in the inbox). I think
 that the S suffix means that the emails are read and current, but I'm
 interested to find out what the ST, RST, etc. suffixes mean.

http://cr.yp.to/proto/maildir.html

 Could anyone explain this, and tell me if i can empty a mailbox by
 simply removing all the files, and move the contents of a mailbox by
 moving all the files?

Yes.

-- 
Anand Buddhdev
Celtel International


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Re: Outbound authentication

2004-06-24 Thread Anand Buddhdev
On Thu, Jun 24, 2004 at 09:17:41AM -0400, Bowie Bailey wrote:

  220 mail.bellsouth.net ESMTP server (InterMail vM.5.01.06.08 
  201-253-122-130-108-20031117) ready Wed, 23 Jun 2004 18:28:26 -0400
  EHLO default
  250-imf00aec.mail.bellsouth.net
  250-HELP
  250-PIPELINING
  250-DSN
  250-8BITMIME
  250 SIZE 26214400
 
 Interesting.  I get the same response from all their servers, but I'm
 currently using authentication when I send mail directly from my
 Windows box.  Is it possible that the server accepts authentication,
 but doesn't advertise it?

Well, that would indeed be quite silly. How would any clients know to
authenticate if AUTH isn't advertised?

Are you _sure_ your windows boxes are authenticating? Try doing a
tcpdump of the connection between your windows box and the server to
see what exactly is going on. I don't know enough about windows mail
clients, but perhaps your mail client is falling back to an
unauthenticated connection when it can't use SMTP AUTH.

-- 
Anand Buddhdev
Celtel International



---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Relaying Denied error

2004-06-24 Thread Anand Buddhdev
On Thu, Jun 24, 2004 at 02:49:01PM -0500, Gregory Harrison wrote:

 I've set up Courier 0.42.2 on RedHat 9.  Everything is set up and working,
 except when trying to use Outlook to send mail via SMTP.  I receive relaying
 denied errors from one of my users.  He is on a DSL connection without a
 static IP, so adding to smtpaccess doesn't seem to be a solution.
  
 I've read several articles about authenticated SMTP getting around relay
 domains.  Can anyone point me to a good article/FAQ on how this works and
 how to set it up?  I'm currently authenticating with the userdb file
 (authuserdb).  However, I've installed the whole gamut when I built courier.

http://www.courier-mta.org/install.html#esmtpauth

If you'd read the installation document, you'd have seen this.

-- 
Anand Buddhdev
Celtel International


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Not sure about how to interpret this log entry

2004-06-23 Thread Anand Buddhdev
On Wed, Jun 23, 2004 at 08:26:09AM -0700, Scott wrote:

 dig -t mx otherdomain.de to find the MX.
 
 telnet MX 25
 Trying aaa.bbb.ccc.ddd...
 Connected to MX.
 Escape character is '^]'.
 220 otherdomain.de ESMTP
 STARTTLS  -- issue this command
 220 Ok  -- if this is the response then you're ok.
 
 If it says 454 TLS missing certificate instead of the 220 response then 
 it's a problem with their server.  Lately I've been getting a lot of these, 
 I check the whois, call the SA and they take care of it.  Lots of people 
 are running servers advertising TLS without a certificate.

I used to get a lot of these too. However, I don't see any usefulness
in doing TLS with arbitrary servers out there. Therefore, I choose to
turn OFF TLS for all my outgoing SMTP connections.

-- 
Anand Buddhdev
Celtel International



---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Incomplete hostname in SqWebmail

2004-06-23 Thread Anand Buddhdev
On Wed, 23 Jun 2004 20:51:09 +0200 Martin Pihl Jensen wrote:

 Hi
 
 When users are creating a new message in SqWebmail the hostname part in the
 From field is set to afrodite (the name of my server), but should be
 skydebanen.net. Hostname -f returns a FQDN.
 
 By searching around I have found hints about setting the correct value of
 the hostname in /usr/local/share/sqwebmail/hostname, but there is no file
 called hostname with relevance to SqWebmail on my system.

This only applies to the stand-alone version of sqwebmail, which is at version 4.0.5.

 I am running SqWebmail ver. 0.45.4-1 (the version number taken from the
 Courier-mta package) on Debian Sarge.
 
 How can I set the hostname (or where is the correct placement of hostname
 file on my system)?

Right, so you appear to be using the sqwebmail that is integrated into courier.
In that case, the domain name for messages created by webmail are determined
by the value of /path/to/courier/etc/defaultdomain. Since this is debian, I will
guess that the config files are in /etc/courier, so you need to set up
/etc/courier/defaultdomain.

-- 
Anand Buddhdev
Celtel International



---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Outbound authentication

2004-06-23 Thread Anand Buddhdev
On Wed, Jun 23, 2004 at 04:23:09PM -0400, Bowie Bailey wrote:

 I am trying to configure Courier to send all my mail through my ISP's
 (Bellsouth) mailserver.  Too many servers reject direct mail from my
 DSL IP.  Bellsouth requires authentication, so I need to enable it in
 Courier.  So far, every attempt ends the same way.
 
 Note that I am masking the email addresses and passwords.
 
courieresmtpd:
 error,relay=:::205.152.59.70,from=[EMAIL PROTECTED],
to=[EMAIL PROTECTED]: 513 Relaying denied.
 
 I have set up the following configuration.
 
 /etc/courier/esmtpauthclient:
 mx00.mail.bellsouth.net [EMAIL PROTECTED] PASSWORD
 
 (This is the same username and password that works just fine from
 Outlook or Thunderbird.)
 
 /etc/courier/esmptroutes:
 :mx00.mail.bellsouth.net
 
 (I have tried a couple of variations on this, with the same results)
 
 What am I missing?  Is there another setting somewhere?

Things to check for:

1. Does the server mx00.mail.bellsouth.net support SMTP
authentication?

2. If it does support authentication, which methods does it support?

You can check this by connecting to it on port 25, and sending and
EHLO command and seeing what is advertised. I tried to connect to it
from here, but it doesn't advertise SMTP AUTH. However, that doesn't
mean it doesn't support it, since it may only be advertising it to
customer networks.

-- 
Anand Buddhdev
Celtel International


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] courieresmtpd: writev: Broken pipe

2004-06-21 Thread Anand Buddhdev
On Mon, Jun 21, 2004 at 11:24:26AM +0600, chepil wrote:

 Message from maillog, courieresmtpd: writev: Broken pipe 
 
 So, all work fine, but what is it ? I'm use FreeBSD 5.2, Courier 0.45.6
 
 cat /var/log/maillog | grep writev | more
 
 Jun 21 02:18:13 mail courieresmtpd: writev: Broken pipe
 Jun 21 02:18:17 mail courieresmtpd: writev: Broken pipe

This is most often the case when a remote client sends the SMTP QUIT
command, but then immediately disconnects without waiting for the
session to complete. qmail, postfix and exim all do that, as a way to
shave off a few milliseconds of each outbound SMTP connection, since
the QUIT doesn't really serve any useful purpose. Courier gets upset
about this premature termination, and complains by logging the event.
Nothing to worry about.

-- 
Anand Buddhdev
Celtel International


---
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Re: sqwebmail 4.0.5: bug in ldapsearch script

2004-06-16 Thread Anand Buddhdev
On Tue, Jun 15, 2004 at 06:40:58PM -0400, Sam Varshavchik wrote:

 Anand Buddhdev writes:
 
 You need to modify the configure script to look for ldapsearch in the
 correct place, instead of hard-coding it in.
 
 That's exactly what it does:
 
 
 LPATH=$PATH:/usr/local/bin
 
 
 
 AC_PATH_PROG(ldapsearch, ldapsearch, /usr/local/bin/ldapsearch, $LPATH)

Mea culpa. The machine where I built sqwebmail didn't have the
openldap-clients package installed.

-- 
Anand Buddhdev
Celtel International


---
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] sqwebmail 4.0.5: --enable-webpass=no not working

2004-06-16 Thread Anand Buddhdev
Hi Sam,

I see this comment in the preferences.html template:

Do not remove the following code, which causes password entry to be
omitted if configured with enable-webpass=no

However, if I configure sqwebmail with that option, it seems to have
no effect, and the password change boxes still show up. On our system,
users manage their passwords from another interface, and I'd like to
remove the password change option from sqwebmail.

-- 
Anand Buddhdev
Celtel International


---
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Courier Maildir intead of /new

2004-06-16 Thread Anand Buddhdev
On Wed, Jun 16, 2004 at 12:21:02PM +0200, Dinosoft Italia wrote:

 Every user has its Courier Mail dir with
 /new
 /tmp
 /cur
 
 but courier creates Maildir file too inside the email dir  !!!
 
 Here is the example
 If user [EMAIL PROTECTED] receive an email
 
 so the maildir tree becomes ...
 
 /mario
 /new  (empty)
 /tmp (empty)
 /cur (empty)
  Maildir (with all emails appended...)

Your setup is wrong. It should be like this:

/mario
/Maildir
/new
/cur
/tmp

Then, courier will create new email message files in mario/Maildir/new

 Il mer, 2004-06-16 alle 11:56, Anand Buddhdev ha scritto:
  On Wed, Jun 16, 2004 at 11:56:41AM +0200, Dinosoft Italia wrote:
  
   Good morning,
   we have installed Courier ESMTP /POP3D on a Linux Server running Fedora 
   
   This is the problem :
   
   when we send an email to this server courier append the email to Maildir
   file in the directory of the owner leaving /new dir empty,but we want
   courier to write a single file for any email and put it in the /new
   directory of the owner and no append it in Maildir file What are the
   right configuration ? Thanks Gabriele
  
  You must make sure that a Maildir directory (with the new, cur and
  tmp) subdirectories exists in the user's home directory before courier
  delivers any email. Otherwise courier will create a _file_ called
  Maildir, which you don't want. The best thing to do is to create a
  Maildir in the /etc/skel directory so that each new user automatically
  gets a Maildir.
 -- 
 Dinosoft Italia
 http://www.dinosoft.it
 Tel. +39 0187 1873615

-- 
Anand Buddhdev
Celtel International


---
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] sqwebmail 4.0.5: bug in ldapsearch script

2004-06-15 Thread Anand Buddhdev
Hi Sam,

Operating system: Fedora core 1.

I've just noticed today that, by default, the ldapsearch script gets
installed like this:

exec /usr/local/bin/ldapsearch -l 60 -z 20 $@

However, on most linux systems, ldapsearch is installed in /usr/bin.
The configure script only checks for ldapsearch in /usr/local/bin, and
there's no configure option to override the path, as far as I can see.

The result of this buglet is a file not found error when trying to
use the global addressbook search option. I've had to modify the
ldapsearch script and fix the path (an alternative is a symlink).

You need to modify the configure script to look for ldapsearch in the
correct place, instead of hard-coding it in.

-- 
Anand Buddhdev
Celtel International


---
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] courier esmtpd and RFC2554 compliance

2004-06-08 Thread Anand Buddhdev
On Mon, Jun 07, 2004 at 04:35:42PM -0700, [EMAIL PROTECTED] wrote:

 I've been testing some development releases of the IMAP4/SMTP mail
 client application that will be shipping on upcoming Motorola cell
 phones (yes, I work for motorola). I run a courier 0.45.5 server at home
 (mail.buberel.org), which I have been using for testing.
 
 Happily, I can verify that IMAP4 access over SSL/TLS works wonderfully from
 the phone. However, I'm having problems with sending mail message from
 the phone using authentication SMTP. My server is configured to allow
 PLAIN and LOGIN authentication for SMTP when SSL or TLS are used.
 
 In my server logs, I see the following client dialog when trying to send
 mail from the phone:
 
 Jun 4 09:52:56 taylor courieresmtpd: started,ip=[:::66.102.167.246]
 Jun 4 09:52:57 taylor courieresmtpd: EHLO 10.200.150.91
 Jun 4 09:52:58 taylor courieresmtpd: STARTTLS
 Jun 4 09:53:06 taylor courieresmtpd: EHLO 10.200.150.91
 Jun 4 09:53:07 taylor courieresmtpd: AUTH PLAIN
 Jun 4 09:53:07 taylor courieresmtpd: error,relay=:::66.102.167.246,msg=535 
 Authentication failed.,cmd: AUTH PLAIN

You might also want to tell the Motorola engineer that bare IP
addresses in EHLO are not allowed by the RFCs. Courier and qmail don't
mind, but I know that exim and postfix can both be configured to be
stricter and reject mail from such clients. The IP address has to be
sorrounded in square brackets [].

-- 
Anand Buddhdev
Celtel International


---
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Courier-IMAP config directory

2004-06-02 Thread Anand Buddhdev
Hi Sam,

The default configuration directory of the courier-imap RPM build is
/usr/lib/courier-imap/etc. However, I always extract the spec file,
and change that to /etc/courier-imap, because I believe that all
config files should live in /etc, where they belong. And also, when
backing up the configuration of a server, I can just backup /etc, and
not lose any settings.

Why don't you change the default sysconfdir macro to point to
/etc/courier-imap ?

I'm also trying to get all of sqwebmail's config files to go into
/etc/sqwebmail, but it's a little tricker, since there's no actual
config directory for sqwebmail. Rather, the config files are all laid
out under the htmllibdir directory. Would it not be better if the
following files all went into /etc/sqwebmail ?

authdaemonrc.dist
authmysqlrc.dist
authpgsqlrc.dist
authldaprc.dist
configlist
ldapaddressbook.dist
ldapsearch
nodsn
sendit.sh
sqwebmaild.dist
sysconftool
sysconftool-rpmupgrade
webgpg

And perhaps the HTML templates could also all go into
/etc/sqwebmail/html, since they are, in a way, configuration files (a
site could edit the template files to apply their own colours, styles,
etc).

Will you accept patches for the spec files if I change them to put the
configuration into /etc ?

-- 
Anand Buddhdev
Celtel International


---
This SF.Net email is sponsored by the new InstallShield X.
From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Re: Removing the ACL controls from webmail

2004-05-27 Thread Anand Buddhdev
On Thu, May 27, 2004 at 10:00:25AM +, [EMAIL PROTECTED] wrote:

Hi Scott,

 We offer webmail to our customers using sqwebmail. I'm currently using
 version 4.0.4 on our servers. I'd like to use the latest version
 because it offers enhancements and bug fixes. However, I don't want to
 confuse my users with the new ACL controls provided in version 4 and
 above. Is there any way to get sqwebmail to NOT display the little key
 symbols next to the folder names? I checked the documentation and
 didn't see any explicit mention of this (unless I missed it). 
 
 I got rid of it by deleting this line from the installed 
 /usr/lib/courier/share/sqwebmail/html/en-us/folders.html file. 
 
 [#$ACLICON=@@key.png, width=21 height=16 alt=Folders 
 title=Permissions border=0@[EMAIL PROTECTED] 
 
 So far, it's produced the desired effect with no negative side-effects. 
 
 I also did the same with this line, as I didn't want the Public Folders, 
 either: 
 
 [#$PUBLICFOLDERS=emPublic Folders/em#] 

Ah yes, that's a much better idea. Sam's idea of an invisible GIF
image still has the problem that a user could click on it anyway, and
end up with a screen that confuses him or her.

Thanks!

-- 
Anand Buddhdev
Celtel International


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Attachments

2004-05-26 Thread Anand Buddhdev
On Wed, May 26, 2004 at 12:01:44PM -0400, Shane Gegan wrote:

 Hello There,
 
 I am having issues sending messages from the outlook client that have
 attachments regular messages send out fine.  Any ideas?

Well, we're all just humans, and we can't read your mind (yet), so
you'd do yourself a favour if you actually told us _what_ the issues
are. Then we'd be in a better position to help you. Example of useful
information that you can give are:

- relevant portions of the mail log files
- error messages displayed by your mail clients

Get the hint?

-- 
Anand Buddhdev
Celtel International


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Removing the ACL controls from webmail

2004-05-26 Thread Anand Buddhdev
We offer webmail to our customers using sqwebmail. I'm currently using
version 4.0.4 on our servers. I'd like to use the latest version
because it offers enhancements and bug fixes. However, I don't want to
confuse my users with the new ACL controls provided in version 4 and
above. Is there any way to get sqwebmail to NOT display the little key
symbols next to the folder names? I checked the documentation and
didn't see any explicit mention of this (unless I missed it).

-- 
Anand Buddhdev
Celtel International


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Workaround a broken SMTP server

2004-05-21 Thread Anand Buddhdev
On Fri, May 21, 2004 at 11:22:19AM +0300, Mircea Damian wrote:

 Hi,
 
 Is there a way to disable outgoing esmtp TLS encryption for some 
 specific mail servers?

echo 'broken.domain:mail.broken.domain/SECURITY=NONE'  /etc/courier/esmtproutes

-- 
Anand Buddhdev
Celtel International



---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] how do I make courier use a smarthost that requires authentication?

2004-05-21 Thread Anand Buddhdev
On Thu, May 20, 2004 at 10:34:14PM +0200, Felix Maibaum wrote:

 Hi!
 
 Can anyone tell me how I can make courier use a smarthost that needs 
 authentication for outgoing mail?

echo ':smart.host'  /etc/courier/esmtproutes
echo 'smart.host username password'  /etc/courier/esmtpauthclient

No need to restart courier. The changes will be noticed almost
immediately as new courieresmtp clients start up to deliver email.

-- 
Anand Buddhdev
Celtel International



---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Workaround a broken SMTP server

2004-05-21 Thread Anand Buddhdev
On Fri, May 21, 2004 at 06:35:26PM +0300, Mircea Damian wrote:

 Thanks, that is it!
 
 Pushing that forward: is it possible to fallback in case of 454 message  
 for any outgoing mail server?
 
 (I mean: I want to send it encrypted but if that fails with 454 just go 
 over it)

You can't do that in courier. You can either turn off TLS on a per
domain basis, or you can do it globally by setting ESMTP_USE_TLS=0 in
the /etc/courier/courierd file. But you can't tell courier to ignore
the TLS error and continue with an unencrypted session.

 Anand Buddhdev wrote:
 
 On Fri, May 21, 2004 at 11:22:19AM +0300, Mircea Damian wrote:
 
  
 
 Hi,
 
 Is there a way to disable outgoing esmtp TLS encryption for some 
 specific mail servers?

 
 
 echo 'broken.domain:mail.broken.domain/SECURITY=NONE'  
 /etc/courier/esmtproutes
 
  
 
 
 -- 
 http://www.astral.ro/
 *Mircea Damian*
 Manager Infrastructura Metropolitana - Internet  Data
 Astral Telecom
 Mihai Bravu 223
 Sector 3, cod 030301
 Tel:  021 326 5003
 Fax:  021 326 6196
 GSM:  0745 128 110
 
 www.astral.ro http://www.astral.ro/

-- 
Anand Buddhdev
Celtel International



---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] mailq

2004-05-19 Thread Anand Buddhdev
On Wed, May 19, 2004 at 08:53:18AM -0700, Robert Horton wrote:

 And another question:
 
 My mailq is quite suddenly filled with over 1000 messages to various 
 address which, based on the address, are over in tawain. Is there 
 anyway to clear the mailq in one fell swoop or do I have to cancelmsg 
 id for EVERY message?

Hmm... sounds like some spammer has managed to relay through your mail
server (unlikely with the default configuration), or has managed to
send spam through one of your downstreams, which uses you as a relay,
and all those messages are DSNs from the downstream.

If you want to zap _all_ the messages, you can stop courier, then
remove all the files from /var/spool/courier/msg{s,q}/*/* and restart
courier.

-- 
Anand Buddhdev
Celtel International


---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Setting max attachment size

2004-05-12 Thread Anand Buddhdev
On Wed, May 12, 2004 at 09:02:06AM -0700, Robert Horton wrote:

 Hi all!
 
 I have courier installed and working wonderfully.
 
 My question is: Where can I set the maximum allowable attachment size?
 
 Here is the error I get in mail.log:
 
 523 Message length exceeds administrative limit.
 
 Any help would be greatly appreciated!

You can't set a separate attachment size limit. You can however, set a
global message size limit. The default is 10MB. To change it, put your
desired value into /etc/courier/sizelimit.

-- 
Anand Buddhdev
Celtel International


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] sqwebmail 4.0.2 bug report: quota not updated after purge

2004-05-10 Thread Anand Buddhdev
Hi Sam,

I'm using sqwebmail 4.0.2 with the --with-trashquota option. I've
observed the following bug:

If I delete a message from a folder, it gets moved to the Trash
folder, and the maildirsize file remains unchanged. This is expected
behaviour, since I want to count the files in Trash as part of the
quota. However, if I subsequently go into the Trash folder and
manually purge the messages, the maildirsize file is _not_ updated,
when in fact it should be.

-- 
Anand Buddhdev
Celtel International


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] esmtp auth off by default?

2004-02-25 Thread Anand Buddhdev
On Tue, Feb 24, 2004 at 09:37:47PM -0800, Gordon Messmer wrote:

 Is it just me or is AUTH off by default?

It's off by default. One always has to go and set the 2 variables in
esmtpd for AUTH to work. Sam insists that SMTP authentication is
already configured and nothing needs to be done, so either he's
mistaken, or it's a bug in the default configuration file.

-- 
Anand Buddhdev


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Using sqwebmail's authdaemon with courier-imap

2004-02-19 Thread Anand Buddhdev
I want to compile and install sqwebmail and courier-imap on a system
to use with exim as the MTA.

I will first build sqwebmail. I want to be able to use sqwebmail's
authdaemon with courier-imap too, to avoid running multiple instances
of authdaemon.

Is it correct to pass this option to courier-imap's configure script:

configure --with-authdaemonvar=/path/to/sqwebmail/var

Should I also manually edit courier-imap's imapd.rc script to avoid
starting another copy of authdaemon?

Have I overlooked any other essential steps?

-- 
Anand Buddhdev


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Making user names case-insensitive?

2004-02-13 Thread Anand Buddhdev
On Fri, Feb 13, 2004 at 10:32:39AM +0100, Flavio Stanchina wrote:

 Anand Buddhdev wrote:
 
 man courier, and search for locallowercase
 
 Thanks all, my fault, I overlooked this option. However, if I understand 
 correctly, it works only for local accounts. Does this mean real 
 accounts only or does it work for virtual (userdb) accounts too?

It works for *all* accounts that are delivered locally, whether they
are looked up from /etc/passwd, userdb, ldap, pgsql or mysql. Just
make sure that the account entry is in lower case in the user
database.

-- 
Anand Buddhdev


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Odd sendmail issue

2004-02-12 Thread Anand Buddhdev
On Thu, Feb 12, 2004 at 02:19:43PM -0800, Bill Taroli wrote:

 There is probably an obvious fix for this, but I'm noticing that emails 
 to a particular domain are failing. I'm receiving the following in the 
 diagnostics output:
 
 I0 P mail.sarc.org [207.215.13.60]
 I0 S STARTTLS
 I0 T smtp
 I0 R 454 4.3.3 TLS not available
 
 I checked to confirm that the *_TLS_REQUIRED option is NOT set in my 
 config files, except for emstpd-msa (for secure access for clients that 
 login in remote and relay). So what might be happening here?

The TLS_REQUIRED option refers to the esmtp *server* of courier. But
that's not your problem. Your problem is that the courier esmtp
*client* is seeing STARTTLS in the list of capabilities advertised by
the remote host, trying to use TLS, and failing because the remote
host doesn't actually support TLS despite advertising it. The remote
host is misconfigured.

You can override this in 2 ways:

1. Stop the esmtp client from trying TLS completely by disabling it in
the courierd control file.

2. Use the esmtproutes file to selectively disable TLS for certain
domains. Read the manual pages for details.

-- 
Anand Buddhdev


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Making user names case-insensitive?

2004-02-12 Thread Anand Buddhdev
On Thu, Feb 12, 2004 at 11:33:45PM +0100, Flavio Stanchina wrote:

 Is there a way to tell Courier that user names should be treated as 
 case-insensitive?
 
 I know I should educate my users until they understand that email 
 addresses are case-sensitive, but until then...

man courier, and search for locallowercase

-- 
Anand Buddhdev


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Minor flaw in courierfilter implementation of SPF

2004-02-10 Thread Anand Buddhdev
On Sat, Feb 07, 2004 at 08:37:34PM -0500, Lloyd Zusman wrote:

 I just realized that there is a minor flaw in the courierfilter
 implementation of SPF.
 
 The SPF people suggest that a message which doesn't fail the SPF test
 should have an extra header added.  For their discussion of this, go
 here:  http://spf.pobox.com/newheader.html
 
 But as far as I know, it's not possible to add a header to an email
 message from within a courierfilter module, since the message that the
 module sees is contained in a temporary file that goes away after the
 filtering.  The real message is elsewhere and inaccessible to the
 filter module.

Sam once suggested that your filter could mark the current message as
done ie. mark all recipients as delivered, and instead inject a new
message into the queue, with the headers you want added in. This is
still a kind of hack, but saves you from having to create additional
directories, and having to add headers later with maildrop.

-- 
Anand Buddhdev


---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Re: Minor flaw in courierfilter implementation of SPF

2004-02-10 Thread Anand Buddhdev
On Tue, Feb 10, 2004 at 10:21:25AM -0500, Lloyd Zusman wrote:

Hi Lloyd,

  Sam once suggested that your filter could mark the current message as
  done ie. mark all recipients as delivered, and instead inject a new
  message into the queue, with the headers you want added in. This is
  still a kind of hack, but saves you from having to create additional
  directories, and having to add headers later with maildrop.
 
 Thank you for this.
 
 Could someone point me to the message(s) where this is discussed?  I
 need to find out how to mark all recipients as delivered (is that done
 via the SMTP reply code?).  Also, I'd like to know the recommended way
 to inject the newly formatted message (piping it through sendmail?
 doing something else?).

Read this link for an extensive discussion on the courier queue,
including information on how to mark recipients as delivered and
injecting messages into the queue using submit.

-- 
Anand Buddhdev


---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] RE: Minor flaw in courierfilter implementation of SPF

2004-02-10 Thread Anand Buddhdev
On Tue, Feb 10, 2004 at 04:39:12PM +0100, Julian Mehnle wrote:

 Anand Buddhdev [EMAIL PROTECTED] wrote:
  Sam once suggested that your filter could mark the current message as
  done ie. mark all recipients as delivered, and instead inject a new
  message into the queue, with the headers you want added in. This is
  still a kind of hack, but saves you from having to create additional
  directories, and having to add headers later with maildrop.
 
 IIRC, a courierfilter can't mark all recipients as delivered, only
 a delivery instruction (in a dot-courier file) can.

I think you're wrong. A filter *can* modify a control file.

 So, what significant difference is there between marking all
 recipients as delivered plus resubmitting the message *in a delivery
 instruction* (e.g. in a maildrop script) and just modifying the
 message *in a delivery instruction* (e.g. in a maildrop script)?

Maildrop cannot modify the control file. And adding headers to a copy
of a message being delivered to multiple users uses more resources
than doing it once at message reception time.

It would be so nice if courier allowed adding,removing or modifying
message headers at filter-time.

-- 
Anand Buddhdev


---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Re: Minor flaw in courierfilter implementation of SPF

2004-02-10 Thread Anand Buddhdev
On Tue, Feb 10, 2004 at 11:10:07AM -0500, Lloyd Zusman wrote:

  Ach, sorry:
 
  http://www.courier-mta.org/queue.html
 
 Oh ... THAT documentation.  I thought that you were referring to a
 mailing-list discussion link.
 
 Yeah, I forgot about calling submit to re-inject the modified message.
 
 But I still have a problem understanding how to mark the message as
 delivered, even after having read these docs.  Here's what I don't
 understand:
 
 During courierfilter processing, I only have access to the TEMPORARY
 versions of the message file and the control file.  If I change anything
 in that temporary control file to mark the recipients as having been
 delivered, that does not change anything in the PERMANENT control file,
 whose exact location I cannot know during courierfilter processing.
 
 ... or did I overlook or misunderstand something in those docs?

From my reading, I understand that submit takes the message, writes
the control and data files, and then passes their paths to the filter.
So the filter should be able to append I records to the control file
to mark recipients as delivered.

The documentation about the queue describes the steps submit takes
to inject a message into the queue. What is not clear is exactly at
which point sumit runs the filters.

Maybe Sam can help here.

-- 
Anand Buddhdev


---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Compiling Courier under RH9

2004-02-02 Thread Anand Buddhdev
On Mon, Feb 02, 2004 at 10:43:31AM +0100, Zoran Milojkovic wrote:

 Hi, I posted this message last week with no reply yet. In the meantime I 
 have seen another person had similar problem:
 
 I am stucked with configuring of the Courier before
 compilation.
 
 I tried everything I could remember, but after running ./configure I
 receive warning Unable to locate OpenSSL's c_rehash script in the
 current PATH. The c_rehash script is included in OpenSSL package but may
 not be installed on your system. Please install tthe c_rehash script
 from OpenSSl and rerun this configure script..
 
 In the next line there was error:openssl found but c_rehash was not
 found.
 
 So, how should I install that missing script and make through the
 ./configure?

On RedHat, c_rehash is part of the openssl-perl package. Install the
RPM and reconfigure.

-- 
Anand Buddhdev


---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] SMTP authentication

2004-02-02 Thread Anand Buddhdev
On Mon, Feb 02, 2004 at 11:40:50AM -0500, Bowie Bailey wrote:

 From: Matthew Wilson [mailto:[EMAIL PROTECTED]
  
   Is it possible to set up Courier so that authenticated SMTP is
   required for everyone except one particular ip address?
  
  yes, add that address to /etc/courier/smtpaccess/default according to
  the examples that you see there.
 
 The examples and man pages for smtpaccess don't mention anything about
 authentication.  I can block the ip, or allow it to relay.  What setting
 would I use to allow it to connect without authentication?

Add:

1.2.3.4taballow,RELAYCLIENT

That tells courier to allow that IP address to relay without
restriction, ie. no authentication required. It's not explicitly
stated in the man pages, it's implied.

-- 
Anand Buddhdev


---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] SMTP authentication

2004-02-02 Thread Anand Buddhdev
On Mon, Feb 02, 2004 at 12:49:26PM -0500, Bowie Bailey wrote:

 At the moment, my Courier server does not allow smtp connections from
 the Internet.  What I want to do is allow my users to send mail through
 my server via authenticated smtp.  But I don't want any chance of other
 mail bypassing the filtering server.
 
 There's not going to be an MX record for the Courier server, but if it
 accepts smtp connections from the Internet, then I have to assume that
 the spammers will eventually find it.  I know that a non-authenticated
 connection will not relay, but I don't want spam sent to my users
 either.  So I'm trying to configure it so that it only accepts what is
 absolutely necessary.
 
 Authenticated smtp should be allowed for anyone.
  -- This is default and not a problem.
 
 Non-authenticated smtp should be allowed only for the filtering server
  -- This is what I am trying to figure out.
 
 If I set AUTHREQUIRED=1, then how do I allow the filtering server to
 connect without authentication and without being able to relay?

Add:

1.2.3.4taballow,AUTH_REQUIRED=0

to smtpaccess.

 If I set AUTHREQUIRED=0, then how do I deny non-authenticated
 connections from anyone except the filtering server?

-- 
Anand Buddhdev


---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] RFC 1035 error V.S. First two MX entries BAD for domain

2004-01-21 Thread Anand Buddhdev
On Tue, Jan 20, 2004 at 11:20:51PM -0600, Kirk A Wolff wrote:

 First off:  Courier-mta is the BEST!
 
 Question:  Does courier iterate through all available MX records even if
 the first few are broken and possibly violate RFC1035?

No. All the MX records have to be correct; even if one is wrong,
courier will refuse to accept mail from that domain.

 I have been getting a complaint from someone trying to send an email to
 me.  She gets an error from her mailserver thus:
 
 --
 
   Mail Delivery Subsystem 
 [EMAIL PROTECTED]  1/6/2004 3:43:24 PM
 The original message was received at Tue, 6 Jan 2004 15:43:14 -0600
 (CST)
 from 12-23-34-45.otherguysisp.com [12.23.34.45] (may be forged)
 - The following addresses had permanent fatal errors -
  [EMAIL PROTECTED] 
 (reason: 517-MX records for brokendomain.com violate section 3.3.9 of RFC
 1035.)
 - Transcript of session follows -
 ... while talking to mail.! mydomain.net.:
 MAIL From: [EMAIL PROTECTED]  SIZE=1911517-MX records for
 brokendomain.com violate section 3.3.9 of RFC 1035.
  517 Invalid domain, see URL: ftp://ftp.isi.edu/in-notes/rfc1035.txt 
 554 5.0.0 Service unavailable
 
 ---
 
 It was explained to me that the other guy's ISP (otherguysisp.com) has the
 broken domain's entries purposely broken for the first few MX records
 (brokendomain.com).  He says that his ISP wants to keep the first few MX
 records broken, and that the problem is with MY mailserver.
 
 I am running Courier-mta 0.43.2 and it was compiled on my redhat 8.0 box
 with the ldap auth module loaded and running.

-- 
Anand Buddhdev


---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] mailq contents

2004-01-20 Thread Anand Buddhdev
On Tue, Jan 20, 2004 at 02:53:39PM +0100, Joris wrote:

 Hi,
 
 This is part of the output of the mailq command:
 48.7K0004A7A8.400D2FFA.10B8  Jan 20 14:41
 daemon
  [EMAIL PROTECTED]
 
 2.7K 0004A8D4.400D3117.266A  Jan 20 14:45
 daemon
  [EMAIL PROTECTED]
 
 2.5K 0004A938.400D3185.2F75  Jan 20 14:47
 daemon
  [EMAIL PROTECTED]
 
 10.4K0004A99C.400D327D.4011  Jan 20 14:51
 daemon
  [EMAIL PROTECTED]
 
 Is this normal mail queued up? or are those undeliverable messages?

Your web server, running as user www-data, generated some email
messages (possibly a CGI). These messages were either undeliverable,
or delayed, and courier has generated a delivery status notification
(DNS) back to the original user, ie. www-data. However, courier cannot
deliver to this user, because this user probably does not have a
writable home directory, or a Maildir.

Solution: just leave the messages there. They will eventually
double-bounce, and the postmaster address will see the messages. If
you want to speed this up, use the cancelmsg command with the queue
id's of those messages, to make them bounce sooner. For the future,
make an alias for the user www-data, pointing to a real person. Also,
make sure that the CGI that is generating messages does so properly,
ie. with a return-path: set to a real user.

-- 
Anand Buddhdev
Celtel International


---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] 550 Message MIME complexity exceeds the policy maximum

2004-01-19 Thread Anand Buddhdev
On Mon, Jan 19, 2004 at 01:21:22PM +0200, [EMAIL PROTECTED] wrote:

 Hi all. 
 
 I have the following message appearing in my logs:
 550 Message MIME complexity exceeds the policy maximum. 
 
 I have not been able to find any reference to a MIME complexity policy 
 anywhere in the docs 

It's not documented. You have to read the source code to find (and
change) the policy.

-- 
Anand Buddhdev


---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Re: Help... mising pam_pwdb.so

2003-12-20 Thread Anand Buddhdev
On Sat, 20 Dec 2003 16:13:38 -0800 Ricardo Kleemann wrote:

 Hi,

Hi Ricardo,

  Then you need to simply investigate which PAM modules you
  DO need to specify  in order to implement password
  authentication.  On some systems it's called  pam_unix, on
  others it's pam_pwdb, etc…
 
 I understand that... I looked at all of the *pam* modules in
 SUSE 9.0 and none of them provided that particular
 library... :-(
 
 But of course, SUSE provides unix authentication, it just
 must use another library I guess, probably pam_unix.so which
 does exist. What doesn't exist is the pam_pwdb.so.
 
 Is pwdb needed for pam authentication? Can it be done with
 pam_unix? Here are the pam libraries included in my system:

Yes, use pam_unix on Suse. Patch all your courier source files which use
PAM, and change all occurences of pam_pwdb to pam_unix. I've got courier
running on older Suse 7.3 systems, and it works just fine. In fact, I
had even produced a custom SPEC file and patch so that I could directly
build RPMs on Suse, but I don't have those any more. Search the
archives; I had posted the patch and SPEC file.

[cut]

-- 
Anand Buddhdev


---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id78alloc_id371op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Webpage typo

2003-12-19 Thread Anand Buddhdev
On Thu, 18 Dec 2003 23:54:05 -0600 (CST) Joe Laffey wrote:

 On the page:
 http://www.courier-mta.org/localmailfilter.html
 
 under Synopsis:
 
 echo /usr/lib/courier/bin/maildrop /etc/courier/maildropfilter
 
 should read:
 
 echo /usr/lib/courier/bin/maildrop
 /usr/lib/courier/etc/maildropfilter

In you build courier RPMs, the configuration ends up in /etc/courier.

-- 
Anand Buddhdev
MSI Cellular Investments


---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Compile Courier 44.2 on RedHat AS 3

2003-12-03 Thread Anand Buddhdev
On Wed, 03 Dec 2003 14:38:18 +0200 [EMAIL PROTECTED] wrote:

 Hello, 
 
 I try to build Courier 44.2 on RedHat Advanced Server 3, but no
 success: 
 
 # rpmbuild -ta courier-0.44.2.tar.bz2
 error: Failed build dependencies:
openssl-perl is needed by courier-0.44.2-1.3AS
mgetty-sendfax is needed by courier-0.44.2-1.3AS 
 
 This rpms do not exist in RHAS-3: 
 
 # ll | grep openssl
  -rw-r--r--1 root root   628995 Dec  3 14:10 
 openssl096b-0.9.6b-13.i386.rpm
  -rw-r--r--1 root root  1130318 Dec  3 14:16 
 openssl-0.9.7a-22.1.i386.rpm
  -rw-r--r--1 root root  1127303 Dec  3 14:18 
 openssl-0.9.7a-22.1.i686.rpm
  -rw-r--r--1 root root  1648627 Dec  3 14:10 
 openssl-devel-0.9.7a-22.1.i386.rpm 
 
 # ll | grep mgetty
  -rw-r--r--1 root root   393734 Dec  3 14:15 
 mgetty-1.1.30-3.i386.rpm 

No they don't. Courier requires openssl-perl. You don't have that
installed. Courier also requires mgetty-sendfax, whereas you only have
mgetty installed.

-- 
Anand Buddhdev


---
This SF.net email is sponsored by OSDN's Audience Survey.
Help shape OSDN's sites and tell us what you think. Take this
five minute survey and you could win a $250 Gift Certificate.
http://www.wrgsurveys.com/2003/osdntech03.php?site=8
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: Courier ESMTPD doesn't regconise capital letter email

2003-11-10 Thread Anand Buddhdev
Vincent Lee writes:

Help!!!
I running a trail run for Courier ESMTPD and POP3D recently.
And I discovered that Courier ESMTPD DOES NOT support CAPITAL LETTER email
address!!!
I can't any information about this either in Courier web source and
Internet.
Anyone met and fixed this before? And how to fix it? Any URL source?
Create an empty file called locallowercase in your courier configuration 
directory (/etc/courier) and restart courier.

--
Anand
---
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: user alias and password

2003-11-10 Thread Anand Buddhdev
jonny burger writes:

hi all,

some newbie questions:

1. (how) is it possible to realize aliases in userdb?
do i have to create 2 user lines with the same settings? or is it possible
to do a thing like
user1tab|home...
aliasuser1=user1
[EMAIL PROTECTED]
user2tab|home...
aliasuser2=user2
... ?
You have to create 2 lines, for the username, and the other for the alias; 
all other values will remain the same, ie. uid, gid, home, etc.

2. (how) can i have a seperate password for the sqwebmail? in the man pages
i just found
an incomplete list of xxxpw hints... i dont want to use the systempw...
where do i find a list of all possible xxxpw values? (where) may i change
the userdb-pw-type
used by sqwebmail?
use webmailpw.

3. if i want to have user id like [EMAIL PROTECTED] instead of just user for
sqwebmail, then i can
use the '[EMAIL PROTECTED]tab|home...' entry format in userdb. so sqwebmail
works fine. but -
how do i receive the mail for user? if there is just an
'[EMAIL PROTECTED]tab|home...' entry, the
receiving task says 'user [EMAIL PROTECTED] unknown' if someone wants to send
mail to [EMAIL PROTECTED] :-(
Take the domain out of the locals, and put it in the hosteddomains file, 
and then then makehosteddomains. Then courier will look for 
[EMAIL PROTECTED] in userdb instead of just user.

--
Anand
---
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: Courier ESMTPD doesn't regconise capital letter email

2003-11-10 Thread Anand Buddhdev
Vincent Lee writes:

Thanks Anand!
You're welcome.

It works pretty fine.
Can't imagine this is so simple, but then don't understand why this
information can't find in the Internet, or my surfing ability is weak.
The information is all there in the man pages. You have to read them all 
carefully.

--
Anand
---
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: (no subject)

2003-11-03 Thread Anand Buddhdev
Martin Furmanski writes:

Hello, Courier,

How can I make all outgoing mail that I send to the courier esmtp to
be relayed through another smtp-server?
man courier, and look for esmtproutes.

--
Anand
---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: esmtproutes not working - single smarthost

2003-11-03 Thread Anand Buddhdev
Martin Furmanski writes:

Hello, Courier,

My esmtproutes contains
:mail1.telia.com
and still the mail is not getting routed there.
Your problem description is not enough. We can't read your mind, or see 
what's happening on your computer. You should be prepared to show parts of 
the log, or give more details.

--
Anand
---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] SuSE 8.2 spec file

2003-11-02 Thread Anand Buddhdev
On Sun, 2 Nov 2003 14:18:23 + Jeff Jansen wrote:

 On Saturday 01 November 2003 22:19, Gordon Messmer wrote:
   Does anyone have a spec file that will allow me to make and
   install rpm's from a recent courier tar-ball on SuSE 8.2?
 
  What, specifically, doesn't work in the spec file distributed with
  Courier?
 
 SuSE 8.2 uses rpm 3, many of the package names are different so the 
 prerequisites don't match (cron instead of vixie-cron, gpg instead of
 gnupg, etc.) and some of the locations are different (the apache base
 is /srv/www instead of /var/www, etc.).
 
 I don't run SuSE; I'm trying to help a friend install courier on their
 SuSE 8.2 machine.  I'm hoping someone has already done the work to
 change the spec file around so it works with rpm 3 and these other
 changes in SuSE 8.2.  If this guy can build and install rpms from the
 tar ball that will make this whole process a lot simpler.

Find attached my spec file for courier 0.43.1 for Suse 7.3. My changes
are documented at the top of the file. Also required are changes to 2 of
the source files, because Suse (at least version 7.3) uses pam_unix, not
pam_pwdb, and its init system uses insserv (not chkconfig) to add/remove
services. See the attached init+pam.patch file.

Now, I don't use Suse 8.2, so I don't know what has changed between 7.3
and 8.2, but it's probably things like the apache base, as Jeff has
pointed out. Feel free to adapt my attached files to work on Suse 8.2.

PS. I am soon abandoning Suse, because they, like RedHat, have no new
releases for Sparc64. I am moving my sparc64 systems from Suse to
Debian, so I will not be able to help with courier spec files for Suse
much longer.

Regards,

-- 
Anand Buddhdev
http://anand.org
# $Id: courier.spec.in,v 1.83 2002/03/25 01:10:07 mrsam Exp $
#
# Copyright 1998 - 2002 Double Precision, Inc.  See COPYING for
# distribution information.
#
# 20020404: Anand modified specfile for Suse linux = 7.3
# changes needed: some build prerequisites are different, eg. openssl-perl and sed
# are not needed, as on suse, they are part of other packages. The dependency to have
# rpm = 4.0.2 is removed as well, since Suse still has rpm 3.
# Next, the courier_release variable is removed, as it is not relevant here
# The chkconfig requirement is also irrelevant; instead, a requirement is placed
# on insserv, which is the suse script to add and remove services
# Finally, the init script itself requires a complete change, from the RedHat
# format to the Suse format. This is done as a patch.
# And for webmail, suse's web server documentroot is usually /usr/local/httpd
# Also, Suse's unix PAM module is called pam_unix, not pam_pwdb. This is also
# changed as a patch

%define __libtoolize /bin/true

Summary: Courier 0.38.0 mail server
Name: courier
Version: 0.38.0
Release: 1
Copyright: GPL
Group: Applications/Mail
Source: http://download.sourceforge.net/courier/courier-0.38.0.tar.gz
Packager: %{PACKAGER}
BuildRoot: %{_tmppath}/courier-install
Provides: smtp_daemon
AutoProv: no
Requires: /sbin/insserv fileutils
BuildPreReq: fileutils binutils perl make openssl gdbm-devel openssl-devel pam-devel 
gnupg = 1.0.5 expect
Patch0: init+pam.patch

#
#  Suse custom locations.
#
#  manpages  /usr/share/man
#  httpd /usr/local/httpd
#  initscripts   /etc/init.d

%define manpagedir  /usr/share/man
%define apachedir   /usr/local/httpd

%define _prefix /usr/lib/courier
%define _localstatedir  /var/spool/courier
%define _sysconfdir /etc/courier
%define _mandir %{manpagedir}

%define initdir /etc/init.d

# Change the following if your DocumentRoot and cgibindir differ.  This is
# the default redhat build:

%define _cgibindir  %{apachedir}/cgi-bin
%define _documentrootdir%{apachedir}/htdocs
%define _imageurl   /webmail

%package sendmail-wrapper
Summary: Courier 0.38.0 soft links for sendmail
Group: Applications/Mail

%package pop3d
Summary: Courier 0.38.0 Integrated POP3 server
Group: Applications/Mail
Requires: courier = 0.38.0 fileutils
Obsoletes: courier-imap courier-imap-ldap courier-imap-mysql courier-imap-pgsql

%package imapd
Summary: Courier 0.38.0 Integrated IMAP server
Group: Applications/Mail
Requires: courier = 0.38.0 fileutils
Obsoletes: courier-imap courier-imap-ldap courier-imap-mysql courier-imap-pgsql

%package webmail
Summary: Courier 0.38.0 Integrated HTTP (webmail) server
Group: Applications/Mail
Requires: courier = 0.38.0 %{_cgibindir} %{_documentrootdir} cron gnupg = 1.0.5 
expect fileutils
Obsoletes: sqwebmail

%package webadmin
Summary: Courier 0.38.0 web-based administration tool
Group: Applications/Mail
Requires: courier = 0.38.0 %{_cgibindir} %{_documentrootdir}

%package mlm
Summary: Courier 0.38.0 Integrated Mailing List Manager
Group: Applications/Mail
Requires: courier = 0.38.0

Re: [courier-users] 513 Syntax error, doesnt accept mailaddress with dot ?

2003-10-09 Thread Anand Buddhdev
On Thu, 09 Oct 2003 11:14:25 +0200 Christophe Zwecker wrote:

 Hi,
 
 my courier mta seems to reject this mail because of the dot in the
 emailaddress:
 
 Oct  8 18:38:43 zer00 courieresmtpd:
 error,relay=62.134.72.80,from=[EMAIL PROTECTED],to=[EMAIL PROTECTED]: 513
 Syntax error.
 
 it thats the case how can I pass those mails ? I have a lot of people
 with dots in their emailadresses.

It's not the dot that's a problem. It's the closing square bracket (])
in the domain name that's triggering this syntax error. It shouldn't be
there. One of your customers has mistyped the email address, that's all.

-- 
Anand Buddhdev
http://anand.org


---
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: Rejection message format in log files: rejection due to DNS blacklist vs. due to custom courierfilter

2003-10-09 Thread Anand Buddhdev
Julian Mehnle writes:

Sam Varshavchik [EMAIL PROTECTED] wrote:
Julian Mehnle writes:
 But when a mail gets rejected due to my custom filter, I get log
 entries of this format: 
 
   Oct  9 03:59:00 io courieresmtpd:
 error,relay=:::217.88.243.27,from=[EMAIL PROTECTED]: 511 Just
 testing... 
 
 The to=... part is missing.

This is because courierfilter runs after the message was received via
DATA, and not in response to a RCPT TO.
But the recipient address(es) should still be known in this step, so
wouldn't it make sense to include it/them in the error log message?  It's
not as if the recipient address was the cause for the rejection in the DNS
blacklist case, so why is it included *there*?
If the message had 100 recipients, are you going to log all of them in the 
syslog?

--
Anand
---
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] rpm weirdness

2003-10-08 Thread Anand Buddhdev
On 07 Oct 2003 17:03:01 -0700 Stephen Arnold wrote:

 My rpm command line is:
 
 rpm -ba --define 'xflags --enable-https
 --enable-workarounds-for-imap-client-bugs' courier.spec
 
 Now, I read the INSTALL doc and other stuff, and it did say that make
 check would fail with the above options, and to do the check part
 first without the options, then configure again and build with these
 options.
 
 How does this help when building rpms?  It seems to me it's impossible
 to build an rpm (with the above options) if make check always fails.
 
 What is the work-around I'm missing?  I don't remember what I did last
 time (on the other machine) but I didn't run into this issue.
 
 Can somebody please enlighten
 me?

If you want to build RPMs with --enable-workarounds-for-imap-client-bugs
then you have to edit the spec file and remove the make check line.
There's nothing else to do.

-- 
Anand Buddhdev


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: courier and smtp-auth

2003-10-08 Thread Anand Buddhdev
Dario Alonso writes:

I've courier installed with:
/etc/courier/locals
 localhost
 localhost.localdomain
 mydomain.com

/etc/courier/me
 mydomain.com

/etc/courier/esmtpd
 AUTHMODULES=authdaemon
 ESMTPAUTH=LOGIN

/etc/courier/smtpaccess/default
 127.0.0.1 allow,RELAYCLIENT

makesmtpaccess

I've tested the installation and I can't send mail
from my server to another domain without auth login
(that's right). But anyone can telnet to my 25 port,
say that's a user of my domain and, without auth
login, send mail to another user of my domain.
Is this a normal behaviour??
If you connect to your server's external IP address, then courier will see
your connection from some IP other than 127.0.0.1, and not allow relay. Make
sure that you connect to 127.0.0.1 and then try to relay, and it will work.
--
Anand
---
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] documentation bug in authpgsqlrc

2003-10-08 Thread Anand Buddhdev
Sam,

authpgsqlrc says:

##NAME: PGSQL_SELECT_CLAUSE:0
#
# (EXPERIMENTAL)
# This is optional, PGSQL_SELECT_CLAUSE can be set when you have a
# database, which is structuraly different from proposed. The fixed
# string will be used to do a SELECT operation on database, which should
# return fields in order specified bellow:
#
# username, cryptpw, uid, gid, clearpw, home, maildir, quota, fullname

However, looking at the code, I see that clearpw should come before uid,
like this:

username, cryptpw, clearpw, uid, gid, home, maildir, quota, fullname

Would you be so kind as to correct this in the next releases of courier,
sqwebmail and courier-imap ?

-- 
Anand Buddhdev


---
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: courier-mta and dialup

2003-10-02 Thread Anand Buddhdev
Jeff Jansen writes:

On Thursday 02 October 2003 10:32, Anand Buddhdev wrote:
I found another solution to this by experimentation: If I set the MAXDELS
in module.esmtp to 0, then the whole system can be running, but courier
will make no attemtp to deliver email via ESMTP. A simple script can change
this value to some positive number before a dial-up, complete deliveries,
and then switch it back to 0 after the dial-up.
Very slick.  Does courier have to be restarted before the change takes effect 
or is it enough to just change the setting?
Unfortunately, yes, the courierd process will need a restart, since it 
initialises MAXDELS at startup.

/usr/lib/courier/sbin/courier restart

The additional benefit of doing it this way is that courier will not 
generate any deferral logs, since it will never have tried the deliveries in 
the first place! I find it easiest to create 2 files, called 
module.esmtp.on, and module.esmtp.off, with my required MAXDELS values in, 
and copy them to module.esmtp as required, followed by a courier restart.

Having said all this, I personally much prefer exim for dial-up sites, 
because exim is simply so configurable. It even provides a handy option 
called queue_smtp, which dutifully queues all non-local deliveries until 
you issue exim -q to start a queue run and deliver email.

I've recently setup a site where I use maildrop, courier-imap and sqwebmail 
for all the front-end user applications, and exim as the MTA. Everything 
works beautifully, and it needed no patching of any kind. Just works out of 
the box.

--
Anand
---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: courier solution

2003-09-23 Thread Anand Buddhdev
Rodney Richison writes:

As a postfix user, setting up a box for another bussiness that plans to 
handle 15 or so domains, I've begun implementation of the ole trusty 
postfix+courier-imap+mysql+maildrop+sqWebmail solution. It dawned on me, 
I have never even installed courier webmail. So, here I am. Blatantly 
asking up front, what will the surprizes be? In particular, I noticed 
this in the documentation.
**
Courier does not deliver mail to domains with broken MX records. Courier 
also refuses to accept any mail with a return address in a domain with 
broken MX records.

**

It is unacceptable to have a mail server which controls policy. Have
I misread? This seems to indicate if no mx record exists for a mailer,
Courier will not accept it. Is this true?
But you've already mentioned that you're going to use postfix, so why
do you care if courier-mta will or will not accept email from domains
with a broken mx record? You're only going to use the webmail
component of the courier package, and that doesn't receive or deliver
email. It only allows a user to read the email that is delivered by
postfix.
--
Anand
---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] ERROR: missing RSA private key

2003-09-01 Thread Anand Buddhdev
On Mon, 01 Sep 2003 09:21:06 +0200 [EMAIL PROTECTED] wrote:

 Hi all. 
 
 Please forgive my ignorance if this is something simple... 
 
 I am getting the following errors on emails going to a specific mail
 server from my Courier Mail server (beware line-wrap): 
 
 Sep  1 09:15:40 panther courieresmtp: 
 id=0008F190.3F4A0161.7F5F,from=[EMAIL PROTECTED],addr=[EMAIL PROTECTED]
 s.co.za 
 : 454 TLS not available: missing RSA private key (#4.3.0) 
 
 Sep  1 09:15:40 panther courieresmtp: 
 id=0008F190.3F4A0161.7F5F,from=[EMAIL PROTECTED],addr=[EMAIL PROTECTED]
 s.co.za 
 ,status: deferred 
 
 I have no experience with RSA stuff at all.  Any pointers at a
 solution would be appreciated! 

The remote server is advertising support for STARTTLS, but then fails to
initialise a TLS session, so it's basically broken. You can tell your
courier not to do TLS when talking to that host, by putting a line like
this in your esmtproutes file:

jmd.co.za:/SECURITY=NONE

Or you can disable STARTTLS in the courier esmtp client altogether by
setting ESMTP_USE_STARTTLS=0 in the courierd config file.

-- 
Anand Buddhdev
http://anand.org


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Problems in webadmin.pl script

2003-08-27 Thread Anand Buddhdev
On Wed, Aug 27, 2003 at 02:40:28PM +0200, mauro wrote:

 Hello, thanks to the guys who reply my posts, i write another post for a 
 better reading.
 I believe the webadmin problem (internal server error when webadmin running) 
 is the webadmin.pl perl script. Apache error logs say (hoping to understand 
 them) that the compilation aborted in line 7 of the script (use CGI;).
 Is this a known problem or i am unlucky?

Maybe you don't have the perl CGI module installed.

-- 
Anand Buddhdev
http://anand.org


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] journalling and holiday script

2003-08-20 Thread Anand Buddhdev
On Wed, Aug 20, 2003 at 05:53:35PM +1000, Michael Etcell wrote:

 A while ago I submitted a question about auto replies particularly for
 staff that are on holidays. I was told by a staff member who was
 checking my emails at the time that there was a reply. Unfortunately she
 accidentally deleted it. Could that knowledgeable person please
 re-submit the information.

man mailbot

 Also with regards to the above I require a way of duplicating (copying)
 all email coming thru the server for archiving (legal reasons). On an
 exchange box you turn on Journalling. Can courier do this? If so can
 someone please point me in the direction of man pages.

Look at the archivedir feature in /etc/courier/courierd

-- 
Anand Buddhdev
http://anand.org


---
This SF.net email is sponsored by Dice.com.
Did you know that Dice has over 25,000 tech jobs available today? From
careers in IT to Engineering to Tech Sales, Dice has tech jobs from the
best hiring companies. http://www.dice.com/index.epl?rel_code=104
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] hosted domains are not accepted, authentication required

2003-08-18 Thread Anand Buddhdev
On Mon, Aug 18, 2003 at 12:01:36PM +0200, Peter Holm wrote:

 Hi,
 
 it´s not my daily business to configure courier, so I always get
 somewhat confused...
 
 I have configured some domains to be hosted by a courier mailserver: i
 put the domains into 
 
 /etc/courier/hosteddomains
 /etc/courier/esmtpacceptmailfor
 
 
 and run makehosteddomains and makeacceptmailfor
 
 sending mail to these domains still does not work, as courier says
 
 535 Authentication required
 
 it seems to me, that these domains are still not considered as local
 domains. 

You're confusing issues. The error authentication required means
that you have configured courier to DEMAND authentication for all
incoming email. You don't want that. Go into the /etc/courier/esmtpd
file, and looked for the variable AUTH_REQUIRED which will probably
be set to 1. Change that to 0, and restart courier. Then you should be
able to receive email for your hosted domains just fine.

-- 
Anand Buddhdev
http://anand.org


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] smtp auth exception?

2003-08-18 Thread Anand Buddhdev
On Mon, 18 Aug 2003 14:25:47 -0600 Keith Pettit wrote:

 I have smtp auth turned on and it works great, but it's alittle laggy 
 (3-5 sec).  I'd like to allow local users to use SMTP without authing.
 
 Is there a way I can have smtp auth turned on, but have a certian
 subnet not need authentication?

Add your subnet's IP addresses to the smtpaccess/default file, run
makesmtpaccess, and it's done. Your users can relay without
authentication.

-- 
Anand Buddhdev
http://anand.org


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] In which version of courier was BOFHBADMIMEintroduced?

2003-08-17 Thread Anand Buddhdev
On Mon, 18 Aug 2003 00:53:42 +0200 Peter Holm wrote:

 Hi,
 
 could anybody please tell me, in which version of courier the
 BOFHBADMIME variable was introduced? 

You could have found that out by reading the ChangeLog. It was added in
version 0.37.3.

-- 
Anand Buddhdev
http://anand.org


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] courierdsn unable to inject bounces

2003-08-14 Thread Anand Buddhdev
One of my courier installations at a remote site has been giving me
this error in the logs:

courierdsn: Problems injecting bounce - submit failed.

It is running courier 0.42.2, built and installed via RPM.

I looked at the permissions on the submit binary, and also the
permissions on the courier spool directory, /var/spool/courier, and I
cannot see anything odd. I even compared the permissions to another
installation, but they are the same.

Unfortunately, this error has been in the log for about 4 weeks now,
but I only just noticed it, and the older logs have been rotated away,
so I am unable to determine when the problem started.

Any ideas how I can debug this to find out where the problem lies?

-- 
Anand Buddhdev
http://anand.org


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: What is the quota field for?

2003-08-04 Thread Anand Buddhdev
Rob Hutton writes:

What is the quota field used for in the authmysqlrc situation if you have to
create the maildir with maildirmake -q for quotas to work in the first
place?
If you're using authmysql, you don't need to create the maildirs with the -q 
option to maildirmake. When a mail is first delivered to the user's maildir, 
the delivery process will use the value of quota that it finds in the mysql 
table, and initialise the maildir's quota from that.

--
Anand
---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] aliases to /dev/null

2003-08-02 Thread Anand Buddhdev
On 02 Aug 2003 04:58:21 -0400 Brian A. Seklecki wrote:

 Didn't see this one in the FAQ or list archives, so:
 
 quoting makealiases(8):
 
 PROGRAM OR MAILBOX ALIASES
The following notation associates an address directly with
a mailbox, or with a program:
 
info: /var/shared/info
 
Messages  addressed  to  info  will  be delivered to the
mailbox or maildir /var/shared/info.  A full pathname must
be specified.
 
info: | /usr/local/shared/info
 
Mail  addressed  to  info will be delivered to the indi-
cated program. The program receives each message on  stan-
dard input.
 
 
 So I would imagine something like:
 
 devnull:  /dev/null
 bitbucket:denull
 
 ...would give me nice dead addresses, but in the logs I'm getting:
 
 
 Aug  1 23:10:49 precursor courierd:
 newmsg,id=4A06.3F2B2BB9.358C Aug  1 23:10:49 precursor
 courierd:
 id=4A06.3F2B2BB9.358C,from=[EMAIL PROTECTED]
 anha.org,addr=.xa
 lias/[EMAIL PROTECTED]@precursor.arltn0
 .codepiranha.org: 550 User unknown. Aug  1 23:10:49 precursor
 courierd:
 id=4A06.3F2B2BB9.358C,from=[EMAIL PROTECTED]
 anha.org,addr=.xa
 lias/[EMAIL PROTECTED]@precursor.arltn0
 .codepiranha.org,status: failure Aug  1 23:10:49 precursor courierd:
 completed,id=4A06.3F2B2BB9.358C
 Aug  1 23:10:49 precursor courierd:
 started,id=4A06.3F2B2BB9.358C,from=,module=dsn,host=,addr=
 [EMAIL PROTECTED] rltn0.codepiranha.org
 
 
 So it's somehow expanding to:
 
 .xalias/[EMAIL PROTECTED]@precursor.arl
 tn0.codepiranha.org
 
 ...so is there perhaps a better way to approach this?

I like to do:

echo '#'  /etc/courier/aliasdir/.courier-devnull
echo '#'  /etc/courier/aliasdir/.courier-bitbucket

-- 
Anand Buddhdev
http://anand.org


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Calling a Mail Server's TLS Bluff

2003-07-31 Thread Anand Buddhdev
On Thu, 31 Jul 2003 20:34:15 +0200 Juri Haberland wrote:

 Jeff Potter wrote:
 
  Is there a flag, available today, that can be set that tells
 courier  to _try_ TLS?  In other words, if STARTTLS is announced and
 you call  the bluff, rather than failing to deliver and deferring
 the message it  would retry without calling STARTTLS.  If there
 isn't a flag that does  this, can it be added to a wish list?  For
 karma sake, it would be  nice if it would log the failed STARTTLS
 attempt so that one could  contact the postmaster of that domain and
 notify him.
 
  I'll second this as a wish-list item -- I recently had to turn off
  starttls for outbound messages as well, and was surprised that
  Courier didn't gracefully fall-back.
 
 Just as a note:
 Postfix-tls has the same problems but provides a file called
 'tls_per_site', where you can disable TLS for a particular site -
 obviously similar to 'esmtproutes'.
 IMHO, what you are asking for is a workaround for bugs in other MTA
 software. One can argue about that...

It's all very well to argue about correct behaviour in other MTAs.
But the problem remains, that mail remains undelivered. And sometimes,
email *is* important.

We're talking here about a feature in courier which allows for it to
fall back to an unencrypted connection if STARTTLS negotiation fails.
Exim is a great example reasonable behaviour. If it tries STARTTLS, and
that fails, it falls back to an unencrypted connection, logging this
fact; email gets delivered. However, exim can be told to specifically
insist on STARTTLS with certain sites, in which case, a failure to
negotiate a secure connection will cause the message to bounce. We might
want this kind of behaviour with certain sites.

-- 
Anand Buddhdev
http://anand.org


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] header parsing problem causing 534 Message header size, or recipient list, exceeds policy limit

2003-07-28 Thread Anand Buddhdev
On Mon, Jul 28, 2003 at 09:19:14AM +0800, Fred Ho wrote:

 Dear all,
 I am using Courier 0.42.2.20030630 on Redhat Linux 7.3.
 Recently we encountered 534 errors as followed:
 
 534 Message header size, or recipient list, exceeds policy limit. 
 
 The extracted header is as followed and it looks like it is related to some
 encoding problem at the header. 
 My /etc/postfix/bofh has 
 maxrcpts 1000
 
 Please comment whether Courier can be tolerant in accepting such header, or
 is the header from the other end's mailer breaking any RFC?
 Thanks in advance for any information.

Courier has a compiled in limit of 10 bytes on the total size of
the header. This value is not run-time configurable, so you have to
recompile if you want to change it. It's there as a precaution against
excessively long headers which may be troublesome for the webmail
and/or imap servers. The email that you have attached has a very long
recipient list, which is exceeding this limit.

As far as I know, there is no RFC for limits on the header size, and
the choice of a limit of 10 bytes in courier is unique to courier.

[cut]

-- 
Anand Buddhdev
http://anand.org


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Re: Not receiving mail on port 25 with courier 0.42.2 in dynamic host environment

2003-07-28 Thread Anand Buddhdev
On Mon, Jul 28, 2003 at 09:25:33AM +0200, Guenter Brast wrote:

 Hi, 
 
 when I am not using the ADDRESS tag in etc/esmtpd, courier-ESMTPonly listens 
 to
 ip 127.0.0.1 (localhost) only. The ADDRESS tag will be empty in this case.
 Is that a bug or a feature ? In an older release I did not have this problem.
 
 As I am forced to get a new IP address every 24 hours,
 I made the following work around by patching sbin/esmtpd :
 
 --
 # (gbrast 26.7.2003) The smtp is now listening to the address that ppp0 owns
 # it means esmtp must be restarted every time when the dynamic address
 # changes

I am not sure if this is a bug or not. But would it not be better if
you bind your esmtpd to the loopback interface permanently, and then
use your operating system's firewalling code to forward packets from
your ppp interface to the loopback interface? For example, in linux
you can do that easily with iptables, and in FreeBSD or OpenBSD with
ipf. Saves you the hassle of restarting esmtpd and figuring out the
address and all that.

 ADDRESS=`/sbin/ifconfig ppp0 | awk '/addr/ { print substr($2,6,length($2))}a'| 
 head -1`
 echo SMTP Listening at address:  $ADDRESS
 echo
 
 if test $ADDRESS != 
 then
 ADDRESS=-address=$ADDRESS
 fi
 --
 
 Did I overlook something or do I have to upgrade to a never version ?
 Thanks for any tips in advance.

-- 
Anand Buddhdev
http://anand.org


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Courier and SPA

2003-07-28 Thread Anand Buddhdev
On Mon, Jul 28, 2003 at 12:42:09PM +0200, Sander Holthaus - Orange XL wrote:

 Can anyone tell me Courier supports SPA as implemented in Outlook (2002)? 
  
 I configured vpopmal with APOP, but it seems MS has dropped support for this
 in both Outlook and Outlook Express.

Courier does not support SPA - I think it's a Microsoft-specific
authentication method.

-- 
Anand Buddhdev
http://anand.org


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] filtering outgoing mail

2003-07-28 Thread Anand Buddhdev
On Mon, Jul 28, 2003 at 08:56:54AM -0500, Carey Jung wrote:

 Hi,
 
 I have a customer with a corporate requirement to copy all incoming and
 outgoing mail to an archive email address that corporate provides.  For
 incoming mail, I can just create a maildroprc filter to do the cc, but how
 can I do the same for outgoing mail from this customer?  I have them set up
 with virtual mail accounts.

Check out the archivedir option in /etc/courier/courierd

-- 
Anand Buddhdev
http://anand.org


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] how to access shared folders?

2003-07-28 Thread Anand Buddhdev
On Mon, 28 Jul 2003 11:31:40 -0700 Ricardo Kleemann wrote:

 Hello,
 
 I created a shared folders directory and inside that created
 a shared folder. These are the commands I used:
 
 /usr/lib/courier/bin/maildirmake -S
 /var/homes/shared_folders
 /usr/lib/courier/bin/maildirmake -s write -f test
 /var/homes/shared_folders
 
 That created a hierarchy:
 
 ls -a /var/homes/shared_folders/
 .  ..  .test cur  new  tmp
 
 ls -a /var/homes/shared_folders/.test/
 .  ..  cur  maildirfolder  new  tmp
 
 Then I created an /etc/courier/maildirshared file, its
 contents:
 test  /var/homes/shared_folders/.test

This should be:

testtab/var/homes/shared_folders

And then, selecting shared.test from an IMAP client will work.
shared_folders is your sharable maildir, and so your
/etc/courier/maildirshared file should point to it, and not to folders
within it.

 Now I'm not sure how I can actually access that shared
 folder from any account? I've tried issuing the command
 SELECT shared.test, and SELECT test, and LIST shared
 * but none of them seem to recognize the shared folder.
 
 What is the correct way to configure and access the shared
 folder?

-- 
Anand Buddhdev
http://anand.org


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] how to access shared folders?

2003-07-28 Thread Anand Buddhdev
On Mon, 28 Jul 2003 16:23:40 -0500 James A Baker wrote:

 echo oogabooga   /Users/james/tmp/Shared \
   | cat  /usr/lib/courier/etc/maildirshared

And this week's UUOC (Useless Use Of Cat) award goes to  drumroll
 James Baker! :)

-- 
Anand Buddhdev
http://anand.org


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] send mail message to all domain.com users ?

2003-07-27 Thread Anand Buddhdev
On Sun, Jul 27, 2003 at 12:12:35AM -0400, Stephen Reese wrote:

 If I want to send a message out to everyone on the [EMAIL PROTECTED] is there
 a way to do this with courier without having to specify each user. Some
 kinda of distribution. Should I just create a new account with a a file

That's one of doing it. A more elegant way is to setup a mailing list
with couriermlm.

 to forward the message to all of the user, but that still means I've got
 to go though and look everyone up?

Yes. There's no [EMAIL PROTECTED] feature in SMTP. Life's hard soemtimes :)

-- 
Anand Buddhdev
http://anand.org


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Problem installation in RED HAT 9.0

2003-07-25 Thread Anand Buddhdev
On Fri, 25 Jul 2003 12:49:53 -0700 (PDT) Eric wrote:

 when run this command:
 
 rpmbuild -ta courier-0.42.2.20030721.tar.bz2
 
 i got this error:
 
 error: Failed build dependencies:
 expect is needed by
 courier-0.42.2.20030721-1.9
 postgresql-devel is needed by
 courier-0.42.2.20030721-1.9
 mysql-devel is needed by
 courier-0.42.2.20030721-1.9
 openldap-servers is needed by
 courier-0.42.2.20030721-1.9
 openssl-perl is needed by
 courier-0.42.2.20030721-1.9
 
 please help me.. ..

Install the missing packages, and then try building courier again.

-- 
Anand Buddhdev
http://anand.org


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] trash folder seems to be purging?

2003-07-25 Thread Anand Buddhdev
On Fri, 25 Jul 2003 16:49:39 -0400 Stephen Reese wrote:

 Does the trash folder automatically purge after a certain time/size by
 default. I seem to not have messages older than a month?old...

The webmail and imap servers automatically remove messages from Trash
that are over 7 days old. It's a configurable setting. Read the docs.

-- 
Anand Buddhdev
http://anand.org


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Incoming message exceeds policy limit

2003-07-23 Thread Anand Buddhdev
On Wed, Jul 23, 2003 at 02:28:03PM +1000, Mark Constable wrote:

 I'm aware of maxrcpts for outgoing recipient list size
 but where is the setting for incoming messages that could
 trigger this error response below ?
 
 There are apparently 120 recipients in the To: line and
 I've got...
 
  /etc/courier/batchsize:5000
  /etc/courier/bofh:maxrcpts 5000
  /etc/courier/module.esmtp:MAXRCPT=500
 
 ***
 
  Your message has encountered delivery problems
  to the following recipient(s):
 
  [EMAIL PROTECTED]
  Delivery failed
  534 Message header size, or recipient list, exceeds policy limit.
 
  Sent:(message data)
  Received:534 Message header size, or recipient list, exceeds policy limit.

This is a hard-coded limit in submit, so it will affect all messages,
even locally submitted ones. Submit places a restriction on the total
size of the header and the recipients therein. The limits in
/etc/courier/batchsize, /etc/courier/bofh and
/etc/courier/module.esmtp are not applicable here.

-- 
Anand Buddhdev
http://anand.org


---
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] IMAP daemon doesn't find my Maildir

2003-07-17 Thread Anand Buddhdev
[EMAIL PROTECTED] wrote:
Hello,

I've installed courier-imap 1.7.3 from debian unstable (package -5).

I try to use it with mutt 1.5.4 (also from debian unstable, package -1).

When I configure mutt as follows:

set folder = imap://localhost/
set spoolfile = imap://localhost/inbox
set imap_user = amos
set imap_force_ssl = no
set ssl_starttls = no
(the last two were added later to stop it from using ssl) mutt asks for
my password and then just says Connection to localhost closed.
I tcpdump'ed the connection and this is what I found (S = imap server, C = 
client, used tcpflow):

S: * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT 
THREAD=REFERENCES SORT QUOTA IDLE STARTTLS] Courier-IMAP ready. Copyright 
1998-2003 Double Precision, Inc.  See COPYING for distribution information.

C: a CAPABILITY

S: * CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT 
THREAD=REFERENCES SORT QUOTA IDLE STARTTLS
a OK CAPABILITY completed

C: a0001 LOGIN amos PASSWORD

S: a0001 OK LOGIN Ok.

C: a0002 LIST  

S: * LIST (\Noselect) . 
a0002 OK LIST completed.
C: a0003 SELECT INBOX

S: * BYE [ALERT] Fatal error: No such file or directory

C: a0004 CLOSE

The last CLOSE apparently happens after IMAP shut the connection down
in the client's face, causing mutt to say CLOSE failed.
I now see that the list is empty and the server closes on selection of a 
non-existing inbox. My home directory looks like this:

~/Maildir:
  inbox/ (a Maildir, with cur, new and tmp subdirs)
  INBOX@ - inbox (i.e. INBOX is a symlink)
  other maildirs...
You need to re-read all the documentation about Maildirs. You've done it 
completely wrong. ~/Maildir *is* actually your inbox, and it should be a 
proper maildir with cur, new and tmp in it. Having ~/Maildir/inbox is no 
good, and the symlink from INBOX to inbox is unnecessary.

--
Anand


---
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Unknown user

2003-07-12 Thread Anand Buddhdev
On Sat, Jul 12, 2003 at 05:52:28PM +0100, Jeremy Ruffer wrote:

 Is there a configuration change I can make to accept mail for unknown users in 
 a locally hosted domain and route it to a specific recipient eg postmaster?

Yes. See the [EMAIL PROTECTED] option in the man page of
makehosteddomains.

-- 
Anand Buddhdev
http://anand.org


---
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing  more.
Download  eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Why does Courier create maildir files and notmaildir directories?

2003-07-10 Thread Anand Buddhdev
On Thu, 10 Jul 2003 14:49:24 -0700 Andrew Gray wrote:

 I tried searching courier-users and the web pages for this, and maybe
 I'm missing something...
 
 But why, if it can't find anything named Maildir, does courier create
 a Maildir file, instead of its preferred format of a Maildir
 directory?  Since it creates /something/ one would think it would
 create the proper structure that it requires.  We come across this on
 occasion as a user gets over-zealous in home directory cleaning and
 deletes their Maildir directory.
 
 Or is there a configuration option I'm missing somewhere?

I don't know why courier chooses to create an mbox format file called
Maildir, instead of just creating the Maildir. But there's no
configuration to change this as such. However, at the expense of an
extra test with each delivery, you could change your default delivery to
something like this:

|test -d ./Maildir || maildirmake Maildir
./Maildir

This will ensure that if a Maildir is missing, it is created
automatically before delivery.

-- 
Anand Buddhdev
http://anand.org


---
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing  more.
Download  eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] special treatment of addresses

2003-07-04 Thread Anand Buddhdev
Jason Gordon wrote:

Is it possible to setup courier to use my ISPs mail server to send 
messages to a particular domain, for example aol.com?

AOL rejects mails from my server because my IP is listed as dynamic 
residential.
echo aol.com:my.isp.mail.relay  /etc/courier/esmtproutes

--
Anand


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] FAQ: simple virtual domain config (@dom - user)

2003-07-03 Thread Anand Buddhdev
On Thu, Jul 03, 2003 at 01:00:13AM -0400, Robert C. Tatar wrote:

 I've seen this question before and I've read the docs, but I still
 can't seem to get a virtual domain working.
 
 For the following example, assume I'm [EMAIL PROTECTED] and I want to
 create a local account to receive all E-mail 
 for users in domain two.com. (The domain names have been changed for
 this example.)
 
 0. I've done a clean debian, stable installation with courier-mta,
 courier-imap, courier-authdaemon, courier-base and courier-pop.
 I can sendmail locally and send to other machines.
 
 1. I've modified /etc/courier/locals to include the following lines
 
 localhost
 one.com
 two.com

This is the error. Remove two.com from locals. When you have two.com
in locals, and you send email to [EMAIL PROTECTED], courier will look
for local user someone instead of two-someone. The entry in the
aliases file won't work.

 2. I've created a local user two.
 
 3. As user two I've created a maildir (/home/two/Maildir) with maildirmake. 
 
 4. I've added the following line to my /etc/courier/aliases/system file:
 
 @two.com:  two
 
 5. I've compiled the above file with makealiases.
 
 6. As user two I've created file /home/two/.courier-default with the
 following single line:
 
 /home/two/Maildir
 
 and made it world readable/executable. (I've also tried several
 variations of permissions and content ./Maildir -- same failed
 result.)
 
 7. On the local machine, I send mail to: [EMAIL PROTECTED] and it gets
 returned as undeliverable 550 user unknown
 
 WHAT AM I MISSING?
 
 :Bob

-- 
Anand Buddhdev
http://anand.org


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Disclaimer add

2003-07-02 Thread Anand Buddhdev
On Wed, Jul 02, 2003 at 03:38:47PM +0200, Bertus Keyser wrote:

 Hallo group
 
 I just searched the online docs for courier and was unable to find anything
 regarding adding a disclaimer.
 I believe courier can do this but I cant find a way to do it?
 
 Can courier add a disclaimer to email?
 If yes, please point me to the relevant document that might help.
 
 Thanks for any and all replies/help/suggestions
 
 Bertus Keyser

You can only add a footer to messages sent via courier webmail. Any
other messages passing through courier via ESMTP cannot have a footer
added, as it can corrupt the message.

-- 
Anand Buddhdev
http://anand.org


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] smtpaccess

2003-06-27 Thread Anand Buddhdev
On Fri, Jun 27, 2003 at 03:07:13PM +0200, Lukas Vesely wrote:

   Hello,
 I'm really clueless - in my /etc/courier/smtpaccess/admin file I have a
 row: 192.168.106.128 allow,BLOCK,BOFHCHECKDNS=0

Make sure you have a TAB, and not a SPACE between the IP address and
the allow. The makesmtpaccess file clearly says you must use TABS.

 I did all makesmtpaccess  makesmtpaccess-msa but still I get this in the
 logs:
 
 Jun 27 12:38:39 auto courieresmtpd:
 error,relay=:::192.168.106.128,from=[EMAIL PROTECTED]: 517
 Invalid domain, see URL:ftp://ftp.isi.edu/in-notes/rfc1035.txt
 
 I tried to add there also RELAYCLIENT but with the same result ..
 And what's also weird, that when I try to test it from another IP
 everything is OK !

-- 
Anand Buddhdev
http://anand.org


---
This SF.Net email is sponsored by: INetU
Attention Web Developers  Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Corrupted Message attachments

2003-06-26 Thread Anand Buddhdev
Patrick Beart wrote:

Foiks:

Stupid Newbie Question (which I'm sure has been answered before, but 
a search of the archives didn't display any results)...

I LOVE that Courier is fully RFC-compliant and a VERY nice MTA. 
However, some of my (clueless and impatient) business clients don't like 
it when some of their colleagues send them messages, using crappy 
software, and then Courier sends them the message as an attachment, with 
the following content:

-

 CORRUPTED MESSAGE

 This is the Courier Mail Server 0.40 on mailserver.iweb4biz.com.
-

I know that this is going to sound stupid (it certainly does to me, 
anyway), but can this feature be turned off, and if so, HOW?
Follow up question:  Can it be turned off for SPECIFIC accounts, or 
is the feature global in nature?
I can only be turned on or off globally. Add opt BOFHBADMIME=accept to 
/etc/courier/bofh. You can also set this option on a per-IP basis in the 
smtpaccess file. Reads the docs for more info.

--
Anand


---
This SF.Net email is sponsored by: INetU
Attention Web Developers  Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] couriermlm setup question

2003-06-25 Thread Anand Buddhdev
On Wed, 25 Jun 2003 15:19:57 -0400 Jason Gordon wrote:

 If I have root access to a machine, what is the best way to set up 
 mailing lists without having to create user accounts for the lists.  
 For example, if I was to make a mailing list [EMAIL PROTECTED], how can
 
 I do this without creating a system account called jhu and creating a 
 mailing list, grads, under that system account?  To me doing so seems 
 like a security risk because then you have more passwords to remember 
 and more ways for an attacker to break into a system.
 
 Can anyone suggest a way to setup a bunch of mailing lists to be 
 managed by the root user, or even one regular system user as long as 
 the list email address doesnt need to be prefixed by username?

1. Create a subdomain, list.domain.tld

2. Create a single system account called list

3. Create an alias called @list.domain.tld pointing to user list.

4. Now all you have to do is create lists in this system account, eg.
list [EMAIL PROTECTED] you would run, as user list, couriermlm
create  and then create the related ~list/.courier-mylist-* files.

5. I have my lists setup this way, but I've gone a step further by
writing a little python wrapper script, called from
~list/.courier-default, so it handles all the lists, and I don't need
individual .courier files for each list.

-- 
Anand Buddhdev
http://anand.org


---
This SF.Net email is sponsored by: INetU
Attention Web Developers  Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] AuthMysql and AuthPlain?

2003-06-25 Thread Anand Buddhdev
On Wed, 25 Jun 2003 16:37:42 -0400 (EDT) Glenn Sieb wrote:

 I would like to be able to run authentication against a MySQL database
 and my /etc/passwd (one for my virtual domains hosted here and one for
 my local users, natch). Can I do this? Or am I forced to go one way or
 the other?

You can use both. List authmysql and authpam as the 2 authentication
modules in your authdaemonrc file. Courier will attempt to authenticate
out of both, in the order listed.

-- 
Anand Buddhdev
http://anand.org


---
This SF.Net email is sponsored by: INetU
Attention Web Developers  Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Migration

2003-06-20 Thread Anand Buddhdev
On Fri, 20 Jun 2003 13:54:10 -0300 [EMAIL PROTECTED] wrote:

 I had a server configured under Windows, running MDaemon. The thing is
 that this email server has a feature called DomainPOP, that downloads
 email from a POP account and then puts each email in the right
 mailbox. I use this because I'm not 24/7 online, so I have this ISP
 that gets all the mail for my domain and I download it later.
 I don't know if I made myself clear, but the question is, as I'm
 migrating the server to Linux, if Courier has a feature like the one I
 described, and if it doesn't, is there anyway to do this?
 Thanks

Courier has no such feature. Under linux, you use a separate program
called fetchmail for this domainPOP feature.

-- 
Anand Buddhdev
http://anand.org


---
This SF.Net email is sponsored by: INetU
Attention Web Developers  Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: Attachment size limit in sqwebmail

2003-06-19 Thread Anand Buddhdev
On Thu, 19 Jun 2003 10:10:07 +0200 [EMAIL PROTECTED] wrote:

  From the man pages:
 sizelimit
 Maximum  size of the message, in bytes, that Courier accepts for
 delivery.  Courier rejects larger messages. If sizelimit is  set
 to  zero,  Courier  accepts  as  large message as available disk
 space permits. If the environment variable SIZELIMIT is  set  at
 the  time  a  new  message  is received, it takes precedence and
 Courier uses the contents of the environment  variable  instead.
 Changes  to  this  file  take effect immediately.  The SIZELIMIT
 environment variable is for use by  individual  mail  submission
 agents.  For example, it can be set by the smtpaccess configura-
 tion file (see makesmtpaccess(8) for more information) for  mail
 from certain IP addresses. 
 
 If sizelimit does not exist, and SIZELIMIT is not set, the maxi-
 mum message size defaults to 10485760 bytes. 
 
  
 
 However, I am using courier 0.42.2 and have created the 
 /etc/courierd/sizelimit file with one single row 1048576000 but are
 still catched with the oversize message whan I try to send a 11 Meg
 file. 

The SIZELIMIT variable affects messages submitted via the command line
or ESMTP. It does not affect webmail, which imposes its own compile-time
limit (unless SIZELIMIT is lower than webmail limit).

-- 
Anand Buddhdev
http://anand.org


---
This SF.Net email is sponsored by: INetU
Attention Web Developers  Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] DNS violates RFC 1035

2003-06-12 Thread Anand Buddhdev
On Thu, 12 Jun 2003 10:53:41 -0500 (CDT) Joe Laffey wrote:

 I get one of these for a domain I deal with. I know the admin, so I
 can try to get him to fix it if I can identify the exact problem.
 
 Jun 12 09:46:51 moog courieresmtp:
 id=000107A9.3EE89255.1950,from=[EMAIL PROTECTED],addr=
 [EMAIL PROTECTED]: This domain's DNS violates RFC 1035.
 
 [10:53am]moog /usr/lib/courier/etc# ../bin/testmxlookup
 acumen-corp.com Domain acumen-corp.com:
 Relay: mail.acumen-corp.com, Priority: 5, Address: 216.90.94.80
 Relay: 216.90.94.145, Priority: 10, Address: 216.90.94.145 [ ERROR ]
 Relay: mail2.acumen-corp.com, Priority: 20, Address: 216.90.94.10
 
 Is the violation the lack of a PTR with matching A for 216.90.94.145
 ??

$ host -t mx acumen-corp.com
acumen-corp.com mail is handled by 10 216.90.94.145.
acumen-corp.com mail is handled by 20 mail2.acumen-corp.com.
acumen-corp.com mail is handled by 5 mail.acumen-corp.com.

MX records MUST point to hostnames, NOT IP addresses. The MX at priority
10 is therefore wrong.

-- 
Anand Buddhdev
http://anand.org


---
This SF.NET email is sponsored by: eBay
Great deals on office technology -- on eBay now! Click here:
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Howto copy mails and exclude ? courier-mta

2003-06-06 Thread Anand Buddhdev
On Thu, Jun 05, 2003 at 11:16:44PM +0200, Christophe Zwecker wrote:

 Hi,
 
 with sendmail and procmail I used to have somthing like this:
 
 :0 c
 * !^FROM_DAEMON
 * !^X-Loop.* [EMAIL PROTECTED]
 * !^X-Loop.* [EMAIL PROTECTED]
 * !^From.* [EMAIL PROTECTED]
 * !^From.* samhain
 * !^From.* [EMAIL PROTECTED]
 * !^Precedence.* list
 !docmobile
 
 that way I could get mails with my mobile from another popbox without 
 mailinglists n stuff.
 
 how would I do that with the .mailfilter ?

I do things a bit differently. I have my INBOX, which is accessible
via POP, and then I have a subfolder, called indirect.

My .mailfilter looks like this:

if (hasaddr('[EMAIL PROTECTED]') || hasaddr('[EMAIL PROTECTED]'))
{
to Maildir
}
to Maildir/.indirect

This drops all mail directly addressed to me into my INBOX, and
everything else into the subfolder. From my mobile (using POP3), I
only see the INBOX, and a handful of messages. The mailing list stuff
waits until I connect my laptop to the network, and use fetchmail to
download mail from INBOX and INBOX.indirect (using IMAP).

-- 
Anand Buddhdev
http://anand.org


---
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


  1   2   3   >