Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Almost Working Postfix
Robert83
post May 16 2004, 01:26 PM
Post #1


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,439
Joined: 3-January 04
From: Germany
Member No.: 2,069



Hi,

well I'm at those very last steps, and have a problem...don't know how to resolve

when I wan't to start cyrus

/etc/init.d/imapd start
saslauthd[19691] :set_auth_mech : unknown authentication mechanism: pam

what do I miss here, or what have I mistyped ? where could I search , I mean where would this file (that is causing the problem) located?

Sincerely
Robert B


--------------------
Robert Becskei
robert83@linuxhelp.net
--------------------
May the source be with us!
--------------------
AMD X2-3800 @ 2400Mhz
2048MB DDR 400Mhz
DFI Lanparty UT4 NF4 ULTRA-D
GeForce 7800GT
250GB+250GB
Pioneer DVD-RW
17inch Samsung Syncmaster 757NF
WinXP Pro (SP2)/ CentOS 4.3
--------------------
Go to the top of the page
 
+Quote Post
hughesjr
post May 16 2004, 04:25 PM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



I think the problem is that there are some cyrus programs installed as part of the original install and they do not include pam authentication.

Let me know if you get it to work. I am working on this as well for my guide.


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post
Robert83
post May 17 2004, 01:47 AM
Post #3


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,439
Joined: 3-January 04
From: Germany
Member No.: 2,069



Hi,

I think Cyrus-sasl is the problem,

I did it's configuration again, and it won't detect pam, altought it's installed on the system... I think this is causing the problem...

havent found a solution yet, still looking

update

I have pam-devel,pam_smb,pam_krb5 , pam install, latest rpm version, ...and /lib/security has those pam*.so files


Sincerely
Robert B


--------------------
Robert Becskei
robert83@linuxhelp.net
--------------------
May the source be with us!
--------------------
AMD X2-3800 @ 2400Mhz
2048MB DDR 400Mhz
DFI Lanparty UT4 NF4 ULTRA-D
GeForce 7800GT
250GB+250GB
Pioneer DVD-RW
17inch Samsung Syncmaster 757NF
WinXP Pro (SP2)/ CentOS 4.3
--------------------
Go to the top of the page
 
+Quote Post
hughesjr
post May 17 2004, 06:33 AM
Post #4


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



I now have a working postfix install, using only WhiteBoxEL base rpms I have the following:

SMTP - to send and recieve mail from other servers
IMAPs (S means via ssl) - meaning all passwords are encrytped
POP3s (S means via ssl) - meaning all passwords are encrypted
SASL (SMTP AUTH) - to send user e-mail form a seperate client. With no PLAIN text and no ANON (anonymous) mail sending ... meaning that only authenticated users send mail, and passwords are encrypted.

Currently, the POP3s and IMAPs use the passwd and shadow file to authenticate users (meaning all users who have valid logins have valid e-mail addresses), but the SASL (SMTP AUTH) is using a seperate database for authentication to send e-mail.

I am working to get the SASL to use the passwd and shadow file as well, so no seperate database needs to be maintained for sending e-mail. As soon as I get this working, I will post a guide.

Right now (after adding a user and password via saslpasswd2 to /etc/sasldb2 for SASL authentication) I can send and recieve e-mail via the server with a local user, and via evolution on a remote client.

The difference is that there is no MySQL storage ... and currently no web based e-mail. I thought I might use squirrelmail as the web based interface, as version 1.2.11 is included in the WhiteBoxEL Distro.

Once I have squirrelmail working, the next item will be to add MailScanner (with clamav and Spamassassin).

I expect to have the the Postfix with SASL (SMTP AUTH), POP3s, and IMAPs part of the guide done very soon (maybe this evening) ... and I'll add the other items as I finish them.


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post
Robert83
post May 17 2004, 08:34 AM
Post #5


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,439
Joined: 3-January 04
From: Germany
Member No.: 2,069



Hi,

I've been checking version 1.0.0 version of the same guide , there rpm's are used...wonder why the author suddenly moved to source in the latest release...

well anyways...the question would be, the application that don't work, that auth_mech PAM not known thingie, would it be a good idea to install the following packages via yum ? [would it screw up the test system, or do I have a chance of getting this work]
cyrus-imapd-devel-2.0.16-115
cyrus-sasl-1.5.24-157
cyrus-sasl-gssapi-1.5.24-157
cyrus-sasl-devel-1.5.24-157
perl-Cyrus-IMAP-2.0.16-115
perl-Cyrus-SIEVE-acap-2.0.16-115
perl-Cyrus-SIEVE-managesieve-2.0.16-115
cyrus-imapd-2.0.16-115

Sincerely
Robert B


--------------------
Robert Becskei
robert83@linuxhelp.net
--------------------
May the source be with us!
--------------------
AMD X2-3800 @ 2400Mhz
2048MB DDR 400Mhz
DFI Lanparty UT4 NF4 ULTRA-D
GeForce 7800GT
250GB+250GB
Pioneer DVD-RW
17inch Samsung Syncmaster 757NF
WinXP Pro (SP2)/ CentOS 4.3
--------------------
Go to the top of the page
 
+Quote Post
hughesjr
post May 17 2004, 07:51 PM
Post #6


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



The only thing that I know for sure that your solution will do that the stock one won't is allow items to be placed into the MySQL database. The rpm-only solution will not allow that (the postfix is not compiled with mysql support). All the other things that the guide you are following can be done ... and you can add users (and passwords) to a database as well as use PAM.

I am going to post the first part of my install guide in tips & tricks starting in a couple minutes.

What I found is that in order to use the PAM (or shadow) mechcanism, you had to allow (and use) Plain text to pass the password in for SMTP. (You can use encrypted POP3s and IMAPs, but not md5 type SMTP AUTH). It is possible to use TLS for SMTP, but I am not going to do that.

If you want a mail server that uses the passwd/shadow usernames and passwords and allows POP3 or IMAP and SMTP AUTH, then you can have a system up and running in a couple hours following my guide that I will post in tips and tricks.

As soon as I finish posting it, I am going to work on integrating squirrelmail. Once I get that working, I will post an update ...

The next item will be getting MailScanner (with Spamassassin and ClamAV) running on the Postfix/squirrelmail server.


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post
hughesjr
post May 18 2004, 01:39 AM
Post #7


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



OK ... my guide for installing upto and including squirrelmail is HERE


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post
Robert83
post May 18 2004, 10:16 AM
Post #8


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,439
Joined: 3-January 04
From: Germany
Member No.: 2,069



Thank you very much Johnny!,

that will be a BIG help for anyone who want's to set up a mail server smile.gif

Thank you smile.gif

Sincerely
Robert B


--------------------
Robert Becskei
robert83@linuxhelp.net
--------------------
May the source be with us!
--------------------
AMD X2-3800 @ 2400Mhz
2048MB DDR 400Mhz
DFI Lanparty UT4 NF4 ULTRA-D
GeForce 7800GT
250GB+250GB
Pioneer DVD-RW
17inch Samsung Syncmaster 757NF
WinXP Pro (SP2)/ CentOS 4.3
--------------------
Go to the top of the page
 
+Quote Post
hughesjr
post May 18 2004, 11:18 PM
Post #9


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



You are welcome .... I posted the MailScanner + SpamAssassin + ClamAV part now as well.

You should be able to get a fully functional server out of it now...


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 18th October 2017 - 11:39 AM