Mag Gam | 1 Jun 02:18 2009
Picon

Adding a user to courier

We are using Debian and Courier as our MTA. We would like to add
several hundred users to our email system (they don't have an Unix
account).

Is it possible to add these users? Also, is it possible to add them
using courier-web console?

TIA

------------------------------------------------------------------------------
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 as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
courier-users mailing list
courier-users <at> lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Bernd Wurst | 1 Jun 06:28 2009

Re: Adding a user to courier

Hi.

Am Montag 01 Juni 2009 02:18:16 schrieb Mag Gam:
> We are using Debian and Courier as our MTA. We would like to add
> several hundred users to our email system (they don't have an Unix
> account).
>
> Is it possible to add these users? Also, is it possible to add them
> using courier-web console?

It's important to know what authentication backend you are using.
When it's not authpam, then it's some other sort of database. Maybe 
authuserdb, authmysql or something like that.
For further assistance, you should tell us what backend you are using.

You can always add the new accounts as entries in that database or file. Doing 
it via web-console is possible but really painful because all entries must bei 
set up individually.

cu,
Bernd
------------------------------------------------------------------------------
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 as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
(Continue reading)

Parto Chobeiry | 1 Jun 10:57 2009
Picon

Courier 0.62.0: lots of sefault in courieresmtpd

Hi, since having upgrade from 0.61.2 to 0.62.0 my system throws a lot of the following messages: [14685376.861261] courieresmtpd[21446]: segfault at 0 ip 400bb050 sp bfdf2d90 error 4 in libc-2.7.so[4004a000+138000] The mails that cause courieresmtpd to segfault do not seem to be important, because nobody is complaining about lost e-mails. Is there a way to avoid the above messages? I compiled Courier from source: Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Debian 4.3.2-1' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-targets=all --enable-cld --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu Thread model: posix gcc version 4.3.2 (Debian 4.3.2-1) GNU ld (GNU Binutils for Debian) 2.18.0.20080103 Supported emulations: elf_i386 i386linux elf_x86_64 Thanks PC
Picon
From: root <root <at> f.chobeiry.net>
Subject: diff detected (DmesgDiff) -- 09Jun01 1011.00
Date: 2009-06-01 08:11:00 GMT
a1,2
> ; paused 0 sec; 140 K/sec)
> [10842271.889655] drbd1: conn( SyncSource -> Connected ) pdsk( Inconsistent -> UpToDate ) 
1492d1493
< [14685376.861261] courieresmtpd[21446]: segfault at 0 ip 400bb050 sp bfdf2d90 error 4 in libc-2.7.so[4004a000+138000]
Attachment (parto.vcf): text/x-vcard, 259 bytes
------------------------------------------------------------------------------
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 as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
courier-users mailing list
courier-users <at> lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Mag Gam | 1 Jun 11:51 2009
Picon

Re: Adding a user to courier

Bernd:

Thanks for the response. What if I would like to do it via a file? I
would like something very simple.

I have searched everywhere on the site and google but can't find the
docs on it. Can you also point me to the docs?

TIA

On Mon, Jun 1, 2009 at 12:28 AM, Bernd Wurst <bernd <at> bwurst.org> wrote:
> Hi.
>
> Am Montag 01 Juni 2009 02:18:16 schrieb Mag Gam:
>> We are using Debian and Courier as our MTA. We would like to add
>> several hundred users to our email system (they don't have an Unix
>> account).
>>
>> Is it possible to add these users? Also, is it possible to add them
>> using courier-web console?
>
> It's important to know what authentication backend you are using.
> When it's not authpam, then it's some other sort of database. Maybe
> authuserdb, authmysql or something like that.
> For further assistance, you should tell us what backend you are using.
>
> You can always add the new accounts as entries in that database or file. Doing
> it via web-console is possible but really painful because all entries must bei
> set up individually.
>
> cu,
> Bernd
>
> ------------------------------------------------------------------------------
> 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 as they present alongside digital heavyweights like Barbarian
> Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
> _______________________________________________
> courier-users mailing list
> courier-users <at> lists.sourceforge.net
> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
>
>

------------------------------------------------------------------------------
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 as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
courier-users mailing list
courier-users <at> lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Sam Varshavchik | 1 Jun 13:09 2009

Re: Adding a user to courier

Mag Gam writes:

> Bernd:
> 
> Thanks for the response. What if I would like to do it via a file? I
> would like something very simple.

That's what shell scripts are for.

> I have searched everywhere on the site and google but can't find the
> docs on it. Can you also point me to the docs?

See the courier-authlib man pages. Again, you need to state which 
authentication modules you're using. If you're using system accounts, 
authpam, then just use your system's regular script for adding users.

If you're using authuserdb, write a script that invokes userdb to create new 
accounts. If you're using another authentication module, write an 
appropriate script to update the database. In all cases, you'll also need to 
create the account's home directory and maildir.

------------------------------------------------------------------------------
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 as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
courier-users mailing list
courier-users <at> lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Sam Varshavchik | 1 Jun 13:13 2009

Re: Courier 0.62.0: lots of sefault in courieresmtpd

Parto Chobeiry writes:

> « HTML content follows »
> Hi,
> 
> since having upgrade from 0.61.2 to 0.62.0 my system throws a lot of the fo 
> llowing messages:
> 
> [14685376.861261] courieresmtpd[21446]: segfault at 0 ip 400bb050 sp bfdf2d 
> 90 error 4 in libc-2.7.so[4004a000+138000]
> 
> The mails that cause courieresmtpd to segfault do not seem to be important, 
>  because nobody is complaining about lost e-mails.
> 
> Is there a way to avoid the above messages?

Find out what's causing them, and fix it. Attach strace to courieresmtpd, to 
obtain a traceback.

> I compiled Courier from source:
> 
> Using built-in specs.
> Target: i486-linux-gnu
> Configured with: ../src/configure -v --with-pkgversion='Debian 4.3.2-1' --w 
> ith-bugurl=<URL:file:///usr/share/doc/gcc-4.3/README.Bugs>file:///usr/share 
> /doc/gcc-4.3/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --pr 
> efix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --withou 
> t-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-d 
> ir=/usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu --enable 
> -libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-targets=all --enab 
> le-cld --enable-checking=release --build=i486-linux-gnu --host=i486-linux-g 
> nu --target=i486-linux-gnu

About have of these options do not exist or do not do anything. You won't 
find then in Courier's INSTALL file.

------------------------------------------------------------------------------
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 as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
courier-users mailing list
courier-users <at> lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Bernd Wurst | 1 Jun 13:37 2009

Re: Adding a user to courier

Hello.

Am Montag 01 Juni 2009 11:51:16 schrieb Mag Gam:
> Thanks for the response. What if I would like to do it via a file? I
> would like something very simple.

Then have a look at authuserdb.

> I have searched everywhere on the site and google but can't find the
> docs on it. Can you also point me to the docs?

;-)

See http://www.courier-mta.org/authlib/README_authlib.html

There's a chapter about a simple userdb-Setup.

cu, Bernd
------------------------------------------------------------------------------
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 as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
courier-users mailing list
courier-users <at> lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Bowie Bailey | 1 Jun 16:40 2009

Re: sending mail (SMTPS) very slow

Sam Varshavchik wrote:
> Bowie Bailey writes:
>
>> Sam Varshavchik wrote:
>>> Bowie Bailey writes:
>>>>
>>>> Interesting.  I verified that CRAM authentication was failing on 
>>>> both of my Courier systems.  Disabling it made them both much more 
>>>> responsive.
>>>>
>>>> What additional requirements does CRAM have?  I looked in the 
>>>> INSTALL document, the courier man page, and the esmtpd config 
>>>> file.  None of them said anything other than that you have to use a 
>>>> compatible authentication method, which I am (authuserdb).
>>>
>>> It helps to actually understand how CRAM works. CRAM cannot use 
>>> encrypted passwords, so the system must be configured to use 
>>> cleartext passwords. Additionally, there's a special configuration 
>>> procedure for userdb.
>>>
>>> Courier-IMAP's INSTALL has a section entitled "CRAM-MD5 
>>> authentication". This should also be present in Courier's INSTALL, 
>>> but it's not. That's an omission.
>>
>> Unfortunately, it is not feasible to change all of the passwords on 
>> the server at this point, so I don't think we'll be able to set up 
>> CRAM authentication anytime soon.
>>
>> I read the Courier-IMAP INSTALL doc and it seems fairly 
>> straightforward.  Perhaps a modified version should be added to the 
>> main Courier INSTALL.  Also, should Courier ship with CRAM disabled 
>> as Courier-IMAP apparently does?
>
> It should be, and I'm pretty sure it is.
>
> IMAP_CAPABILITY in imapd.dist.in, the shipped configuration, does not 
> list CRAM. The comments that precede the documentation have an example 
> that includes CRAM methods, but the actual default setting does not. 
> Same for POP3AUTH in pop3d.dist.in, and ESMTPAUTH in esmtpd.dist.in. 
> As far as I can tell, CRAM authentication is disabled by default.

Actually, now that I look at it, it appears to ship with all 
authentication disabled.  In order to enable it, you have to change the 
ESMTPAUTH settings.

esmtpd.dist:
------------------------------------------------
##NAME: ESMTPAUTH:4
#
# To enable authenticated SMTP relaying, uncomment the ESMTPAUTH setting,
# below, and set it to ESMTP authentication mechanisms we support.  
Currently
# LOGIN and CRAM-MD5 are available:
#
# ESMTPAUTH="LOGIN CRAM-MD5"
#
# You can also try PLAIN, CRAM-SHA1, and CRAM-SHA256.  See INSTALL for more
# information.
#

ESMTPAUTH=""
------------------------------------------------

Based on this, someone who knows nothing about the inner workings of 
these authentication methods (i.e., me), would conclude that they should 
follow the example given and use LOGIN and CRAM-MD5.  There should 
probably be a note here saying that additional configuration may be 
needed in order to use CRAM-MD5 authentication.

--

-- 
Bowie

------------------------------------------------------------------------------
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 as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
courier-users mailing list
courier-users <at> lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Bowie Bailey | 1 Jun 22:56 2009

courierlocal syntax error

I have an email that it stuck in my queue and is causing other emails 
for this account to be rejected with a 456.  The errors in the maillog 
look like this:

-------------------------------------------------------------------
Jun  1 14:44:39 bnofmail courierlocal:

id=0014401F.4A231147.00002E55,from=<"veronicabloch." <at> gmail.com>,addr=<info <at> superyachtsociety.com>: 
517 Syntax error.
Jun  1 14:44:39 bnofmail courierlocal:

id=0014401F.4A231147.00002E55,from=<"veronicabloch." <at> gmail.com>,addr=<info <at> superyachtsociety.com>: 
maildrop: error writing to mailbox.
Jun  1 14:44:39 bnofmail courierlocal:

id=0014401F.4A231147.00002E55,from=<"veronicabloch." <at> gmail.com>,addr=<info <at> superyachtsociety.com>: 
maildrop: Unable to deliver to mailbox.
Jun  1 14:44:39 bnofmail courierlocal:

id=0014401F.4A231147.00002E55,from=<"veronicabloch." <at> gmail.com>,addr=<info <at> superyachtsociety.com>,status: 
deferred
-------------------------------------------------------------------

I assume the problem is the funky from address, but isn't it legal if 
it's quoted like that?  Is there a way to force the message through, or 
am I going to have to manually cancel the message?

--

-- 
Bowie

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
courier-users mailing list
courier-users <at> lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Sam Varshavchik | 2 Jun 01:05 2009

Re: courierlocal syntax error

Bowie Bailey writes:

> I have an email that it stuck in my queue and is causing other emails 
> for this account to be rejected with a 456.  The errors in the maillog 
> look like this:
> 
> -------------------------------------------------------------------
> Jun  1 14:44:39 bnofmail courierlocal: 
>
id=0014401F.4A231147.00002E55,from=<"veronicabloch." <at> gmail.com>,addr=<info <at> superyachtsociety.com>: 
> 517 Syntax error.
> Jun  1 14:44:39 bnofmail courierlocal: 
>
id=0014401F.4A231147.00002E55,from=<"veronicabloch." <at> gmail.com>,addr=<info <at> superyachtsociety.com>: 
> maildrop: error writing to mailbox.
> Jun  1 14:44:39 bnofmail courierlocal: 
>
id=0014401F.4A231147.00002E55,from=<"veronicabloch." <at> gmail.com>,addr=<info <at> superyachtsociety.com>: 
> maildrop: Unable to deliver to mailbox.
> Jun  1 14:44:39 bnofmail courierlocal: 
>
id=0014401F.4A231147.00002E55,from=<"veronicabloch." <at> gmail.com>,addr=<info <at> superyachtsociety.com>,status: 
> deferred
> -------------------------------------------------------------------
> 
> I assume the problem is the funky from address, but isn't it legal if 
> it's quoted like that?  Is there a way to force the message through, or 
> am I going to have to manually cancel the message?

The funky from address merely causes the real problem: it looks like you 
have a maildrop recipe running in this mailbox, and it's barfing trying to 
process this message. It problem takes the sender's address and uses it in 
an external command, without quoting it properly.

Look at your maildrop recipe.

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
courier-users mailing list
courier-users <at> lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Gmane