Re: [courier-users] mail is not delivered

2010-09-28 Thread Jeff Jansen
Kovács Zoltán kov...@particio.com wrote on 2010-Sep-28:
 The /tmp/info2 directory exists with the following layout:
 
 server:~# find /tmp/info2 | xargs ls -l
 /tmp/info2:
 total 4
 drwxrwxrwx  5 daemon daemon 4096 Sep 28 12:12 Maildir
 
 /tmp/info2/Maildir:
 total 12
 drwxrwxrwx  2 daemon daemon 4096 Sep 28 12:12 cur
 drwxrwxrwx  2 daemon daemon 4096 Sep 28 12:12 new
 drwxrwxrwx  2 daemon daemon 4096 Sep 28 12:12 tmp

The permissions for these files aren't correct for a Maildir.  Use the
maildirmake command that comes with courier to make your Maildir.

/path/to/maildirmake /tmp/info2/Maildir

will set everything up properly.

 Here is my userdb file:
 
 server:/usr/local/etc/authlib# cat userdb
 info2 
 systempw=J8rkM5hKUZsq.|mail=in...@server2.webfield-design.hu|uid=1|gid=1|home=/tmp/info2
 in...@server2.webfield-design.hu 
 systempw=J8rkM5hKUZsq.|mail=/tmp/info2|uid=1|gid=1|home=/tmp/info2

First, if you want people to log in just as info2, then put
server2.webfield-design.hu into the 'locals' files in courier's 'etc'
directory.  (That probably either /etc/courier/ or
/usr/local/etc/courier/ depending on how you compiled it.)

If you want people to log in as in...@server2.webfield-design.hu then
put server2.webfield-design.hu into the 'hosteddomains' file in
courier's 'etc' directory.  (If 'hosteddomains' is a directory, you can
either delete it and create a file instead, or you can put that server
name into any file name inside the directory.)  Then run the
makehosteddomains command.

Also put that server name into a file (of any name) inside the
esmtpacceptmailfor.dir folder in the courier 'etc' directory.  Then
run makeacceptmailfor.

Remove the mail= field from your userdb file.  Just have home= and
courier will look for a Maildir directory by default.  Get rid of the
line that no longer corresponds to your set up. (If you are using
locals get rid of the entry with the domain name and vice versa.)
Make sure you have a TAB between the name and the other fields.  Spaces
won't work.  Then run makeuserdb.

Now run authtest info2 or authtest in...@server2.webfield-design.hu
depending on which way you decided to configure this domain.  That
should show you the relevant information for this account.  If it says
Authentication FAILED, then there's something wrong.  If it finds the
user try authtest info2 PASSWORD with whatever password you have it.
If the password matches the user then you'll see the info.  If not
you'll get the FAILED message again.

If authlib can authenticate the user and the Maildir is set up
correctly, you should be able to deliver mail.

HTH

Jeff Jansen

--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Subfolders of INBOX

2010-08-10 Thread Jeff Jansen
Bowie Bailey bowie_bai...@buc.com wrote on 2010-Aug-10:
 Because this is the way Thunderbird chooses to display them.  You might
 be able to change this, but it would be a Thunderbird setting, not a
 server setting.

For what it's worth, in Thunderbird 2 and 3 you set this by choosing the
Account Settings item (under the Tools menu in Windows and the Preferences
in Linux, don't know about Mac), then click on the Server Settings item under
the Email Account you are working on, and then click the Advanced button in
the right-hand pane.

In the box that appears, put INBOX into the first field, IMAP Server
Directory, then hit OK to get back out.  Now the folders will all show up on
the same level.  (You may need to Refresh the display for that email account
by clicking on the '+' symbol next to the account to get it to change the 
display.)

 We have been providing email services for our clients for several
 years.  Trust me, you are going to have to explain to a sizable
 percentage of them how to configure their MUA.  And then, when they buy
 a new computer, you're going to have to explain it again.  You can cut
 down on this a bit by writing a good FAQ on how to set up the common
 clients for your service (Thunderbird, Outlook and OE), however most
 people won't bother to read it.

Amen, preach it! :-)

But at least having documentation allows you to point folks to a web page with
some images, which most people find helpful.

Here's our pages for this very issue with Thunderbird.  A picture is
*definitely* worth a thousand words when it comes to email support, IMHO.

Tbird 2 - http://www.kkoncepts.net/node/99#server_dir
Tbird 3 - http://www.kkoncepts.net/node/98#server_dir

HTH

Jeff Jansen


--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] turn off Login- and IP-logging

2010-08-03 Thread Jeff Jansen
datenritter li...@datenritter.de wrote on 2010-Aug-02:
 I had no luck with syslog-ng and know no other filtering logger. Not
 sure if syslog-ng can do what I want - anyway, it's not in debian stable
 yet.
 
 I don't think it's a good idea to turn off logging completely, either.
 
 Any opinions/ideas?

This isn't courier specific, but I prefer to log *everything* and then filter
what I see rather than filter the input to the logs and lose that information
forever.

So I use logcheck (http://logcheck.org/) to go through the logs and filter out
everything that I don't want to see regularly.  But it's all still when I need
to go through it to troubleshoot a problem.

My $0.02 worth, as they say.  HTH

Jeff Jansen

--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] timeout when talking to gmail using SSL on port 465

2010-06-07 Thread Jeff Jansen
Sam Varshavchik mr...@courier-mta.com wrote on 2010-Jun-08:
 If Courier connects to an SMTP 
 server and the remote server supports STARTTLS (gmail's does), Courier will 
 negotiate an encrypted connection by default.

Does anyone know why smtp.gmail.com advertises STARTTLS, but the gmail MX
servers do not?

--
r...@mail:/# testmxlookup gmail.com
Domain gmail.com:
Relay: gmail-smtp-in.l.google.com, Priority: 5, Address: :::72.14.213.27
Relay: alt1.gmail-smtp-in.l.google.com, Priority: 10, Address: 
:::74.125.95.27
Relay: alt2.gmail-smtp-in.l.google.com, Priority: 20, Address: 
:::209.85.211.7
Relay: alt3.gmail-smtp-in.l.google.com, Priority: 30, Address: 
:::209.85.229.27
Relay: alt4.gmail-smtp-in.l.google.com, Priority: 40, Address: 
:::209.85.219.3
--

None of these advertise STARTTLS in response to an EHLO.

So if I want to send mail securely to gmail.com, I need to put a entry in
esmtproutes on each courier install forcing smtp.gmail.com for delivery to
that domain?

TIA

Jeff Jansen

--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] courier and tbird and openssl

2010-05-17 Thread Jeff Jansen
Dear all,

This one has got me totally stumped, and I'm hoping that someone on the list has
seen something like this before or has some ideas on how to troubleshoot it more
than I have.

This is courier 0.59 on Ubuntu Hardy (running in a virtual machine -
linux-vserver) from the hardy-backports repository.  I have a user who cannot
send secure SMTP through our server.  He's tried Tbird 3 on XP and Vista and
neither can send reliably.  It times out 3 out of 4 times.  The 4th time, it
sits for a long time, but eventually goes through.

POP3S and IMAPS both work fine.  Sending through SMTP (no encryption) works
fine.  Neither SSL over port 465 nor STARTTLS over port 25 work - they both
exhibit the same 3/4 times it hangs and times out.

Tbird on his machine can send just fine through a Communigate Pro server running
on a virtual machine on the same host.

He has cygwin installed on the XP machine so on his end we tried

openssl s_client -connect our_server:smtps -crlf
and
openssl s_client -connect our_server:smtp -crlf -starttls smtp

and both commands show the same behavior - they hang 3 out of 4 times - they
show Connected, but never get any farther - no certificate, nothing.  We tried
changing the -cipher switch and using different ciphers, but they all act the
same way.

If I watch the connection on the server side using tcpdump, I see the 2 machines
handshake, and then they sit there.  Our server sends an ACK repeatedly but
nothing every comes back.  But from his side, it appears the same way.  (He
doesn't have a sniffer on his machine, so I can't actually watch it.)  The
machines connect, and then just sit there.

Any ideas what else I can try?  Would -debug on openssl on cygwin show me
anything other than the connection sitting there?  There's hundreds of accounts
on this machine, and no one has any problems but him.  But he's very tech savvy,
and so when he says he's tried X, Y, and Z and it doesn't work, I believe him.
He's not someone who will try connecting to gmail.cmo and then complain
bitterly that it doesn't work. :-)

I'm open to whatever thoughts you may have.  I have no idea where to go next to
troubleshoot this.

TIA

Jeff Jansen

--

___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] courier/mysql setup

2010-04-28 Thread Jeff Jansen
Tim Dunphy bluethu...@gmail.com wrote on 2010-Apr-29:
 Apr 26 18:51:23 cloud1 imapd: authdaemon: s_connect() failed: No such
 file or directory

Dear Tim,

As Sam and others have mentioned, this error means that authdaemon isn't
working.  Authdaemon uses a socket for communication with other programs.  Given
your configuration, it's probably in /var/run/courier/authdaemon/.  That
socket doesn't exist (that's the error message), so imap can't talk to
authdaemon on a non-existent socket. :-)

Since your 'ps' shows a very old version of authdaemon running, you probably
need to get a new version of authdaemon running, one that matches your running
version of courier-imap.

 1 - MySQL appears to be listening on port 3306, which sounds correct
 if I recall correctly.  Does courier have any sort of setting for the
 port on which to attempt connection.

Your MySQL is most likely fine.  Authdaemon is the problem.

 2 - Does courier have an advanced login debugging?  It should.  This
 might help by providing information regarding the connection attempts
 with user, password, etc.

Unfortunately, in your case, there's nothing to log because nothing is
happening.  Imap can't connect to the authdaemon socket and talk to it.  So
imap logs that fact - there's not much else it can log.

Where did you get courier-imap and authdaemon?  If you compiled them yourself,
go back and get the latest versions of BOTH authdaemon and courier-imap and
compile them again.  If you got them from a repository, I would remove them and
make sure you don't have any older copies running around.  Then reinstall and
make sure you get a fairly recent version.  (You probably don't want to run this
from a Redhat 9 repository.) ;-)

HTH

Jeff Jansen

--
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] backscatter and mailfilter

2010-04-26 Thread Jeff Jansen
I have a user who has set a low SIZE limit with a mailfilter because of
bandwidth limitations where they are located.  So they bounce anything bigger
than 100 KB with a message explaining that they can't accept anything larger and
so please remove any photos, dancing bunny gifs, etc. and resend.

Unfortunately, after they bounce a message, their address goes on the
backscatter list and then *everything* bounces for the next couple of hours.

Is there any way NOT to trigger backscatter suppression when a mailfilter has
rejected the message?  Right now the mailfilter exits with EXITCODE=77.  Is
there an exit code that will bounce the message but doesn't trigger backscatter
suppression?

This is courier 0.59.0 on Ubuntu Hardy from the Ubuntu repositories.

TIA

Jeff Jansen

--
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] backscatter and mailfilter

2010-04-26 Thread Jeff Jansen
Sam Varshavchik mr...@courier-mta.com wrote on 2010-Apr-26:
 Try an exit code of 70, this will bounce the mail without triggering
 backscatter suppression.

Thanks Sam, that's exactly what I was looking for.

Jeff Jansen

--
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] can't get courier to authenticate

2010-04-25 Thread Jeff Jansen
Tim Dunphy bluethu...@gmail.com wrote on 2010-Apr-26:
 Ideally I'd like to figure out to at least turn on courier logging so
 that I can help diagnose this problem. But when I looked in my
 /var/log directory I didn't see any logs pertaining to courier.

Dear Tim,

Courier doesn't do its own logging; it uses syslog.  So check where ever your
syslog is logging the mail facility to - probably /var/log/maillog or
/var/log/mail.log or something like that depending on your OS.

Then turn on logging for mysql so you can see what mysql is doing.

Between courier's logs and mysql's logs, you should have a better picture of
what's going wrong.

HTH

Jeff Jansen

--
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] clamAV, courierfilter , pythonfilter, problem after upgrade

2010-04-16 Thread Jeff Jansen
Bernd Plagge bpla...@choicenet.ne.jp wrote on 2010-Apr-16:
 I'm using Debian.
 this morning the pythonfilter clamav module stopped working.
 ClamAV version 0.94 is not valid any more.

What repositories are you using for clamav?  We run Debian Lenny, and we get
clamav from the debian volatile repository.  It has up-to-date versions that
work out-of-the-box with the python-clamav package from debian and
pythonfilter-1.6 (the latest).  No patching required.

So our apt sources.list file has:
deb http://volatile.debian.org/debian-volatile lenny/volatile main

HTH

Jeff Jansen

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] 513 Relaying denied

2010-01-26 Thread Jeff Jansen
Wagner Pereira wpere...@pop-sp.rnp.br wrote on 2010-Jan-26:
 Is there someone to clarify to me what  513 Relaying denied means?
 
 I got this through my main.log, as follows:
 
 Jan 26 09:59:35 kliper courieresmtpd: 
 error,relay=:::200.133.192.79,from=wpere...@pop-sp.rnp.br,to=r...@rtracker.rt.pop-sp.rnp.br:
  
 513 Relaying denied.

It means that rtracker.rt.pop-sp.rnp.br is NOT a domain hosted on your system.
 So courier rejects the message since it refuses to accept the message and then
send the message on to the proper server unless the sender authenticates first.

HTH

Jeff Jansen

--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] /courier/authdaemon owner setting

2010-01-24 Thread Jeff Jansen
 Milos Prudek writes:
 The owner of /var/run/courier/authdaemon is daemon:daemon in my
 distro. I need to chown it to daemon:vmail. After every PC restart,
 something sets it back to daemon:daemon. Mere restart of
 courier-authdaemon, courier-imap and courier-imap-ssl does not set it
 back to daemon:daemon.

 Does any courier configuration define an owner of
 /var/run/courier/authdaemon directory?

I'm also using courier-authdaemon_0.60.1-1ubuntu2, which is out of the Ubuntu
repositories, and the directory /var/run/courier/authdaemon is owned by
'daemon:daemon', but when authdaemon creates the socket
(/var/run/courier/authdaemon/socket), it does NOT change the permissions of
the 'authdaemon' directory.

I have also changed the ownership on the authdaemon directory to allow apache
to authenticate against courier email accounts, and the directory ownership does
not change at reboot.  I changed the ownership once and have never had to touch
it again.

So I don't think it's courier-authdaemon which is changing the ownership of this
directory.  At least it's not on my system.  Do you have anything like AppArmor
or udev rules running which might change this at boot?

HTH

Jeff Jansen

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Sending Spam

2010-01-06 Thread Jeff Jansen
Graham Smith wobblyc...@googlemail.com wrote on 2010-Jan-06:
 The server is running Debian stable and is fully up to date.

On debian your mail spool will be

/var/lib/courier/msg[s,q]

HTH

Jeff Jansen

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Couriersite - a new courier project for 2010

2010-01-03 Thread Jeff Jansen
Aidas Kasparas a.kaspa...@gmc.lt wrote on 2010-Jan-03:
 very interesting announcement! But image is worth 1000 words, so could
 you please put few screen(web?)shots to get a taste what it looks like,
 how it feels and what it does? 

An excellent idea that I should have done in the first place!

There's a mockup at

http://www.kkoncepts.net/couriersite-mockup/

You can't actually do anything since it's static HTML, but it shows you 
everything.

Jeff Jansen

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Couriersite - a new courier project for 2010

2010-01-02 Thread Jeff Jansen
I've been very happily using courier for more than 10 years now, and over that
time my email administration tools have gone from vi to bash scripts to perl
scripts to simple web scripts to full-blown web programs.  I've been meaning for
the past year or so to clean this stuff up and turn it loose so others could use
it as well, but life being what it is, I've not gotten around to it.  Finally my
very patient wife encouraged me to take this week of vacation between Christmas
and New Year's to actually do the work and get it out the door.  So here it is,
my little contribution to my favorite mail server...

Couriersite is a web program (written in perl) designed to allow relatively easy
administration of courier email servers. It is also designed to allow others to
administer different parts of the email system, thereby making less work for the
overworked and under paid email administrator!  To that end, it provides four
programs:

* Siteadmin - which allows someone to administer the entire email server (all
services, domains, users, mailing lists, etc.).
* Domainadmin - which allows someone to administer a single email domain
(settings, users, and mailinglists).
* Listadmin - which allows someone to administer a single mailing list.
* Useradmin - which allows someone to administer a single email user.

The installer sets up the complete courier email suite (if it's not already
installed) as well as spamassassin and clamav. So you get all of courier as well
as AV and spam scanning working out-of-the-box. If you enable webdav in your
web server, it also allows users to upload and share their calendars with other
email users in their email domain (all email users access calendars using their
own email usernames and passwords) or with anyone using a generic username and
password.

The site administrator has complete control over what runs and what doesn't, but
then they can delegate administration of domains and mailinglists to others if
they choose. Moreover, users can log into the Useradmin program and administer
their own email address including changing their password, setting forwarding
addresses, spam controls (if enabled), calendar sharing (if enabled), and
creating a vacation/auto reply (with an optional automatic stop date).

The real point of the program is to get others to do my work for me, laziness
being a chief virtue of most IT professionals! :-)

The tar ball of the files (with the installation script) can be found at
http://www.kkoncepts.net/courier/files;.

Installation instructions are available in the tar ball or you can read them
on-line here - http://www.kkoncepts.net/courier/readme;.  DEFINITELY read this
before you install.  There's some caveats you need to know before you push the
INSTALL button - like the installer thinks that you are running on a clean
Debian system!

Many of the gory details (which you definitely also should read) can be found at
http://www.kkoncepts.net/courier/details;

I'm a systems administrator, not a programmer, so if you see problems, bugs,
security issues, etc., please let me know.  I'm sure that someone more gifted
than I could write this much better.  But it scratches where I itch and makes
my life easier.  So hopefully it can do the same for others.

Jeff Jansen

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] rctpfilter

2009-12-16 Thread Jeff Jansen
I have a user who wants to block *a lot* of addresses.  I was going to put them
all into a rcptfilter.

Does anyone know in terms of execution speed whether it's better to '||' all the
addresses together as one big if statement, or to list each address as its own
if?

if (($SENDER eq a...@a.com) || ($SENDER eq b...@b.com) || ... )
...

 verses

if ($SENDER eq a...@a.com)
...
if ($SENDER eq b...@b.com)
...

TIA

Jeff Jansen

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] set MAXPERIP in smtpaccess

2009-09-03 Thread Jeff Jansen
Is it possible to use an smtpaccess file to set different MAXPERC and MAXPERIP
values from esmptd for certain machines?  The defaults are '5' each, which is
reasonable IMHO.  But I'd like to increase the values for certain internal
machines which periodically send TONS of mailing list messages at a time.

I already had

192.168.100.12TABallow,RELAYCLIENT,BOFHCHECKDNS=0

in smtpaccess/default, so I changed it to

192.168.100.12TABallow,RELAYCLIENT,BOFHCHECKDNS=0,MAXPERC=500,MAXPERIP=500

and ran makesmtpaccess  But I still get errors like

courieresmtpd: Maximum connection limit reached for :::192.168.100.12

TIA

Jeff Jansen

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] virtual domain

2009-06-24 Thread Jeff Jansen
Jan Müller muller@gmail.com wrote on 2009-Jun-24:
 Our company registered example.eu domain in addition to our previous
 example.cz domain.
 I have to add a domain alias for the new domain so that j...@example.cz
 could be reached at j...@example.eu as well.
 Alternatively, any mail for any...@example.eu could be delivered to
 i...@example.cz, that would work too, I don't know if it is any easier
 to set up.
 
 I added example.eu in the esmptacceptmailfor, and I no longer get 513
 Relaying denied. Good.
 
 I tried adding example.eu or example.euexample.cz into locals
 file or hosteddomains, but i am getting 556 Address unavailable when i
 try to send mail.
 
 How can I tell if locals file is used at all? Our mailboxes do not
 have @example.cz added and it is not in userdb, our authentication
 file, so I think adding example.euexample.cz into locals file
 should work.

If your email address is u...@example.eu but you log in as user to get your
mail, then these are LOCAL domains, not hosted domains.

In that case just list all the local domains one per line in the 'locals' file.

example.eu
example.cz

and make sure they are NOT in the hosteddomains file.

Courier strips the domain from all the local domains before it tries to deliver
the mail.  So email to j...@example.eu and j...@example.cz will both have 
the
domain removed and mail delivered to account jan.

HTH

Jeff Jansen

--
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] couriersmtp and esmtp_use_starttls setting

2009-06-15 Thread Jeff Jansen
Joseph C. Lininger jb...@pcdesk.net wrote on 2009-Jun-16:
 I have ESMTP_USE_STARTTLS=1 in the /etc/courier/courierd file so that
 SSL/TLS will be used on systems which support it. What I'm wondering is
 this. Can that setting be disabled on a per-receiving-system bases?

Yes, it's set in the 'esmtproutes' file.  Check out man courier and search for
esmtproutes.

You basically make an entry for the bad domain and add /SECURITY=NONE to the
end of it to tell courier NOT to use STARTTLS with this server.  So if the
problematic domain was 'domain.com', you'd add

domain.com: /SECURITY=NONE

Next time courier tries to send mail to the MX for this domain, it will not use
STARTTLS.

HTH

Jeff Jansen

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] 554 Null argument failures with clamav/pythonfilter

2009-05-20 Thread Jeff Jansen
Nathan Harris nhar...@eoimaging.com wrote on 2009-May-21:
 pyclamav does not seem to work with the latest clamav.  I am also 
 running 0.95.1 and have had to disable it.

For what it's worth, we're running clamav 0.95.1 on Lenny (from the volatile
repository), and it works fine with pyclamd.

Jeff Jansen

--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA,  Big Spaceship. http://www.creativitycat.com 
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] No such file or directory error

2009-05-09 Thread Jeff Jansen
Mark Constable ma...@renta.net wrote on 2009-May-09:
 ./courierd:ESMTP_USE_STARTTLS=1
 Do you see the same problem if you set the above value
 to 0 and restart courier?

By changing this to '0' you are telling your mailserver never to use encryption
when sending messages.  I'm a big fan of courier's opportunistic encryption; if
the other side says they can do STARTTLS, then we'll always use it.

 And... any idea what the No such file or directory error
 returned from the M$ Exchange server might actually mean?

The Exchange server is probably mis-configured.  It claims it can do STARTTLS in
the EHLO, but when courier initiates the command, the Exchange server goes
looking for the certificate (or some file it needs) but that doesn't exist.

You could test this by telnetting to the mailserver in question and issuing the
STARTTLS command after the EHLO and seeing if that's where the error gets 
returned.

Personally, I prefer to leave TLS on and then turn it off for certain
problematic domains like this one in 'esmtproutes'.

.com.au: /SECURITY=NONE

(My $0.02 worth; feel free to ignore completely.) ;-)

Jeff

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] 540 TLS not available.

2009-04-01 Thread Jeff Jansen
Ricardo Kleemann rica...@americasnet.com wrote on 2009-Apr-01:
 Anyone know whether Ubuntu's package provides support for TLS?

It does, but it's a separate package.  So make sure you have installed
courier-ssl and courier-mta-ssl.

sudo apt-get install courier-mta-ssl courier-ssl

HTH

Jeff

--
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Maildrop not found

2009-03-25 Thread Jeff Jansen
Jesper Langkjær j...@minisoft.dk wrote on 2009-Mar-25:
 I'm running Courier 0.60 on Fedora 9 and when i setup an vacation messages i 
 get
 /bin/bash: maildrop: command not found.
 
 The content of .courier are:
 || maildrop

It looks like whatever environment this commands runs under, it doesn't include
the PATH where maildrop is located.  (maildrop is installed, right?)  Try
putting the entire path into the file:

|| /usr/local/bin/maildrop

or where ever it is.

HTH

Jeff

--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] catchall with mysql virtualdomains

2009-03-18 Thread Jeff Jansen
Ernesto Domato edo...@gmail.com wrote on 2009-Mar-19:
 Even more, what I really wish to do is to forward everything that
 comes to a domain to another mail address, something like:
 
 @domain: u...@otherdomain
 
 Everything I tried so far failed so I'm asking for some help.

For this sort of virtual domain to work, you must use a local user.  So in the
alias file add the line:

@domain: user

then in the HOME directory for the account 'user' create the file
'.courier-default' and in it put:

u...@otherdomain

Now any mail for any user @domain will be delivered to the email account
'user' which will immediately forward it to u...@otherdomain.

If you want mail that is actually addressed directly to user to be forwarded
as well, then you need to create the file '.courier' in the 'user' HOME
directory and put u...@otherdomain in it as well.

HTH

Jeff Jansen

--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Rewritting From_

2008-08-26 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Mark Constable [EMAIL PROTECTED] wrote on 2008-Aug-27:
 I have a number of .courier files pointing to external email
 addresses and I would like to rewrite the From_ line to avoid
 SPF blocking on destination mail servers that use SPF checking.
 
  # cat .courier
  [EMAIL PROTECTED]
 
 Can anyone suggest the simplest way to rewrite a From_ line
 starting from the above situation?

By From_ line do you mean the SMTP envelope MAIL FROM:?  If so then
I think you could simply change your .courier to be

| sendmail -f some-good-address [EMAIL PROTECTED]

That would pump the message back out through sendmail, but with a
different MAIL FROM:  I haven't tried this, so YMMV, as they say. ;-)

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFItK5kGfIHDMaiC9cRAth4AJ0QjupRf0HjUqzvTq5+gr4H5yqK9QCfSgyH
KxmhCIlLao4ksQpuQH6qUCo=
=EkG2
-END PGP SIGNATURE-

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] couriermlm configuration problems. commands.dat: Permission denied

2008-07-09 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Chuck Williams [EMAIL PROTECTED] wrote on 2008-Jul-09:
| 20:01:50 2008, wakeup time=Tue Jul  8 20:01:50 2008, queuedelivering=4,
| inprogress=0

This may be nothing, but all your examples show several messages sitting
in the mail queue.  Have you done a 'mailq' and verified that nothing in
the queue is a stuck message that is gumming up the process?

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIdFU3GfIHDMaiC9cRAoShAKCzX0muIhSm40pyHiIeb+6sUEraRgCeMFXI
/QDy16qbx0vazZkHgQa4cyw=
=BrQd
-END PGP SIGNATURE-

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] courier smarthost configuring?

2008-06-26 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Mike Eggleston [EMAIL PROTECTED] wrote on 2008-Jun-27:
 I think here's what's happening. I mis-spoke above about the contents
 of /etc/courier/esmtproutes. I did have in /etc/courier/esmtproutes
 ':viper' since that's the name of the host. When I change ':viper'
 to ':[192.168.200.3]' the forwarding/smarthost worked. I think my dmz
 web box has an issue with the name 'viper', though I did have 'viper'
 in /etc/hosts.

Courier doesn't use /etc/hosts, it uses DNS.  So unless your DNS will
resolve viper, then courier can't either.

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIZEXLGfIHDMaiC9cRAqaDAKCpBvJix0A8G4SN4V3xgulf7StRcACgpZ/I
L26d83huSIFjx5FJfR5kUdA=
=LkSu
-END PGP SIGNATURE-

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Blocking outgoing messages?

2008-06-26 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Pawel Tecza [EMAIL PROTECTED] wrote on 2008-Jun-27:
 Maybe my post wasn't clear enough, but I don't want to block messages
 which my server *receives* from [EMAIL PROTECTED] address. I need
 to block messages my users *send* to that address and it's not one
 of my addresses, of course. 

Create an alias for the bad address on your server and do something
with it locally.  Then it won't ever leave your server.

HTH

Jeff Jansen

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIZE5IGfIHDMaiC9cRAo96AKCMGz1wR8AcVIXRNupQS6kVX+psiQCgsDU5
gJPQWZVjsUh5fFFVoEixt78=
=zOkJ
-END PGP SIGNATURE-

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Standard Signatures

2008-06-19 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Gordon Messmer [EMAIL PROTECTED] wrote on 2008-Jun-20:
 There is no BOFHMIME setting.  It's mentioned once in the courier 
 documentation, but it's a typo.  Note that it appears in the section 
 discussing a specific value for BOFHBADMIME.

Thanks Gordon.

If it's a typo, then here's a quick patch to 'un-typo' it. ;-)

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIWwMZGfIHDMaiC9cRAhA3AKCrY1e2FWPT/YAe2dc91Pg/+YsMNQCfZlJ2
7tgRm/fS17gMYqsEzWct4Os=
=wr0w
-END PGP SIGNATURE-
--- courier-0.59.0/courier/doc/courier.8.in	2008-06-20 08:37:52.0 +0800
+++ courier-0.59.0/courier/doc/courier.8.in	2008-06-20 08:38:24.0 +0800
@@ -240,7 +240,7 @@
 .br
 Note
 
-BOFHMIME=accept
+BOFHBADMIME=accept
 implies
 MIME=none
 (see
--- courier-0.59.0/courier/doc/courier.html.in	2008-06-20 08:38:09.0 +0800
+++ courier-0.59.0/courier/doc/courier.html.in	2008-06-20 08:38:41.0 +0800
@@ -201,7 +201,7 @@
 See
 a class=ulink href=makesmtpaccess.html target=_top shape=rectspan class=citerefentryspan class=refentrytitlemakesmtpaccess/span(8)/span/a
 for more information./pdiv class=note style=margin-left: 0.5in; margin-right: 0.5in;h3 class=titleNote/h3p
-code class=literalBOFHMIME=accept/code implies code class=literalMIME=none/code
+code class=literalBOFHBADMIME=accept/code implies code class=literalMIME=none/code
 (see
 a class=ulink href=submit.html target=_top shape=rectspan class=citerefentryspan class=refentrytitlesubmit/span(8)/span/a
 for more information)./p/div/dddtspan class=termcode class=literalopt BOFHCHECKHELO=1/code/span/dtddp
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Standard Signatures

2008-06-18 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Peter Burden [EMAIL PROTECTED] wrote on 2008-Jun-19:
 I've now produced a further version of the sigfilter programme
 which is running live at the moment. There's
 some descriptive stuff at http://web.ptwol.net/sigfilter as well
 as a link to a tarball of source code.

Thanks for your work on this.  It's something folks have been asking
for. :-)

I'm a bit confused about the sigfilter instructions to create the
setting BOFHMIME=accept in courier's esmtpd file.  I'd not heard of
that setting before and the only reference I can find to it anywhere in
my source code (0.59.0) is in the courier man/html page:

- -
opt BOFHBADMIME=action

explanation here

Note: BOFHMIME=accept implies MIME=none (see submit(8) for more
information).
- --

Are BOFHMIME and BOFHBADMIME the same setting?  If not, what's the
difference?

TIA

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIWawsGfIHDMaiC9cRAuCoAJ48KpGq8OHULDC1QDxLpe9D/fbozgCfUak2
SqHUEYPX27Ym7odoM7Px9XM=
=ThZX
-END PGP SIGNATURE-

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] deleted maildrop

2008-06-02 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jan Müller [EMAIL PROTECTED] wrote on 2008-Jun-02:
 I accidentaly deleted the maildrop configuration file:
 /usr/lib/courier/etc/maildrop. I did not make any changes there. Can
 you please tell me what is the proper contents of the file?
 It might be DEFAULT=$HOME/.maildir/ there, I think. I am not sure if
 the line was commneted or not.

'man courier' will list most of the configuration files.

- --
maildrop
  This  file  contains  one line whose contents is a
pathname to the maildrop(1) mail delivery agent.
- --

So find the path to your maildrop executable and put it in that file and
you should be good to go.  It's probably '/usr/bin/maildrop' or
'/usr/lib/courier/bin/maildrop' or something like that.

HTH

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIQ/1xGfIHDMaiC9cRArOPAJ9bL64HkrQvf4uBTgLLIGR7xrUS8ACcDB2+
pCckPvycvRaoofalt4bEgHM=
=n3d0
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] virus checker with SA

2008-04-24 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jay Lee [EMAIL PROTECTED] wrote on 2008-Apr-24:
 I just wanted to say thanks. This worked out quite well. The only
 thing it lacks is a way to scan outgoing messages. I am not as
 concerned about this because most of my users send mail through other
 servers. But is there some easy way to scan the outgoing as well?

Maybe I'm missing something, but if you are using courier's filter
mechanism as the hook for virus scanning (rather than maildrop or some
other delivery agent), then any of your users who relay their mail
through your courier server should have their mail checked by your virus
scanner when it arrives, unless you have exempted them.

I use Gordon Messmer's excellent Pythonfilter with clamav, I have
'esmtp,local' in my 'enablefiltering' file, and it blocks viruses
incoming from my users whether they connect through smtp to relay, or
use sqwebmail or anything else that runs the sendmail command.

Perhaps I misunderstand your definition of outgoing.  In my mind, all
outgoing mail was incoming mail at some point when it was submitted
to courier.  By scanning everything then, we should stop any viruses
before they even arrive.  But if my logic is faulty and there a hole
here I'm not aware of, please let me know. :-)

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIES7EGfIHDMaiC9cRAunWAJwIMejZxxjJC+ZFY852CGshTH1hGACglc4E
AOpwyittrhsVPiufI7PQfOY=
=dmeZ
-END PGP SIGNATURE-

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] SMTP Auth

2008-04-17 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

MrOzone [EMAIL PROTECTED] wrote on 2008-Apr-17:
 I have a server setup for users on the outside to send email through it,
 but im trying to configure it so that everyone needs to do smtp
 authentication except 1 ip range.  Is this possible?

By default, courier is set up the way you want.  You didn't tell us
which version of courier on which OS, but assuming you didn't change
anything, it probably handles SMTP AUTH correctly.  Look in the 'esmtpd'
file in your courier 'etc' directory (normally '/etc/courier' or
/usr/lib/courier/etc') and find the lines which says ESMTPAUTH and
ESMTPAUTH_TLS.  That's where you set which types of authentication you
allow under which circumstances.  There are examples in the file which
you can follow.

Do *NOT* set AUTH_REQUIRED if this is a publicly facing mail server.

To allow an ip address range, use the file in the 'smtpaccess'
directory.  Read the 'makesmtpaccess' man page to see the syntax.  You
want to set something like

192.168.1   allow,RELAYCLIENT

This will allow the entire 192.168.1.0/24 network work to connect and
relay mail without authenticating.

HTH

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIB3VkGfIHDMaiC9cRAkHOAJ9snUFdUsy3w1HrUYi4leGeXShP9ACfRtzR
bur/9aDGbZzIpJEV3MUdmfQ=
=KasZ
-END PGP SIGNATURE-

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] SMTP Auth

2008-04-17 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

MrOzone [EMAIL PROTECTED] wrote on 2008-Apr-18:
 Ok that's good.  But the problem that I'm seeing is someone externally
 can connect to this box and spam to our local domain. But to spam
 through this box you need to auth. Is it possible I am just missing a
 setting to say sendine internaly or externally needs to auth?

What do you mean by spam to our local domain?  Courier won't stop
anyone from sending spam if the recipient's address is valid.  But
courier will reject mail to non-existent users and will stop you from
relaying if you haven't authenticated.

Telnet into your box on port 25 and send a RCPT TO command for an
invalid user on your domain.  It should be rejected as no such user.
Then do the same thing with a user at a different domain, and it should
be rejected as not allowed to relay.

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIB4OoGfIHDMaiC9cRAi9hAJ4zfcUgxZmM475vR2xHEAS4kSSWLgCgqk/a
18qdR6W3eP6lB14WNH6ikWU=
=3816
-END PGP SIGNATURE-

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] imap mail and greylisting

2008-04-14 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Sam Varshavchik [EMAIL PROTECTED] wrote on 2008-Apr-15:
 That depends on what Squirrelmail does to send mail. If it takes the 
 reasonably approach - running the sendmail command - then this is locally 
 originated mail, and no filtering should occur. If it does the silly 
 approach - connecting to the server's port 25 and talking SMTP, well, you 
 figure it out.
 

Squirrelmail can do either - SMTP or sendmail.   But the default is
usually SMTP.  You can change it by running the config/conf.pl script in
your Squirrelmail installation directory.  Under Server Settings,
change Sendmail or SMTP to be Sendmail, and make sure the sendmail
path is correct for your installation of courier.

HTH

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIA/MtGfIHDMaiC9cRAselAJ9UQlk5o8dfB7gNYgijXrkHMh/qPgCcDnvx
4qutANh1yB+qWRJv312mqm0=
=byRu
-END PGP SIGNATURE-

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Maildrop - results of EXCEPTION block

2008-04-06 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

If I've got a maildrop recipe that runs some code inside an EXCEPTION
block, is there anyway to tell whether the code inside the block ran
properly or not?

If I've got this

  exception {
xfilter /path/to/external/program
  }

can I call RESULTCODE or something similar to know if xfilter ran the
external program successfully or not?

TIA

Jeff Jansen


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH+XvKGfIHDMaiC9cRAghqAJ9btn6+TirGh1AhctIZA2oSStGo3QCggTys
AaI2i6HnDZiNdHDh+fzfS84=
=pjgf
-END PGP SIGNATURE-

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Aliases and case sensitivity

2008-02-19 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Peter Burden [EMAIL PROTECTED] wrote on 2008-Feb-19:
 Am I correct in thinking that aliases are case sensitive - contrary to
 all normal expectations of e-mail systems - or is there some configuration
 option I haven't set up correctly?

All email addresses and aliases in courier are case-sensitive.  If you
don't want that, then create an empty locallowercase file in your
courier 'etc' directory (usually /etc/courier or
/usr/lib/courier/etc) and then create *everything* on your box in
lowercase - all your accounts and all your aliases.

- From the 'courier' man page:

- ---
locallowercase
If this file exists, Courier will not distinguish being lowercase and
uppercase local accounts, so that [EMAIL PROTECTED]
and [EMAIL PROTECTED] will refer to the same local mailbox (where
example.com is your  domain).  Postmaster,  postmaster,
and POSTMASTER always refer to the same account, even if locallowercase
does not exist.

Note:  If  locallowercase  exists  you  cannot  have  any system
accounts that contain uppercase letters. locallowercase
applies only to local mail.  Mail addressed to external domains will
always have the case of the addresses preserved.
- --

HTH

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHut/sGfIHDMaiC9cRAveGAJ9nNZ7NSO4jlTwaPbgU7gkPkqpwnACfcrI9
pf85a78GoLVj8Ck1dgc+7ZI=
=/3QB
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Aliases and case sensitivity

2008-02-19 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Peter Burden [EMAIL PROTECTED] wrote on 2008-Feb-19:
 Thanks for the quick reply,  yes I should have spotted that in the manual.
 However on checking configuration I already had a locallowercase file
 
 (of size 0, owned by courier, globally readable), I touched it, did a
 Courier restart and  -  the problem persists. [Also did a full restart,
 authdaemond and everything else associated with Courier.]
 
 Is it possible that the case insensitive behaviour referred to is just for
 local accounts and not for aliases?

Yes, aliases are case sensitive.  So when using 'locallowercase'
*everything* needs to be lowercase - accounts, aliases, etc.  That way
everything will match.

If 'locallowercase' exists, then whenever a message arrives, courier
converts the address to all lower case.  Then it does the rest of the
its magic.  So if you create a mixed case alias for an account, then
that's a valid alias, but courier will never deliver to it (AFAICT)
because when a message arrives for [EMAIL PROTECTED],
courier will first convert it to [EMAIL PROTECTED] and then
set about delivering it.  Since that's not a valid address/alias, it
doesn't get delivered.

So make your aliases all lower case, and then they will work regardless
of what case the address is in.

HTH

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHuwV+GfIHDMaiC9cRAmXEAKCE+RduXZtpwgsaKlM3FTywQqynwwCfc8M9
5C4OqvwGQvy/suKfyPslmds=
=1oUu
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Courier-IMAP with MS SQL SERVER

2008-02-11 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Mário Gamito [EMAIL PROTECTED] wrote on 2008-Feb-12:
 Is it doable ?

Not out of the box.  Courier has modules for authentication against
mysql and postgresql.  Not MSSQL.  You'd have to roll your own.

 What I was told to do (*sigh*) is to authenticate, create, etc. the
 users in a MS SQL SERVER.

Any chance you can have a slight typo and report that you
successfully got courier working with MY SQL SERVER as instructed?
(What's difference between a 'Y' instead of an 'S' anyway?) ;-)

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHsSZFGfIHDMaiC9cRAsJlAJ9NRVPo+nT02q8qnOjI8PK3qZaKZACdGYK3
VYN7elVMbY9nRVS87EAPpqI=
=wEoZ
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Passwort change for Courier-IMAP account for customers

2008-02-09 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Maik Brauer [EMAIL PROTECTED] wrote on 2008-Feb-09:
 What can I do, that my customers can change their IMAP Password via
 Webinterface ?
 
 Is there any tool or php program available ?
 

What web interface do you use?  The courier webmail program, sqwebmail,
allows users to change their passwords.  It's part of the Preferences
page.  I think squirrelmail also has a plugin which allows courier users
to change their passwords, but I've not used it.

HTH

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHroyYGfIHDMaiC9cRAmPuAJ4+Ux4S4/+sGr41SS+u1iEOarxpWQCfVx0y
D02jx/4PxRy2mb6hZjoTMwo=
=GQCe
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] attacks

2008-02-04 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Leigh S. Jones, KR6X [EMAIL PROTECTED] wrote on 2008-Feb-04:
 In the past 24 hours the heavy stream of LOGIN 
 FAILED log entries (since I began using the technique) has been cut to 
 zero.

Just to add one more option to the mix while we're at it.

If you are running on linux, you can use iptables to ban ip addresses
that make too make connections over a certain period of time.

iptables -A INPUT -p tcp --dport pop3 -i eth0 -m state \
  --state NEW -m recent --set
iptables -A INPUT -p tcp --dport pop3 -i eth0 -m state \
  --state NEW -m recent --update --seconds 60 --hitcount 6 -j DROP

This watches the pop3 port and if there are more than 6 connections from
any particular ip address in 60 seconds, it starts dropping new
connections.  It will keep dropping them until the host has gone 60
seconds without making a connection.

You'd have to play with the numbers to determine what works well for
you, of course.  I like it because I don't have to maintain it.  It
maintains itself, at the cost of accepting the first 6 (bad) connections
before it starts dropping.

Seems like you've got a system that's working for you, so consider this
merely your free gift with purchase. ;-)

Jeff Jansen

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHpxwYGfIHDMaiC9cRAmPGAJ91tNyOiWwSJxMd7qOUwhEWc38lUgCfQhOK
KBxJZdxJSMO6pgjqKw+bDTE=
=6qb3
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Invalid RCPT TO results in 513 Syntax error

2008-01-17 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Martin Schuster (IFKL IT OS DSM CD) [EMAIL PROTECTED]
wrote on 2008-Jan-17:
 Currently my additional code looks like this
 
   for (p=0, s=info-ptr; s; s=s-next)
   if (s-token == '@')p=s;
   if (p==0) { // no @ in address, we need to rewrite
   // let's find the last token
   for (s=info-ptr; s-next; s=s-next);
 
 and now I need to alloc a new rfc822token, alloc a string with
 my defaultdomain, and fill the rfc822token with the right info.
 I guess.  :) 

First I would try simply commenting out the 2 calls to 'rfc822check' in
'rwrecip' in the esmtp.c file and see what happens.  It looks to me
like courier will do a user lookup on the bare name, which is what you
want.  I'll freely admit that I've only given this a cursory glance, but
if it works, it saves you lots of trouble and if it doesn't then at
least it didn't take long to try. :-)

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHkCL4GfIHDMaiC9cRAn4XAKCXDngoWb+lYA+B+R1hjncG9VB2FwCcCROi
nEHbVEfg7rmaCG+BgbRKc1Q=
=h5XX
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Invalid RCPT TO results in 513 Syntax error

2008-01-16 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Martin Schuster (IFKL IT OS DSM CD) [EMAIL PROTECTED]
wrote on 2008-Jan-16:
 So: Any hints how to do this? I wasn't able to find any config-option
 for this, and I don't exactly feel like hacking around in the source...

This check is hard coded into the source code.  So for SMTP, you must
edit the code and recompile.  But if you can get these programs which
are sending mail to username to use sendmail instead of SMTP, sendmail
will add the default domain to any address that doesn't include one.  So
sending to username will work in that case, assuming what your really
want is [EMAIL PROTECTED].

HTH

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHjnHfGfIHDMaiC9cRAjzzAKCnmNJYeiYGDDLSRaEp+FH5zorFMwCeKddd
te5EptPf4LluYA0ZRxGwA28=
=SFfb
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Mail Filters

2008-01-06 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

David Wade Hagar [EMAIL PROTECTED] wrote on 2008-Jan-07:
 Hello, I'm new to this list.  I'm running a small email sever and I want
 users to be able to write their own email filters as they wish using
 .mailfilter or some such.  However, I can't figure out how to make it work.

The webmail server that comes with courier, sqwebmail, will allow users
to create their own filtering rules.  See if that does what you want.

HTH

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHgcVdGfIHDMaiC9cRAvP8AJ9Yj6AVBo5U3eZEbHY3GRssve71pACfXi0x
5IZwBqCDyi71Wb6CPVCa1Gs=
=TTQ8
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Mail delivered as flat files in place ofmaildirs

2007-12-25 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] [EMAIL PROTECTED] wrote on 2007-Dec-24:
 It would also be very nice if courier could be configured to make the
 non-existent maildirs for authenticated users (using the maildir supplied
 by the auth module) both when first delivering mail to an account and when
 first logging into an account from sqwebmail, and probably the other mail
 access interfaces as well.

If you use maildrop for delivery, you can do anything you want.  Search
the courier list archives.  Several people have posted maildrop scripts
to do exactly what you describe.

You can also save yourself the trouble for system users by running

maildirmake /etc/skel/Maildir

and all your new system users will always have a maildir set up when you
create their HOME directory.  For virtual users, you'll need some
scripts to administer them anyway, so make sure your scripts create the
maildir for every virtual user who is created.

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHcRFnGfIHDMaiC9cRAruuAKC2E7v4pKlW1O2puBKl3xz5+I+uogCgsnTY
WagmZRCKcytls6T1HMB0Ua8=
=dPF2
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Mail delivered as flat files in place of maildirs

2007-12-23 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] [EMAIL PROTECTED] wrote on 2007-Dec-24:
 I installed Courier on Ubuntu (Gutsy) today. After making very few changes
 to the configuration via the web management interface (and then to
 iptables) I succesfully got mail delivered, but as a single flat file of
 concatenated email messages in the user's home directory named Maildir. I
 want it delivered as maildirs.

You need to make the maildirs first.  If they don't exist, courier
delivers in the mbox format.  Use the 'maildirmake' utility that comes
with courier.  (Check out 'man maildirmake' for the syntax.)  Make sure
the 'Maildir' is owned by the proper user and group.  For system users,
that would be the user themselves.  For virtual users, that would be the
user and group you have specified in whatever database you are using to
specify virtual users.

HTH

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD4DBQFHb19wGfIHDMaiC9cRAoJ2AKCu4m04GNwJtaa9xOx8BEJyJno9qACYhSTM
G05Ew7O1CyK2xdTzFSMN3A==
=B/xg
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] SMTP STARTTLS and mail queue

2007-12-21 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Robert Zajda [EMAIL PROTECTED] wrote on 2007-Dec-21:
 But there are many servers with broken TLS, so if it's possible I
 wan't to disable delivering with STARTTLS. How to do that ?

In the 'courierd' file in your courier's 'etc' directory (usually
'/etc/courier' or '/usr/lib/courier/etc') look for the variable
'ESMTP_USE_STARTTLS'  Change it from '1' to '0' and courier will never
use STARTTLS when sending mail to another server.

HTH

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHa525GfIHDMaiC9cRAtfgAJ0ZLf1zgQzPKt+E52tlkUza4NaZ0QCgpjIj
wswJXl5WPLy/V+eBXaGgX+A=
=IcRG
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] problems logging in with courier pop

2007-11-02 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jgrimmer [EMAIL PROTECTED] wrote on 2007-Nov-02:
 
 from this i am assuming that i incorrectly set up touch'ed files in the
 //var/spool/mail/virtual// directory rather than directories.
 does courier have a utility to configure those ? or can i get it to use
 the postfix files in the //var/spool/mail/virtual// directory. which is
 better? the
 sendmail like files from postfix or the directories that courier is
 looking for ? am i way off base w/my line of thinking ?
 

You should probably go and read the courier INSTALL documentation again
before you go any further.  It's the definitive guide to setting up
Courier.  http://www.courier-mta.org/install.html

Courier IMAP and Courier POP require that the mail be stored in
maildirs, not the older mbox format.  Fortunately postfix can deliver to
either. So tell postfix to deliver to maildirs.
http://www.postfix.org/faq.html#maildir

Then for each user you'll need to create a maildir called 'Maildir' in
their HOME directory.  Use the 'maildirmake' utility which comes with
courier to create them.  So if user 'bob' has a HOME directory defined
as '/var/spool/mail/virtual/bob', then you need to run

maildirmake /var/spool/mail/virtual/bob/Maildir

Then make sure it's owned by the uid and gid you assigned this user in
your database.

If you already have mail for these users on your server, then you need
to convert their mbox to the Maildir format.  There are utilities on the
internet to do this.

HTH

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHKve0GfIHDMaiC9cRAtOOAJwKpW+T7jGlIPxc0IXQu1d+sr2jCQCghuQN
X0Z9Iiqh/VDvJsMGvMWYbhU=
=vqh/
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] problems logging in with courier pop

2007-11-01 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jgrimmer [EMAIL PROTECTED] wrote on 2007-Nov-02:
 where to start. well i cannot log into the server using courier pop or
 imap. i can send mail via postfix ok and read it in the server using
 mutt. the OS is ubuntu server 6.

Turn on logging for authdaemon and for mysql.  Then check the logs when
you try and log in.  The logs should show you exactly what is being sent
to mysql and why the login is being rejected.

HTH

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHKpZ2GfIHDMaiC9cRAizcAKCuTsAqOD9D0UZ+kEyKIys99Pl6lgCfc2Q8
IdCdnOMw6K3JKxetwZv12q4=
=DIGt
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] problems logging in with courier pop

2007-11-01 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jgrimmer [EMAIL PROTECTED] wrote on 2007-Nov-02:
 Q - if aptitude does not list the version, is there a command from cli 
 that can be used to get the info we need/you are asking for?
 Note # i am usung the default packages that ubunto comes with.

'dpkg -l courier\*' on the command line will list all the packages
beginning with 'courier' that your systems knows about and show you
which ones you have installed as well as their version numbers.  But for
Ubuntu Dapper that's courier-0.47-13.  Sam's right, it's old, but it
still works well. :-)

 _Jeff_ - Turn on logging for authdaemon and for mysql
 
 Q - how is this done ? fir auth daemon is it adding the line 
 DEBUG_LOGIN=2 to the authdaemonrc file. ? and for mysql - 
 ./bin/safe_mysqld --log=/logfilepath/  ; from w/in the mysql dir ? 

Edit '/etc/courier/authdaemonrc' and change DEBUG_LOGIN=0 to
DEBUG_LOGIN=2, then restart the authdaemon:

sudo /etc/init.d/courier-authdaemon restart

The edit '/etc/mysql/my.cnf', find the line that says

#log  = /var/log/mysql.log

and remove the '#' at the front so it's not commented out.  Then restart
mysql:

sudo /etc/init.d/mysql restart

Then try and log in again.  Watch the courier log (/var/log/mail.log)
and the mysql log (/var/log/mysql.log) and see what they tells you.

Don't forget to set those two back to their original values and restart
them when you are done.

HTH

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHKq0lGfIHDMaiC9cRAgceAKCUqH2lu4VqC4Ced50KWOMwFeZZ8wCfaERI
5peArp8wUxTCTNTX2enyeD4=
=EHn+
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] courier-mta and amavis-new +clamAV

2007-10-30 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

FM [EMAIL PROTECTED] wrote on 2007-Oct-31:
 I'd like to add amavis-new + ClamAV

If you are committed to amavis-new, I can't help you.  But if you just
want clamav, spamc, etc. integrated with courier, then Gorden Messmer's
excellent courier-pythonfilter is a *really* easy way to integrate it
all with courier.

http://www.dragonsdawn.net/~gordon/courier-patches/courier-pythonfilter/

Jeff Jansen

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHKAMOGfIHDMaiC9cRAqYwAJwPnVMy2CdhuXhP2EVdk6ZAvT6d6ACfS7wb
lAc0y2oyxB3ESfFUJ/xOubs=
=Gvln
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Same problem with courier-mta as with exim [FW by [EMAIL PROTECTED] : Re: Dictionary spamming ?]

2007-09-28 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Michelle Konzack wrote:
 In theorie...  --  but they hit me periodicaly with over 200 per second.

You're seeing 200 hits a second!  From the same ip addresses or
different ones all the time?

Since no single ip address should be hitting your server that often, you
could rate limit incoming connections to your port 25 with iptables:

iptables -A INPUT -p tcp --dport 25 -m state --state NEW \
  -m recent --set
iptables -A INPUT -p tcp --dport 25 -m state --state NEW \
  -m recent --update --seconds 60 --hitcount 10 -j DROP

If it sees more than '--hitcount' new connections in '--seconds' number
of seconds, it will start dropping connections, until there are less
than '--hitcount' new connections in '--seconds' number of seconds.

This doesn't know whether connections are authenticated or not,
obviously.  It just keeps track of how often new connections come in
from individual ip addresses and drops any that are over the limit.

HTH  Bonne chance!

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG/Qs5GfIHDMaiC9cRAtoPAJ0bQECDPK0z2+2u+H8FCsKiRkxp7ACfeDqG
GQSGriM6ecaoiKSJWAsZHs8=
=IsY9
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Same problem with courier-mta as with exim [FW by [EMAIL PROTECTED] : Re: Dictionary spamming ?]

2007-09-28 Thread Jeff Jansen
Michelle Konzack wrote:
 Today morning I was hit at ~08:00 CET arround 17 minutes from
 86 different IP's and each IP had 30-80 hits per second. 
 
 Now imagine the server support 17000 users and the switch
 on there computers between 08:00 and 09:00...
 
 iptables dos unfortunatly not work for such scenario.

But when your 17000 users switch on their computers each morning, do you
normally see 30-80 new connections a second on port 25 from the same ip
address?  I expect you see LOTS of connections, but they come from
different ip addresses, and they certainly don't come in at 30-80 a
second per ip address.

So in this case limiting new connections on port 25 to 1 per second is
probably just fine for your users.  They will never try and send more
than 1 message a second.  (We are talking about incoming SMTP
connections, right?  Not IMAP or POP3 connections.)  But it will stop
these attacks because it will drop all connections from each source ip
address when they start coming in faster than 1 per second (or whatever
numbers you use).

Perhaps I misunderstand your problem, but it looks to me like the bad
guys are making far more connections/second than your users ever would.
 Hence you can limit new SMTP connections to a number that is fast
enough for your users, but not for the attackers.

My $0.02 worth anyway.  I certainly don't want to try and convince you
of a solution.  You know your own servers and your own situation far
better than I do. :-)

Jeff Jansen

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Greylisting with Courier-MTA on Debian

2007-09-23 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Tim Lyth wrote:
 Thanks for the pointers to look in the folder.
 Followed the rest of the instructions and my MX now greylists.
 
 Goodbye spam (hopefully).

I'm sure many of us would appreciate it if you'd update the list in the
future on how well this works at preventing spam.  (At least I know I
would.)  I've seen mixed reviews about the efficacy of greylisting, and
I'd love to hear first-hand from someone using courier how effective it
really was.

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG9x9UGfIHDMaiC9cRArpwAJsFSOK3LOKlkQvQYkRfMwTmalkG6QCfdPHQ
qbBOieziXW7mwUXr5ytJVEw=
=lz18
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] how to add mailboxes

2007-08-17 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

mattias jonsson wrote:
 The webmail says
 Unable to open maildir

Make sure that the user's 'Maildir' was created with the 'maildirmake'
command and that the resulting directory is owned by the user himself.
So you either need to create the Maildir as that user, or run 'sudo
chown -R $USER /home/$USER/Maildir' command afterwards so that the whole
thing is owner by the user.

Then save yourself the trouble of having to do this again by running

sudo maildirmake /etc/skel/Maildir

Now any new users you create will automatically have a ~/Maildir
already properly set up.

HTH

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGxi42GfIHDMaiC9cRAhYgAJ486IIp4wiPR5f2Q4x2Trk1k5t8NACeMtmc
GCDjzc7zxWA5ph1AEaQWUqU=
=ioQL
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] how to add mailboxes

2007-08-17 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

mattias jonsson wrote:
 Yes courier-mta are started
 I use apt-get install to install courier so i dot know where the install
 file are loctaed

Dear Mattias,

Courier is a very powerful suite of programs with a lot of options.
Using apt to install it gets you a basic configuration.  But there's
still a fair bit of work you need to do to configure courier to your
specific situation.

Go to http://www.courier-mta.org/install.html; and read through the
installation instructions.  Of course, you won't actually compile and
install it; Ubuntu has already done that for you.  But reading the
document will help you understand what the options are for configuring
courier and how the different pieces fit together.

Take a look at the default configuration files that Ubuntu has created
for you.  The configuration files are in the '/etc/courier' directory.
And there are extensive man pages.  Start with 'man courier'.  Then
follow the links it gives you as well as the SEE ALSO section at the end.

After that, your best source of information is your log file.  Courier
on Ubuntu will log to '/var/log/mail.log'.  Look in that file and see if
it answers your questions about why you can't send mail.

Once you done that, *then* post your questions to the list along with
any relevant log and configuration files.  It's hard to answer such a
broad question as I can't send mail.  If you give us more details and
show us what your log says when you try to send a message, then we can
give you much better help.

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGxmshGfIHDMaiC9cRAnM+AJ9qLHrS2grUxNFbBxFLiOWFYkikUACdGYJv
yZfRa60FKrwuIUB5c88QaqA=
=c4/K
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] How to empty e-mail accounts

2007-07-21 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Leonidas Safran wrote:
 I even think it might not be a courier specific command, but more an
 IMAP standard.. whatever... how do I delete all e-mails of an
 e-mail account, on system side (not with an e-mail client)? I don't
 want to delete the account, only all e-mails.

Courier uses maildirs for storing messages.  A maildir is a directory
(usually called Maildir if you are using courier as your MTA as well)
which has three directories in it: 'new', 'cur', and 'tmp'.  All the
mail in an account's INBOX will be in the 'new' or 'cur' directories,
one file per message.

So to delete all the messages in an account's INBOX, you delete all the
files in the 'new' and 'cur' directories within that account's maildir.
 Don't delete the 'new' and 'cur' directories themselves or you'll mess
up the account.  Just delete the files inside them.

So assuming you want to delete all the mail in the maildir

/home/leonidas/Maildir

you would run from the command line

rm -f /home/leonidas/Maildir/{new,cur}/*

and all the mail in the INBOX is gone.

If you want to delete ALL the mail in all the directories within this
account, then you need to delete all the files in all the 'new' and
'cur' directories within that maildir.  So you would run

rm -f /home/leonidas/Maildir/{new,cur}/*
rm -f /home/leonidas/Maildir/.*/{new,cur}/*

The first line gets rid of the INBOX, the next gets rid of any mail in
all the folders.

If you just want to get rid of mail in a particular folder (not the
INBOX) then you find that folder on the disk by looking for it inside
the main maildir, where the directory name on the disk is the same as
the folder in the account, except it will begin with a period (.).  So
if you are looking for a folder called Sent in that account, then all
the mail will be in the 'new' and 'cur' directories of the directory

/home/leonidas/Maildir/.Sent

so

rm -f /home/leonidas/Maildir/.Sent/{new,cur}/*

will empty the Sent folder.  Folder within folders follow the same
structure except that periods separate the levels.  So if your mail
account has a Sent folder, with a 2005 folder inside that, with a
June folder inside that, on the disk it will be located in the directory

/home/leonidas/Maildir/.Sent.2004.June

Wheew!  That's probably more information that you needed. :-)  But it
ought to let you delete the mail in any folder that you want.

HTH

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGouzfGfIHDMaiC9cRAlNdAKCbgbUvAleW/lAtHlBtiNrodZu8XACcD8Ul
Jx2CdJllQIP0D+SxO1RHRyw=
=AUyT
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] AUTH_REQUIRED blocks inbound mail

2007-07-20 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Daniele Piaggesi wrote:
 I have to configure a smtp with authentication on ldap. Then I
 configured /etc/courier/esmtpd in this way:
 
 AUTH_REQUIRED=1
 ESMTPAUTH=LOGIN
 
 When I send a mail from my domain to other email-address with this smtp
 server (i tried with my thunderbird client) all's well: auth works fine.
 But if I send a mail with other smtp server to an address of my domain I
 have this error in /var/log/maillog

 Jul 20 18:22:45 x courieresmtpd:
 error,relay=:::xx.xx.xx.xx,msg=535 Authentication required.,cmd: DATA
 
 and I don't know why.
 
 If I set AUTH_REQUIRED=0 in /etc/courier/esmtpd all works fine.

If you specify Authentication Required, then no one can send mail to
your server unless they first authenticate.  That's what you are seeing.
 Courier rejects any mail unless the other side first authenticates.

You normally don't want this and so you should set AUTH_REQUIRED=0.
Then courier will accept mail for users at your domain, which is
probably what you want.

By default, courier is very secure.  It won't accept mail for unknown
users, and it won't allow you to relay through it unless you
authenticate first.  You don't have to do anything if you just want to
allow your users to relay mail if they authenticate first.  Courier does
that by default.

If you are trying to do something else, then tell us what you want to
accomplish and someone can probably tell you how to do it (assuming it's
possible).

HTH

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGoOeuGfIHDMaiC9cRAqR6AKCezmaMo9OmBNAGRIMr5j4lD11A2ACguTo+
YDsSRa1ZNSrWf+I5LT38BqA=
=hE2q
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Need schizophrenic /etc/courier/me

2007-07-12 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Zenon Panoussis wrote:
 Is there any way to tell one instance of esmtpd to have multiple
 personalities on different IP addresses? E.g. to bind to 1.2.3.4
 and report itself as mail.domain.com and to also bind to 11.22.33.44
 and there report itself as mail.otherdomain.com?
 
 It would be very useful for serving customers who require their own
 identity in public, but don't mind sharing resources and costs behind
 the scenes.

If you don't mind patching courier and recompiling, it ought to be
pretty simple.

Add '-accesslocal' to the TCPDOPTS= line in your 'esmtpd' config file.
 Then in your smtpaccess file add:

1.2.3.4TABME=mail.domain.com
11.22.33.44TABME=mail.otherdomain.com

and run makesmtpaccess.

Then in the courier sources edit the courier/libs/cme.c file (which is
just one function - config_me), and somewhere near the top (before it
reads the 'me' file) add something like:

   const char *m=getenv(ME);
   if (m  *m) return (m);

Recompile and reinstall or just replace the courieresmtpd file. (You'll
have to run 'esmtpd stop; esmtpd-ssl stop; cp ...; esmtpd start;
esmtpd-ssl start' if you just want to replace the file.)

- -accesslocal makes courier look up the local side of the interface in
the smtpaccess file and will create the environmental variable ME with
the contents we specified.  Then when courier goes to look up the name
of your server for the HELO response, it will pick up the contents of
that variable instead of the 'me' config file.  But any time that
variable is not set, then it will respond with the contents of the 'me'
file like normal.

Now if you want that same ip address and hostname to be used on the
OUTGOING connections and messages forwarded by sendmail, etc., then
that's a good bit more complicated; but I imagine it's doable as well.

HTH

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGlkuWGfIHDMaiC9cRAjAfAJ9MAQA6Hu4m2Ijf+TomNYZxkAkw4ACfZWQD
hloxfIoLR3WZS+FzQk2cyLU=
=FuLg
-END PGP SIGNATURE-

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] ERR: config file missing

2007-07-11 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Erkka-Pekka Hokkanen wrote:
 Whenever I try to start up any courier daemon (except authdaemon) in
 ubuntu like so:
 /etc/init.d/courier-xxx start, I get an error saying ERR: config file
 missing.
 
 Ok what? I checked the start up script and found it is looking a conf
 file from
 /etc/courier (or so I assume). Well as far as I can see, there is one
 there, called imapd.cnf

imapd.cnf (and pop3d.cnf) are not config files.  They are files for
creating SSL security certificates.  You need the configuration files:

/etc/courier/imapd
/etc/courier/imapd-ssl
/etc/courier/pop3d
/etc/courier/pop3d-ssl

to start those respective daemons.  Each of those should have been
installed when you installed courier-imap, courier-pop3, etc.  If they
are not there, then something's wrong with your install.  How did you
install, Apt?  Try reinstalling.  Courier's working fine from the Ubuntu
repositories on my Dapper and Edgy machines.

HTH
Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGlIn6GfIHDMaiC9cRApJgAJ0aXrPlrxHcXo/9Va4oNsGJnWWC9wCfSD8t
9B/xeWTvR5P2kH99oGPvX9A=
=uq95
-END PGP SIGNATURE-

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] makeuserdb problem with courier

2007-07-11 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

sam wrote:
 Cannot store record for [EMAIL PROTECTED] duplicate or out of disk space.
 Cannot store record for [EMAIL PROTECTED] - duplicate or out of disk space.

You've probably put the same address in multiple times.

grep the userdb directory for '[EMAIL PROTECTED]' to see if you have any
duplicates, and remove all but one if there are.  That will solve your
problem if it's a duplicate entry.

grep -r '[EMAIL PROTECTED]' /etc/courier/userdb/

(or where ever your userdb files are stored).

HTH

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGlXmLGfIHDMaiC9cRAiqaAJ4rAijuhS9GS3dYEWeh/KPRJrxf9wCfTjMB
rxZXSXNAufsN+ysvA8akB6E=
=IH8L
-END PGP SIGNATURE-

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Multible Mail Domains

2007-06-22 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] wrote:
 A few questions left.
 I only have a locals file – I don’t have a hosteddomain file. In my
 locals file I have the 3 domains I host.
 I have a logindomainlist file with the 3 domains I host. This way
 sqwebmail login dialog page shows a dropdown to select domain.
 When a user uses brings up sqwebmail login dialog page and enters a
 userid and selects a domain from the dropdown I can see from the system
 log that the user is trying to log in to a system account that includes
 the domain name. How is that possible as I don’t have a hosteddomain file?

The 'locals' and 'hosteddomains' files just tell courier how to handle
addresses - whether to include the domain as part of the user's name or
not.  They have nothing at all to with what names people use when they
log in.  I can go to your web site and try to log in as
[EMAIL PROTECTED].  And the log will show that I tried using that
username.  But of course it will fail, since there is no user called
[EMAIL PROTECTED] on your box.

Since you put your three domains into the 'logindomainlist' file,
sqwebmail appends which ever one you choose to the user name when you
try to log in.  If your domains are in 'locals' then you do not want
this since your users have to log in without the domain as part of their
name.  Delete that file and tell all your users to log in using only
their username without the domain.

So '[EMAIL PROTECTED]' will log in as 'user1'.  And '[EMAIL PROTECTED]'
will log in as 'user2'.  Any user whose domain is listed in the 'locals'
file will log in using only the username part of their address.

 You suggest that I can alias [EMAIL PROTECTED] to a system accout
 ‘user’ How can I do that?

There's an 'aliases' folder in your courier 'etc' directory.  Create a
file in there (name the file whatever you want) and list all your
aliases in there in the form:

alias: account

So if you want [EMAIL PROTECTED] to deliver to a system user called
'user' then the file would put:

[EMAIL PROTECTED]: user

in the file.  Then run the command 'makealiases'.

Now mail addressed to [EMAIL PROTECTED] will be delivered to 'user'.
This user will log on simply as 'user'.

But remember, for any domains in 'locals' all the username portions need
to be unique since courier will ignore the domain part of the name.  If
you want '[EMAIL PROTECTED]' and '[EMAIL PROTECTED]' to be different you
need to move one of these domains to 'hosteddomains'.

HTH

Jeff Jansen



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGe6O8GfIHDMaiC9cRAvKvAJ9Sp/TM+8b25FCi/VMKL0u81tYqXgCfdZrS
KwLfgoXeJctrvKquEpq2ZNY=
=llfc
-END PGP SIGNATURE-

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Multible Mail Domains

2007-06-22 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] wrote:
 If I do this then the user will not have the correct e-mail address in
 the upper right corner of the sqwebmail interface. The username is
 correct but the domain is my 'main' domain and not the domain I wish.
 Ie. I run 'domain1.org' (my main domain) and 'domain2.org'. I have a
 system account that I want to give an e-mail address on 'domain2.com',
 ie. '[EMAIL PROTECTED]'. When that user goes to
 http//www.domain2.com/courier/webmail he sees the sqwebmail login
 dialog. He logs in with only his userid (no domain) and that works fine
 (I have delete the 'logindomainlist' file). Now the user gets into
 sqwebmail, but sqwebmail shows that his e-mail address is
 '[EMAIL PROTECTED]'. I have not tried to send mail but I assumes he
 sends from '[EMAIL PROTECTED]' and not what I want '[EMAIL PROTECTED]'
 I am new to this stuff and I very much appreciate your help.

Happy to help.  You are correct that when users log into sqwebmail they
show up at your main domain, because they ARE all at your main domain.
 That what local domains are.  The email account isn't really
'[EMAIL PROTECTED]', it's 'user1 on your box.  And your box answers to
'domain1.com', 'domain2.com', etc.  But they are all really just users
on the box.

Fortunately, unless you have explicitly denied it, sqwebmail allows you
to set the FROM address in emails you send.  Click the Create Message
link and you'll see that the first line is the FROM: line, and you can
edit it.  So your users can set it to be whatever they want.

If you want to preset this for them to avoid confusion, then in each
user's Maildir, edit (or create it if doesn't exist) the file
'sqwebmail-config' and add [EMAIL PROTECTED] (or whatever is
appropriate for this user).  This will set the FROM address
automatically when they create a message.  They can still change it,
however, manually.  If they do, then whatever they change it to will
become the new default.

Spaces are not allowed in the FROM=, so use +20 in its place.  So
you could set [EMAIL PROTECTED]'s FROM line to be

FROM=USER+20TWO+20[EMAIL PROTECTED]

Which will show up as

From: USER TWO [EMAIL PROTECTED]

when they send an email.

This doesn't solve your problem of users seeing themselves as members of
the main domain instead of one of the other local domains when they
log into sqwebmail, but I don't think there's a way to change that
except to move to using hosted domains.

Enjoy!

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGe+mfGfIHDMaiC9cRAqBkAJ9ZDqylqyrQRzcJx5QDrChJwLyEsgCfXmM1
ettgnLt5VZkcxhIHgK2qjWw=
=0UEF
-END PGP SIGNATURE-

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Relaying Mail via ISP

2007-06-22 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Henry Bakker wrote:
 How can I configure courier to relay my email via my ISP's smtp server?

: smtp.isp.com

in the 'esmtproutes' file of your courier 'etc' directory.  Search for
'esmtproutes' in the courier man page or the documentation to see how it
all works.

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGe+rGGfIHDMaiC9cRAlvoAJ9AuAsqLCZJgfEzK6fv466HMwjWhwCfWj/v
YYoTlTbCPjIp3DusuDqZieU=
=r7zS
-END PGP SIGNATURE-

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Multible Mail Domains

2007-06-21 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] wrote:
 Now I have a dropdown in sqwebmail with the domains listed in 
 logindomainlist. When I login the selected domain is appended to the 
 username. I can see that in the message log file on the linux box. But it 
 seems to be an invalid userid. I am not able to login. If I don''t have the 
 file logindomainlist I login with only user name (no domain) and then I 
 login ok. As I see it users are authenticated against system accounts and 
 that works fine for me until now that I host multiple mail domains. 

System accounts are in your local domain, which means you log in using
*only* the user name, not the user with the domain name.  But the
additional domains that you want to host can either be 'local domains'
or 'hosted domains'.  It's up to you.  But if you want to use system
accounts for the other domains as well, then they will be 'locals' by
default, which means that the users will log in without the domain.

Check out the difference between 'locals' and 'hosteddomains' in the
courier man page.  Regardless of what the domain name is, if it's listed
in the 'locals' file (in your courier 'etc' directory) then only the
user name is used for authentication.  If the domain is in the
'hosteddomains' file, then the entire username including the domain is
used for authentication.

So if your box is called 'domain1.com' and now you want to also host
'domain2.com', then you could simply put 'domain1.com' and 'domain2.com'
into the 'locals' file.  Now it doesn't matter whether mail is sent to
[EMAIL PROTECTED] or [EMAIL PROTECTED], because courier is going to
remove the whole domain and just deliver mail to user1.  And when this
user logs in, then they will log in as user1, with no domain.  (This
assumes, of course, that you have DNS, etc. set up to deliver mail for
these domains to your server.)

This is an easy way to do it, but it means that you can NOT have
separate accounts [EMAIL PROTECTED] and [EMAIL PROTECTED], since
they would both deliver to 'user1'.  If you want to have the same
username at different domains, then you need to use either
'hosteddomains' and  some sort of database backend to store the user
information (since they will no longer be system users on the box), or
aliases so that '[EMAIL PROTECTED]' gets delivered to system user
'user1' and '[EMAIL PROTECTED]' gets delivered to system user 'user1.d2'
or some such.  Courier can use many different database backends, from a
flat file 'userdb' which is easy to setup but doesn't scale well, to
relational dbs like MySQL, all the way to LDAP.

HTH

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGezj9GfIHDMaiC9cRAjtNAJ4kfOTgY/UnUOAVwrAanAK3j/XKWACfc80m
7+uSxyIFGikWk9/C6rOTM1I=
=7qNW
-END PGP SIGNATURE-

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Problems with mails sent by PHP

2007-06-18 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Bernd Plagge wrote:
 This should send 1 mail to [EMAIL PROTECTED] and 1 mail to
 [EMAIL PROTECTED]
 
 Jun 15 11:26:22 tokyo   courieresmtp:
 id=0001044A.4671F8CC.752A,from=[EMAIL PROTECTED],addr=[EMAIL 
 PROTECTED]:
 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.5.3 -
 chkuser) 
 Jun 15 11:26:22 tokyo   courieresmtp:
 id=0001044A.4671F8CC.752A,from=[EMAIL PROTECTED],addr=[EMAIL 
 PROTECTED],statu
 s: failure 
 Jun 15 11:26:22 tokyo   courierd: completed,id=0001044A.4671F8CC.752A
 
 The domains 'mydomain.com' is local, the domain 'local' is a hosted
 domain. 'nonlocal.com' is a completely unrelated domain.
 Mail for 'local.com' is forwarded to a different server. 
 
 Courier seems to set the hostname to 'nonlocal.com' if the
 destination points to a nonlocal address. This causes the message to
 bounce.

It looks to me like this did what you said, but the server for
'nonlocal.com' rejected the message.  The 553 error isn't a courier
error - it's (presumably) from the server courier is talking to trying
to send the message.  You'll need to check that '[EMAIL PROTECTED]' is a
valid address at that server, because it's rejecting your mail.

There's nothing in this log about the message to '[EMAIL PROTECTED]'.
Was it delivered or not?

HTH

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGdy0LGfIHDMaiC9cRAp56AJ9kDcOMcK74i7K1sHejDbtVg1XOhwCfcISN
yNvI+J+QISYQSn+2Ow2Pew0=
=8G+F
-END PGP SIGNATURE-

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] webmail with courier

2007-06-13 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I need to install another webmail program (aside from sqwebmail, which
is already installed and working fine) to work with a courier server for
a client.  Anyone got any recommendations on one that works well and
integrates nicely with courier?  I'm running a recent version of the
whole courier suite.

TIA

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGb/57GfIHDMaiC9cRAljvAJ9VUHHfYWz6YDhnU/j/XmrJgNTqcwCfXdCm
SREfQrD8d2hkjmUjZcSscog=
=0jLu
-END PGP SIGNATURE-

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] courier-mta: Rewrite of sender addresses

2007-06-08 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Tim Boneko wrote:
 However, there's one little configuration issue i can't resolve myself.
 Outgoing mails should have their sender address rewritten to the real
 mail address (i.e. [EMAIL PROTECTED] should become [EMAIL PROTECTED]). How do 
 i set
 that up?

The SENDER part of the address is usually set by the email client, not
courier.  For email sent through sendmail and the like, courier will
append the contents of the file 'defaultdomain' in the courier 'etc'
directory to any username which doesn't have a domain name.  (Or the
contents of the 'me' file if there's no 'defaultdomain' file.)  But I
don't think courier's going to touch the SENDER other than that.

 When searching $searchengine for this problem, it seemed as if most of
 the world uses courier-mta in some cooperation with postfix. Why is
 that? I don't miss anything so far and have a complete mail setup with
 courier-imap and courier-mta which runs pretty fast, even with
 amavisd-new. Am i missing something?

I think you are seeing that a lot of folks use courier-imap with postfix
as the mta.  But lots of us are happily using courier for everything,
which is one of its really strong points, IMHO; everything you need in
one place and well integrated together. :-)

HTH

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGaWE5GfIHDMaiC9cRAnQSAJ9GY49GhUjKQs6StKL1fO3kxXzezQCfS3Nx
w4gLRdlpIJUnVwLeA46AmFE=
=F7gp
-END PGP SIGNATURE-

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Maildrop problem

2007-05-17 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jérôme Blion wrote:
 if( /^X-Virus-Status: INFECTED/:h )
 {
 `echo INFECTE  /tmp/maildrop/virus`
 exit
 }
 
 My mail is dropped.
 If I remove the if block (and all its content), everything is OK, I can 
 receive my mails and headers are just fine (no spam, no virus)
 
 I don't see where I'm wrong.

The 'exit' statement tells maildrop to stop processing the message and
quit.  (see 'man maildropfilter')  So it echoes the line to the file and
quits.  There are no delivery instructions.  I think that if you want
the message delivered, then you need to remove the 'exit' line.

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGTSE9GfIHDMaiC9cRAub7AJ938/FBRK9DQ+Vr+UuN+OxFEkeWHACgrRss
5IszAqbRnZXzY5HDf0eItSY=
=DxIG
-END PGP SIGNATURE-

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Please help with broken install!

2007-05-08 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Ben Benson wrote:
 I have uninstalled and re-installed courier so many times and got so
 confused that now I'm completely stuck.  All I want is the MTA, and POP
 server, and I guess the IMAP server would be useful too.  Not many mailboxes
 so no need for a MySQL backend, although it would be nice if easy enough.

Can you tell us where the install is failing?  How far do you get and
what doesn't work.  Are you using the Ubuntu packages to install or
compiling it yourself from the tar balls?

Just to be sure, did you also install the courier-authdaemon and
courier-authlib packages?  You need those two as well as a backend
method if you want to have virtual users (mail users who are not system
users), like courier-authlib-userdb, or courier-authlib-mysql.  If you
don't have those installed, then you're not going to be able to add any
users.

Tell us how far you got and what's gone wrong, and we'll try to get you
up and running.

 Can someone PLEASE tell me how to completely remove any trace of courier and
 all other mail related programs from my Ubuntu Server, and then point me in
 the direction of a GOOD guide.  I'm becoming so frustrated, i'm even
 thinking a dodgy exchange server would have been easier!

:-)  Courier does get a lot easier to install after you've done it
correctly a few times.  But it can be daunting at first.  Just keep
reminding yourself that once it's going, it never quits.

How to completely remove it depends on how you installed it.  I'm
assuming that you used the Ubuntu packages.  So then all you need to do
is run:

dpkg --list | grep courier

and then run:

apt-get --purge remove package1 package2 ...
or
dpkg --purge package1 package2 ...

using the package names that the first command showed you.  You'll also
want to run 'dpkg --purge sqwebmail' if you installed Sqwebmail, the
courier web mail component.  (Since it's doesn't have 'courier' in its
name, it won't show up in the --list).

HTH. Tell us where you're stuck, and we'll try and get you unstuck.

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGQT0FGfIHDMaiC9cRAl2EAJ9HjrhmJq1Jb13TRydw0SXoe+tIfgCglKI3
zjZJizSFNz5gQCvDV0tnqvA=
=2AfU
-END PGP SIGNATURE-

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] smart host/relay with authorization

2006-09-16 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Victor Star wrote:
 My esmtproutes looks like this:
 TAB: smtp.provider.relay.host.com

Take out the TAB.

: smtp.provider.relay.host.com

See if that works.

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFDEHLZxtYeNk78A8RAndtAJ0anIeC4daXQBYhG2XYBiGWQS9x0QCgrC3c
wTBQiG4+/ddIEspMMuirMHY=
=JKiI
-END PGP SIGNATURE-

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] virtual domains without mysql

2006-09-08 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Marco wrote:
 so i can do like authmodulelist=authpam authmysql and in the mysql
 db i can insert only virtual domains and users?

Yes, you can mix and match as many authentication methods as you like.
 The methods will be checked in the order that they appear in the
authmodulelist line.  So in the above case authpam will be checked first
and then if it can't authenticate the user that way, authmysql will be
checked.

You can also turn on debugging in the 'authdaemonrc' file and it will
log what methods it's checking and what the outcome is as it tries to
authenticate a user.

HTH

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFAVPxZxtYeNk78A8RAl4iAJ0ZAiVn3SJsveCGr4KteuI8GSXtyACfbtqE
B4KPT7IDC2lQfn67ZHf20/w=
=Supm
-END PGP SIGNATURE-

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] WG: esmtp courierfax

2006-08-30 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Daniel Müller wrote:
 So what went wrong? Is this a relay problem? Im my default I did
 192.168.135.248 allow;RELAYCLIENT,FAXRELAYCLIENT and a makesmtpaccess.

I don't use courierfax, so I can't help you with how it should work, but
can you confirm that you have the correct syntax in your smtpaccess
file.  It should say:

192.168.135.248TABallow,RELAYCLIENT,FAXRELAYCLIENT

Then run makesmtpaccess again and see if that helps.

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE9V3OZxtYeNk78A8RAm8XAJ9td3qhlbS5cAOrgFkYjEF2z7MvegCfVMcJ
zB9mfgqqZglSuRPDuF212QI=
=l7eJ
-END PGP SIGNATURE-

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Maildir - creates file called maildir in mbox format

2006-08-11 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Steve wrote:
 What I get is mail delivered to a file in the user directory called
 Maildir
 If I use the maildirmake utility, the mails will sit in the queue forever
 (or until they expire.)

If courier is creating the file Maildir then that's where it expects
to deliver the mail . So it expects to find a maildir directory called
Maildir in that location.  When it doesn't find one, it creates a
standard mbox message file with the same name and sticks all your mail
in there.

So the first step (as you realized) is to create the directory Maildir
 for your users in that location using the maildirmake utility that
comes with courier.

If mail is sitting in the queue after that instead of delivering to
Maildir, then there should be a message in your logs telling you what's
wrong.  Have you looked in /var/log/maillog to see what it says about
failed delivery attempts?

One simple reason it might not be working is the ownership of the
maildir.  If you used the maildirmake utility, then the permissions and
directory structure should be correct, but the ownership could be wrong.
 Courier delivers mail as the owner of that mail account.  The process
changes UID first and then delivers mail.  It knows who owns the account
based on where it looks the account up.  If you're delivering mail for
system user 'steve' then courier will first change to become user
'steve' and *then* try and deliver the mail.  So if you created the
directory /home/steve/Maildir as root, then courier is NOT going to be
able to deliver to that directory because user steve doesn't have
permission to enter and write to that directory.  (Maildirs are have
permissions: rwx--.)

If you using virtual accounts defined in userdb, mysql, etc. then
somewhere in your definitions, you should have specified which system
account owns each virtual mail account.  On my server all virtual
accounts are owned by system user courier.  So when a message comes in
for one of my virtual users, then the courier program first becomes
system user courier, then it tries to deliver the mail to the Maildir
specified in that record.

So check the ownership of the Maildir directories.  Make sure the they
are owned by the same system account as courier is going to use to
deliver the mail.  The easiest way to do this is to create the maildir
using the maildirmake utility as the actual owner.  Become user 'steve'
to create steve's maildir, become user 'courier' (or whomever owns your
virtual users) to create the virtual users' maildirs, etc.  But if
that's not possible (or already been done incorrectly) then you can
always chown -R username Maildir and it ought to work after that.

And do check the maillog.  There should be something in there which
tells you why it can't deliver.  Incorrect ownership is just my guess
based on my own (many!) mistakes, but the log should tell you more of
what's gone wrong.

HTH

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE3EeRZxtYeNk78A8RAuomAJ98pNjRefoS8QBTov/oS7xO/vfDQwCdGFbd
fkxXhznyhug5LMo/2CDFUtc=
=Fbnj
-END PGP SIGNATURE-

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] mailbot and non-ascii characters

2006-07-25 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Fabian Peters wrote:
 Calling reformime -o on the subject encodes ¡Hola, señor! all  
 right to =?iso-8859-1?B?wqFIb2xhLCBzZcOxb3Ih?= - which reformime - 
 h decodes as expected. But mail clients seem to expect quoted- 
 printable rather than base64 here? What am I doing wrong?

I use 'reformime -c utf-8 -o text' to generate emails subject lines in
French with accented characters, and it displays fine in Thunderbird,
Outlook, and OE.

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFExjGlZxtYeNk78A8RAqDfAKCBbg3m+VM68bbUlZWH3Kbssmt+hgCdH95E
O0HyosXNwFATJv7hNOxvoeQ=
=Ho1h
-END PGP SIGNATURE-

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Courier and NAT and Relaying

2006-07-16 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Robert Steinmetz wrote:
 I have editied /etc/courier/hosteddomains/webadmin it contains;
 
 steinmetznet.com
 no.steinmetznet.com
 hamlet.no.steinmetznet.com
 
 I also have /etc/courier/locals which contains;
 
 localhost
 steinmetznet.com
 no.steinmetznet.com
 hamlet.no.steinmetznet.com
 
 I ran makehosteddomains restarted the courier-mta and sent a test message.

It's confusing, but that's not what you want.  The question is how have
you defined your users?  When you log in (using POP or IMAP) to get your
mail, do you log in as rob or [EMAIL PROTECTED]  If the former
(just rob) then delete the hosteddomains file and leave the lines in
locals.  If the later then delete the locals files and change the
hosteddomains file to say

steinmetznet.com
no.steinmetznet.comTABsteinmetznet.com
hamlet.no.steinmetznet.comTABsteinmetznet.com

Then rerun 'makehosteddomains' either way.  Then you would define all
your users in the form [EMAIL PROTECTED].  Now no matter which of
those three domains gets used in the address, the mail will be delivered
to [EMAIL PROTECTED].

You also need to define all these domains in the esmtpacceptmailfor
file.  So:

steinmetznet.com
no.steinmetznet.com
hamlet.no.steinmetznet.com

Then run 'makeacceptmailfor'  Now it should work properly assuming there
is a defined user rob (if using locals) or [EMAIL PROTECTED] (if
using hosteddomains).

HTH

Jeff Jansen

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEulwmZxtYeNk78A8RAsVCAKDKEB1yleDM4OQgAJX5tahWkDLWrgCgghUM
fD66p5VQF06ZwdAUNSkL6hA=
=fO22
-END PGP SIGNATURE-


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Courier and NAT and Relaying

2006-07-15 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Robert Steinmetz wrote:
 If I send an email to my account on that server from an external account
 to my account on the Courier Server ([EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]) The email gets marked as
 undeliverable, with the error listed above.  I don't understand what is
 happening and more importantly how to fix it..

Have you properly defined the domain in either the 'locals' or the
'hosteddomains' file?  Per your example, you would have to have
machine.name.steinmetznet.com in one of those files in order for
[EMAIL PROTECTED] to be accepted.  If you just have
steinmetznet.com then it isn't going to work.

If these are local domains, then just list each of them in the 'locals'
file:

steinmetznet.com
machine.name.steinmetznet.com

If they are hosteddomains, then you can defined alias domains so that
mail for @aaa.bbb.com gets delivered to @bbb.com.  If your users are
all @steinmetznet.com then in the hosteddomains file you could say

steinmetznet.com
machine.name.steinmetznet.comTABsteinmetznet.com

so [EMAIL PROTECTED] would get delivered to
[EMAIL PROTECTED]  (You've also got to run makehosteddomains as
well in order for the changes to be applied.)

Check out the 'makehosteddomains' man page for the full details.

HTH

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEuaIHZxtYeNk78A8RAjs7AKDBK390YsVVqFG5q5kdCMItvPPnjQCgjrn8
8sTR5coxq2gF5qz95K5uW5M=
=pjy2
-END PGP SIGNATURE-


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Courier SMTP not responsing

2006-07-12 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Robert Steinmetz AIA wrote:
  I have installed courier and the various daemons appear to be running
 but courier is not accepting inbound SMTP connections.

Is courier listening on port 25?

on linux: netstat -tlnp

look and see if courier is listening.  If not you may not have told it
to.  Check the ESMTPDSTART variable in the 'esmtpd' file of your courier
'etc' directory.

HTH

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEtV2sZxtYeNk78A8RAoMXAJsG1T7YAptuaaxJ4xvjd81CYeZVvwCdH6NZ
dfz+fr38JExoObtGvfLQ2CM=
=Bvf9
-END PGP SIGNATURE-


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] somebody send mail through me

2006-06-29 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Sergio Bortsov, ISP Global Ukraine Lan wrote:
 I have a problem and I tired fight with it.
 Somebody send a mail to aol.com domain(to different adresses) from 
 [EMAIL PROTECTED]

I'm not sure I understand exactly what the problem is, but if people are
sending mail through your server to domains which are NOT listed in
esmtpacceptmailfor, (so you are acting as a relay) then they might be
listed in the smtpaccess or they are authenticating with a valid
username and password before they send the mail.

If this guy is coming from an ip address which is listed in smtpaccess
then remove that ip and rerun 'makesmtpaccess'.  If he's authenticating
as a user on your system, then either delete his account or change the
password on it so he can't authenticate any more.

I'm assuming here that you have NOT set up courier as an open relay so
that anyone can send mail through your system; it's just this one person
who is using you as a rely.  If you have set up an open relay, then you
should undo that! :-)

HTH

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEo69zZxtYeNk78A8RAjmLAJ9+7OecaTESMZjDIU/DoecyR6eKkwCfZ97P
gHQXUux9KXiA0F6mNwsbrTI=
=cEhJ
-END PGP SIGNATURE-

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Courier Problem

2006-05-25 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Angelyn Dilim wrote:
 All  pre requisites are installed so I invoke the command ./configure as
 non user at the end of the ./configure command I have given an error
 saying that c_rehash script is not installed or is not declared in my
 current PATH. I looked on the directories to see if the c_rehash script
 is not installed but it does exist the  path is /usr/local/ssl/bin.

If your only problem is that it can't find this program, then add the
directory to your PATH before you run configure.  Assuming you're using
bash as your shell:

export PATH=$PATH:/usr/local/bin/ssl
./configure

But it could be that the problem will be bigger than that and the
compiler won't find any of your openssl libraries.  In that case check
out the FAQ in the 'courier/doc/FAQ.html' file in the courier tarball
you downloaded.  Search for openssl in there and you'll find a section
explaining how to make the compiler aware of where these files are.

HTH

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEdkpwZxtYeNk78A8RAvEbAJ9iBgbBV/gUGDyEo5J9xDncoEwMTQCfRHMf
mt+gSCYLYg3H/mZrk8HNsR4=
=MtP6
-END PGP SIGNATURE-


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Courier-Authdaemon with authmysql and authpwd

2006-05-11 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Frank Niedermann wrote:
 I've configured Courier-Authdaemon to authenticate against a MySQL
 database with authmysql module which works fine.
 
 After that I added authpwd to the authdaemonrc module list to enable
 authentication for system users in /etc/passwd which does not work:
 May 11 15:43:16 asterix imaplogin: LOGIN FAILED, ip=[:::127.0.0.1]
 
 I also tried authshadow and authpam but always the same results, this is
 my authmodulelist configuration:
 authmodulelist=authpwd authshadow authpam authmysql

My courier-authlib doesn't have an authpwd or authshadow; it's all done
through authpam.  What does your mail log say when authlib starts up?

Try just 'authmodulelist=authpam authmysql' then use authtest
username to see what works and what doesn't.  Try it for a local user
as well as a virtual user in mysql.

If authpam doesn't work to authenticate local users then does the mail
log show authlib loading the pam libraries correctly at start up?

May 11 14:50:41 batman authdaemond: Installing libauthpam
May 11 14:50:41 batman authdaemond: Installation complete: authpam

If it's loading correctly then maybe you don't have PAM set up properly?

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEY1JBZxtYeNk78A8RAoluAKCL4PYjshKe+h7lGWSmga0nclb/OACeJD7t
SciR2+EHm4mEpOAuvlTN4Q8=
=Qlbs
-END PGP SIGNATURE-


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Courier RPMs for Fedora (Core 4)

2006-05-11 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Chris Pattullo wrote:
   Does anyone know of a simple way to build selective RPMs from the
 courier tar-balls? I'm trying to make it so that I can build only the
 RPMs that I want, and not the entire suite in one go.

   The ideal solution would be perhaps a switch or something w/in
 the .spec file that would allow for specific RPMs to be selected. I was
 searching through the courier-users archive for comments on this and did
 find one guy trying to build his RPMs with switches like
 '--without-authldap', but get errors from rpmbuild when I try this.

There's no way using rpm to compile only certain rpms because there's
one spec file that handles all the compilation.  If you understand rpm
spec files, then I suppose that you could hack the courier.spec file and
add switches so that it only compiled and built the rpms that you wanted
built that time.

But something like ccache (http://ccache.samba.org/) might solve your
problem just as well, allowing you to recompile ONLY the parts the code
that you changed.  And if you've got another machine sitting around,
distcc (http://distcc.samba.org/) allows you to push some of the
compilation over to to it as well.  Those two should drop your 20
minutes wait considerably.

HTH

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEY1fwZxtYeNk78A8RArDmAKCleHdj8hIhc3qEMEFGtK3pV9s6qwCaA3fx
z+14dRCaR2i9l7vqEcKEtT8=
=2TYP
-END PGP SIGNATURE-


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Courier-Authdaemon with authmysql and authpwd

2006-05-11 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Frank Niedermann wrote:
 It made me wonder that your logs have authdaemond and my logs have
 authdaemond.mysql ...

Oops, my bad.  When you said you had configured the courier-authdaemon,
I thought you were running the newer version of courier where authdaemon
has become a separate package - courier-authlib.  What version of
courier are you running? (dpkg -l courier\*)

If you're running the older one then you could have an authpwd, etc.
And if you have those listed then you should see an 'authdaemond.plain'
line in your logs:

authdaemond.plain: modules=authpam, daemons=5

If you don't see that, then courier isn't starting up those modules.

Which 'authdaemonrc' file are you editing?  The changes you made should
show up in the logs, if nothing else but to say that it can't load them.
 If nothing is showing up there I wonder if you are editing the right
file?

I assume that virtual users in mysql are still working.  What happens if
you remove authmysql from the authdaemonrc list or add authpgsql?  Do
those changes show up in the logs?

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEY5RZZxtYeNk78A8RAp9MAKC9Og7FM3faic6tD9ucl/erBWxb6ACgwTGg
r99WPDOOQJk1NEOljJFldYE=
=GC8q
-END PGP SIGNATURE-


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Authlib install directories problem

2006-05-11 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Brett Barnes wrote:
 I have built the authlib rpm as a non root user. When i install the
 authlib rpm as root it appears in /etc/authlib and not
 /usr/local/etc/authlib. I think i'm missing something obvious but can't
 work it out.
 Any help would be gratefully recieved.

If you build the rpms from the tar ball then the authlib 'etc' directory
is '/etc/authlib'.  It's defined in the spec file which is used to
create the rpms.  If you want to change it you can edit the spec file
and remake the rpms.

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEY65HZxtYeNk78A8RAv74AKDYklBQNrttEFchxQqiAXpBF0uBZQCg3RBe
y860M+K6xQOdxgiwyIwDbm8=
=kXBo
-END PGP SIGNATURE-


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] virtual domains - aliases and dot-courier - 550 user unknown

2006-04-26 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Sébastien CLAUDE wrote:
 Now I'd like to use dot-couier and the address extension facility. The
 idea is to test tmda mechanism, for this I want to send to tmda the
 only mail that are for [EMAIL PROTECTED]

 So in my homedir for user test : /var/mail/domains/domain.com/test/ I
 have this :
 -rw-r--r--   1 mail mail   84 2006-04-03 19:09 .courier
 -rw-r--r--   1 mail mail  124 2006-04-03 14:11 .courier-tmda
 lrwxrwxrwx   1 mail mail   13 2006-04-03 13:09 .courier-tmda-default
 - .courier

 cat .courier-tmda:
 |preline tmda-filter -c ./.tmda/config
 |preline procmail -Y -m
 /var/mail/domains/multiseb.com/sebastien.claude/.procmailrc

 Ok, so when I send a mail to [EMAIL PROTECTED] I get a 550 user
 unknown error from courierestmp
 Apr  9 16:45:11 localhost courieresmtpd:
 error,relay=:::192.168.0.130,from=[EMAIL PROTECTED],to=[EMAIL 
 PROTECTED]:
 550 User unknown.

I think you are getting no response because this DOES work.  It works
for me in an almost identical situation.  If you've got a .courier-tmda
file in the 'test' user's $HOME directory, the 'test-tmda' *should*
work.  I use it and it works.  And I just set up an account just like
yours and everything worked fine.

I have 'sil.org' in hosteddomains, and I created a user test and then
created .courier-tmda in that user's $HOME directory, and messages
addressed to [EMAIL PROTECTED] were accepted and delivered exactly as
they should be.

 So in my homedir for user test : /var/mail/domains/domain.com/test/ I
 have this :
 -rw-r--r--   1 mail mail   84 2006-04-03 19:09 .courier
 -rw-r--r--   1 mail mail  124 2006-04-03 14:11 .courier-tmda
 lrwxrwxrwx   1 mail mail   13 2006-04-03 13:09 .courier-tmda-default
 - .courier

 cat .courier-tmda:
 |preline tmda-filter -c ./.tmda/config
 |preline procmail -Y -m
 /var/mail/domains/multiseb.com/sebastien.claude/.procmailrc

So messages to [EMAIL PROTECTED] work properly and are delivered?  The
instructions in the .courier file are properly followed?  But messages
to [EMAIL PROTECTED] are rejected?  I don't know why it wouldn't be
working, but perhaps try deleting the .courier-tmda file and recreating
it.  Or get rid of the .courier-tmda* files and just create a
.courier-default file and see if mail to test-anything@domain.com is
accepted (which it should be).   If that works then try creating the
.courier-tmda file again.

Just to be sure, you are sending to test-tmda and you did create
.courier-tmda?  While I was testing this I sent mail to test-tmad
and it was rejected, of course, since I'd reversed the letters.

Using the .courier-* notation for delivery does work in courier, which
many people can attest to.  So perhaps simply starting over with the
account will solve your problem.

HTH

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEUAcpZxtYeNk78A8RAp99AKC1hufTyF6Dxjb+cIaq2RKV9ETUjgCgyyyo
aclcetLwtuk7WAO42Vh7/5M=
=gz2z
-END PGP SIGNATURE-


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid0709bid3057dat1642
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Popping Mails from External Accounts

2006-03-14 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

James Ochieng wrote:
 We have external POP mail accounts with our ISP for
 all the employees. I would like to know if it is
 possible to pop these mails from the external accounts
 into our local Courier mail server accounts so users
 can access them locally.
 
 Please help me with the exact configuration details
 either via the web server or through the configuration
 files.

Courier won't do it, but fetchmail will, easily.  This is exactly what
we do.  Fetchmail is easy to configure and run.  If you don't know how
to create a fetchmail configuration file then feel free to write me off
list and I'll send you one which you can edit for your specific situation.

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEFqT6ZxtYeNk78A8RAp+ZAJ9qmlcizTE6xZPMMrw8t9YoKa86igCfTlvh
AUakg4DEsEWWVgNocLeyGbI=
=jiul
-END PGP SIGNATURE-


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Vacation and virtual mailboxes

2006-02-28 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jesper Langkjær wrote:
 It's an mailaliases. The mail are sent to [EMAIL PROTECTED] and then
 delivered to user2, when the mail(vacation messages) are returned it
 seems like it comes from [EMAIL PROTECTED] and not [EMAIL PROTECTED] as it
 should.

I think this is your problem.  The mail *is* being delivered to
[EMAIL PROTECTED], hence the reply comes from that account.  By the time
mail gets to maildrop, the $RECIPIENT is [EMAIL PROTECTED] because that's
where it's going to be delivered.  Maildrop has no idea what the
original address was.  Courier expands the alias when the message
arrives.  After that, as far as anyone is concerned, it's as if the mail
had come in for [EMAIL PROTECTED]  The original RCPT TO: recipient is
long gone.

To get around this I think you'll either need to use separate vacation
messages for each user which have the From: header already included in
the message, or you'll have to have some way for maildrop to know who
the original recipient was and use that to set the header.  It may be
that maildrop can access that information somehow, but I don't know.
Google or someone else on the list may be able to help you there.

HTH

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEBCVHZxtYeNk78A8RApPnAJ0SSd4ex77DjLrXqBi4ZJtXbWmvewCglRqw
vN5IIrFZo5DPUqVFCEfFRTk=
=j1A2
-END PGP SIGNATURE-


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Vacation and virtual mailboxes

2006-02-27 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jesper Langkjær wrote:
 if ( $RETURNCODE == 0 )
exit
 to | ( cat - ; echo ''; cat vacation.msg) | $SENDMAIL
 
 But now the server got another mail domain (companyB) and whenever sombody 
 from CompanyB create an vacation messages and it got send it seems like it 
 coming from CompanyA.
 
 Eg.
 1. [EMAIL PROTECTED] make an vacation message
 2. [EMAIL PROTECTED] sends an e-mail to [EMAIL PROTECTED]
 3. The vacation messages that comes back to [EMAIL PROTECTED] got it from 
 [EMAIL PROTECTED]
 
 How can I fix it so that [EMAIL PROTECTED] will get it from [EMAIL PROTECTED] 
 ??

What do you mean when you say that it appears to come from companyA?  Do
you mean that the From: header shows the wrong name?  Is the recipient
*really* [EMAIL PROTECTED] or is that an alias and the mail is actually
being delivered to a different account?

Assuming that the problem is the From: header and that [EMAIL PROTECTED] is
the actual recipient, then you need to add the proper From: header to
the vacation message before you mail it.

to | ( cat - ; echo From: $RECIPIENT; echo ''; cat vacation.msg) |
$SENDMAIL -f $RECIPIENT

(That should all be on one line, of course, in your maildrop script.)

HTH

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEAv2rZxtYeNk78A8RAnvnAKC8RdRaMuTheVmSejhDAxVohhTaMwCfbqSj
duaaiwBEhX+NQdiyUEDyBeU=
=cY9/
-END PGP SIGNATURE-


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Build authlib rpm without mysql and postgresql

2006-02-14 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Bowie Bailey wrote:
 Can I modify the courier-authlib.spec file so that it does not require
 or build these modules?  (All I really need is the userdb module)

Comment out the BuildPreReq: lines in the spec file that list these two
development libraries, then build them rpms again.  You'll end up with
rpms for both pgsql and mysql, but they won't have any files in them.

HTH

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD4DBQFD8gnVZxtYeNk78A8RAjivAJ9g6WgX4sqSl5UgCvv+3RJdJyrjswCXawob
/l98szV+8rGC6a9NSarezw==
=2CYB
-END PGP SIGNATURE-


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Build authlib rpm without mysql and postgresq l

2006-02-14 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Bowie Bailey wrote:
 This gets me into the build process, but then I get another error at the
 end:
 
 Checking for unpackaged file(s): /usr/lib/rpm/check-files
 /var/tmp/courier-authlib-0.58-1.2-root
 rpmbuild: relocation error: /usr/lib/libz.so.1: symbol __sprintf_chk,
 version GLIBC_2.3.4 not defined in file libc.so.6 with link time reference
 
 I'm not sure if this is related to the BuildPreReq lines that I removed,
 or if it is something else.

I don't have postgresql installed on my machines and have built
courier-authlib rpms by commenting out the BuildPreReq lines for it and
it has built everything just fine.  I simply end up with an empty rpm
for the postgresql auth modules.

This error looks more serious.  I'd say that this confirms your earlier
message that *something* is broken on your box.  But as for what it is,
I have no idea.

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD8msoZxtYeNk78A8RAkFXAJ40BEk3MGbY2GaUZJKwgxfIxcw7+wCeMxJn
SagEYdKUmYoY9if2D2xOt7w=
=GJ1z
-END PGP SIGNATURE-


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Default route via SSL

2006-02-10 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

./SuperbepS wrote:
 I've tried to set a defult route for my home MTA via smtp.gmail.com (because 
 my provider windows smtp doesn't work!!!)...
 Obiouvsly i need SSL to autenticate!
 I have:
 :smtp.gmail.com /SECURITY=STARTTLS
 in esmtproutes, the right user and password in esmtpauthclient
 
 but i get the following error:
 
 Feb  9 15:32:34 [courieresmtp] 
 id=000FBCC0.43EB5281.5B4A,from=[EMAIL PROTECTED],addr=[EMAIL 
 PROTECTED]: 500 
 Unable to set minimum security level.

/SECURITY=STARTTLS is a courier only extension to smtp security.  It
doesn't mean to use STARTTLS.  Courier will *always* use STARTTLS if the
mailserver at the other end advertises it (which gmail does).  Just
remove the /SECURITY=STARTTLS from the line in esmtproutes and
everything should work just like you want.

HTH

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD7Fq/ZxtYeNk78A8RAiMHAKCHckhHsr3R0U2+YONl2oTrVn/zVwCbBOWt
Nyq3HWF3xCBhpEtoHVtCqtA=
=8Ck/
-END PGP SIGNATURE-


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] courier 0.49.0.20050405-1 Forwarding Not Working Anymore

2006-02-09 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Steve Lange wrote:
 Now when I add/edit/delete entries out of the forwards file and
 run 'makealiases' and restart courier, the changes don't take effect,
 the new forwards do not work, if I removed a forward, it is still
 active.  Does anyone have any suggestions or has anyone seen this
 before?  Thanks in advance for any help!

Have you checked the permissions on the files and whether the user
running the commands has permission to modify them?  I use scripts to
manage most of this and they normally run as user courier.  So the
aliases.dat is owned by 'courier'.

But occasionally I'll do something by hand and end up recreating the
files as root.  So now my scripts running as courier can no longer write
the aliases.dat file.  It's worth a quick look, at least.

HTH

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD6wEdZxtYeNk78A8RAg1BAKDS25wveDn8fbbHDqdONR+eIHVPEQCfe1HL
zXwtmGlxnpdPw2OX19JuVpQ=
=L8ig
-END PGP SIGNATURE-


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Disabling success/delayed DSNes

2006-02-03 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Arturo 'Buanzo' Busleiman wrote:
  I haven't been able to found in any of the configuration files nor
the documentation how to disable
 message is delayed or success delivery status notifications.

The Message is Delayed message is sent out based on the time in the
warntime file in your courier 'etc' directory.  If you don't want this
message sent out, then set 'warntime' to be greater than 'queuetime',
which controls how long a message sits in the queue before it is bounced
back.

So if 'queuetime' is set to 3d (3 days) then set 'warntime' to 4d (4
days) and you'll never see another delayed message warning again.  But
remember, your users may not be happy to send out a message and not find
out for 3 days (or however long your queuetime is) that the message
never went through.

HTH

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD43vXZxtYeNk78A8RAgF0AJ4h9OVUNhszajPXPkGQ+G9LD+s6lQCeP+Q2
1F+LFihzyYizHsvGGM9KVzo=
=XkWV
-END PGP SIGNATURE-


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Another fam/famd mysterious log issue... SuSE

2006-01-22 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Brian E. Miller wrote:
 I am having a difficult time finding information on this pertaining to SuSE.
 
 Where can I get this fam and any documentation on it?

In Suse you need the packages 'fam' and 'fam-server'.  They should be on
your install media.  If I go into 'Yast-Software-Install and Remove
Programs' and do a search on 'fam' it shows me fam, fam-devel, and
fam-server.  (Of course you need to have the Yast Source Media pointing
to your install CD/DVD, an internet repository, etc.)

Install those and it should take care of the errors.  If you need help
with getting Yast to see the packages and install them, please feel free
to write me off the list.

HTH

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFD08DXZxtYeNk78A8RAn8CAKCFbofhhpcZbLEEzAIm4ssIhPKqjgCfdgzb
BB/3qi0x7OLZztrcXLUJAjI=
=f7bD
-END PGP SIGNATURE-


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Force pop3-ssl ?

2006-01-05 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Lars Holmström wrote:
 Is it possible to force all addresses in to use pop3-ssl except for a
 few IP-addresses.
 I am thinking about something similar to smtpaccess

I don't know if it's possible with courier, but I enforce this with the
firewall.  It's quite easy to tell your server to allow pop3 connections
only from certain ip addresses while allowing anyone to access the
secure services.

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDvTvRZxtYeNk78A8RAkijAJ4n/d+BDozw3oKLo4QerxiVoA4VVQCZAedM
xfT9pvZXYh0y58TXsHg6mE8=
=Aqom
-END PGP SIGNATURE-


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Windows/ME +OE clients with pop3d-ssl

2006-01-05 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Lars Holmström wrote:
 a user with Windows/ME and Outlook
 (unknown version) tried as well. The problem he experience is that every
 time he poll his account for mail, he will receive a message similar to
 The server you are connecting to use a certificate that does not
 correspond to its IP address (freely translated in to english).
 
 - Does any one know what the reason for this behaviour is ?
 - Is there any known way, or suggestions for how to work around the
 problem ?

Make sure that the name which the client has as the incoming server in
OE is the same as the name on the certificate and that DNS resolves that
name to the same ip address as on the server's cert.  When I've seen
these problems it was usually because the client was using the ip
address instead of the server name, or they had a different server name
from the one on the cert - a name which worked but which didn't
correspond to the name or ip address on the cert.

HTH

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDvT6RZxtYeNk78A8RAhpnAJ9O4j2iAub7xA2VtM8KFyqXnnLzdgCg0iLS
vpQf2c3TlUaV0yichHWSwgA=
=DBhN
-END PGP SIGNATURE-


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] catchall

2005-12-30 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Nick Smith wrote:
ive read through all the man pages pertaining to the subject, and
searched google, which pointed me back to the man pages, but my users
are virtual, and i dont want an entire domain going to one user, i
have several users defined, i want all the rest going to a specific
account. can this be done? how?

By all the rest do you mean that if you host domain.com then you
want ANY address @domain.com to be accepted by courier and delivered
somewhere?  This is generally a very BAD idea as you will receive
literally thousands of spam messages.  If a machine is connected to the
internet you should *never* accept mail for any user.

But if you have a machine that is not connected to the internet and you
need to do something like this then you have several options.  One is
what Sam described - alias the whole domain to a single user and then
use .courier-user files to specify where mail should be delivered.  So
you could still keep your defined users and have separate
.courier-user files for each of them which would tell courier to store
mail in their existing INBOX.  But then you also have a
.courier-default file which tell courier what to do with all the
rest (i.e. any addresses at the domain which are not defined by a
.courier-user file.)

If your domain, domain.com, is a hosted domain then you can create a
catch-all account - [EMAIL PROTECTED].  Now all mail to undefined users
@domain.com will be delivered to [EMAIL PROTECTED].  Of course then
you probably have to use a .courier file or some such to tell courier
what to do with all that mail assuming don't just want it all to pile in
the alias account.

You can also use a general .courier-default file.  When courier is
trying to deliver a message the last place it looks for instructions is
in courier's aliasdir directory.  And the last file it reads in there
is the .courier-default file.  So you could put instructions in that
file telling courier what to do with users in your domain who are not
defined.

See the 'makealiases' man page for instructions on aliasing a domain to
a single user and then using .courier-user and .courier-default
files.  See the 'makehosteddomain' man page for instructions on the
[EMAIL PROTECTED] catch-all account.  And see the 'dot-courier' man
page for instructions on the .courier-default file in the aliasdir
directory.

But again, do NOT do this on server that receives mail from the
internet.  You really do not wanted to accept mail for any user at your
domain if you are connected to the internet.  You will only drown in
spam and other problems.

HTH

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDtbFiZxtYeNk78A8RAgFcAJ9LM715VuiaEwQLawitCWpHP3lJ6QCgmgjk
Ae/gr5kAqO+bKMXS43ZAuYo=
=eLeI
-END PGP SIGNATURE-


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Failed to create cache file: maildirwatch error

2005-12-28 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jonathan Chong wrote:
 -rw-r--r--1 root root  392 Dec 10  2004 /etc/xinetd.d/sgi_fam
 But when I try to run it, it tells me permission denied. 
 Portmap is already running:
 As far as I can tell, xinetd is a folder that contains the sgi_fam file.
 Sorry, my Linux knowledge is very limited ...

As it was for all of us when we started.  You'll get there.  :-)

The sig_fam file is not a program.  It is the configuration file for
xinetd to know what program to run (and how to run it) when requests
come in for this service.  This is true for all the files in the
/etc/xinetd.d directory.

In order to get fam running, you should put this file back to its
original permissions (644), then edit the file and find the line that
says disable = yes and change the yes to no.  This tells xinetd
that it CAN run this service.  If you don't need fam to be accessible to
clients across the network, then you also might want to add bind =
127.0.0.1 to the list of options in this file as well.  This will limit
fam service to that one machine only.

Then you need to restart/start xinetd.  So run service xinetd restart.
(Don't worry if it can't stop correctly - that just means it wasn't on
to begin with.)  After that you should make sure xinetd is set to run
automatically at boot.  So run chkconfig --add xinetd  This will turn
it on at boot.  You can check what its boot status is by running
chkconfig xinetd  (This works for any service on the machine as well.)
 Now fam should be running and you shouldn't see the imapd errors
anymore in the logs.

Finally, all the xinetd services should be off by default but just in
case you should check and make sure you're not running something and
didn't realize it.  Run chkconfig --list, which will print out the
status of all your services both in the init.d and xinetd.d directories.
 Scan to the end of the listing (which will be the xinetd services) and
make sure they are all say off.  Or you could do something with grep
like grep -e 'disable.*=.*no' /etc/xinetd.d/* which will print out any
files in that directory which are NOT disabled. If you find any services
running that you don't expect, then edit that file in the xinetd.d
directory and change the disable = no to disable = yes and then
restart xinetd.

HTH.  Let us know how it goes.

Jeff Jansen

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDssRwZxtYeNk78A8RAtETAJ4/Yc/r9RY6FKi+3ny8KFi6LVYhyQCdF+sD
LHzHluNY2N9hRue91WN6g+I=
=kvYE
-END PGP SIGNATURE-


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Failed to create cache file: maildirwatch error

2005-12-28 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jonathan Chong wrote:
 I've run chkconfig --add xinetd and chkconfig xinetd but they both
 don't return anything.

It looks like xinetd isn't installed.  Did you run service xinetd
restart?  What happened?  Did it give you an error saying it's not a
valid service?  Try rpm -q xinetd and see what if it tells you.  If it
says that it's not installed then you need to install the xinetd rpm.

Check that out and we'll go from there.

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDstl5ZxtYeNk78A8RAoRfAJ42cwHyOb6C3UxM3JTFgMZSKaJeyQCgtP+M
qtNu3Suyds6gxWBxytP9Wh4=
=z/kH
-END PGP SIGNATURE-


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Failed to create cache file: maildirwatch error

2005-12-28 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Gordon Messmer wrote:
 No, it doesn't.  chkconfig --add won't do anything unless the service
 hasn't been added yet.  chkconfig by itself won't do anything, period.
 
 If you want to enable a service, you use chkconfig service on, and
 if you want to look at its configuration you use chkconfig --list
 service.

Clearly you're right.  This must be a difference between the real
chkconfig on redhat and the fake one that suse (which I'm running) has
for all us ex-redhat users. :-)

batman:~ # chkconfig xinetd
xinetd  off
batman:~ # chkconfig --add xinetd
xinetd  0:off  1:off  2:off  3:on   4:off  5:on   6:off

Thanks for the explanation.  I've kind of wondered about this.  It
explains why some of the chkconfig commands in the courier.spec file
work fine but others I had to change to use the suse 'insserv' command.

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDsup4ZxtYeNk78A8RAvKIAJ9JGLK4CH/2PpcOu0/lmLUgsuy/ywCg1EVX
mycvOTyWYbfy1lWEUWeGLf0=
=Nhgz
-END PGP SIGNATURE-


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


  1   2   3   4   >