It's so simple, once you know it:
Stop running saslauthd, you don't need it.
Forget that /usr/lib/sasl2/smtpd.conf
Instead, edit /etc/sasl2/smtpd.conf:
pwcheck_method: auxprop
auxprop_plugin: sql
mech_list: DIGEST-MD5 CRAM-MD5 PLAIN LOGIN
sql_engine: pgsql
sql_hostnames: DBHOST.fqdn
sql_user:
Op 14-aug-2007, om 1:36 heeft Jim Douglas het volgende geschreven:
This is the output to the MAIL LOG,
Aug 13 19:15:57 cpe-94-973-964-82 postfix/smtp[24382]:
80FC438C0807: to=[EMAIL PROTECTED], relay=smtp-auth.no-ip.com
[24.126.222.92]:3325, delay=0.42, delays=0.05/0.01/0.26/0.1,
24.616.252.993 12 20:54:14 cpe-74-73-164-80 postfix/smtpd[17640]:
connect from cpe-74-73-164-80.phx.res.rr.com[24.616.252.993]
24.616.252.993 12 20:54:15 cpe-74-73-164-80 postfix/smtpd[17640]:
warning: SASL authentication problem: unable to open Berkeley db /
etc/sasldb2: No such file or
mailinglist dbmail@dbmail.org
Subject: Re: [Dbmail] SMTP AUTH
Date: Mon, 13 Aug 2007 00:46:17 +0200
It took me to create a symbollic link:
/etc/postfix/sasl - /usr/lib/sasl2/
And hack the smtpd.conf in /usr/lib/sasl2
main.conf
#SASL parameters
smtpd_sasl_auth_enable = yes
I have dbmail/postfix working fine, but I need to use a service from a
provider to send mail from a static IP address.
I setting up Postfix for smarthost/nexthop configuration and SMTP
AUTH...they have assigned ne a username and password but when I test it the
auth log file indicates,
Aug
It is exclusively a Postfix configuration issue, no changes to DBMail
are required. It looks like the query has the username and password and
auth mechanism all concatenated together, which is surely not correct.
What is your Postfix auth query configuration?
Aaron
On Sun, 2007-08-12 at 16:50
.
From: Aaron Stone [EMAIL PROTECTED]
Reply-To: DBMail mailinglist dbmail@dbmail.org
To: DBMail mailinglist dbmail@dbmail.org
Subject: Re: [Dbmail] SMTP AUTH
Date: Sun, 12 Aug 2007 12:25:28 -0700
It is exclusively a Postfix configuration issue, no changes to DBMail
are required. It looks like the query
It took me to create a symbollic link:
/etc/postfix/sasl - /usr/lib/sasl2/
And hack the smtpd.conf in /usr/lib/sasl2
main.conf
#SASL parameters
smtpd_sasl_auth_enable = yes
smtpd_sasl_autheticated_header = yes
smtpd_sasl_path= smtpd
/main.conf
If the above is setup right, /var/log/auth.log
= 'mydomain.com';
I am trying to forward to their server, you are referring to my Postfix
server as the client correct?
Jim
From: Marc Dirix [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED],DBMail mailinglist dbmail@dbmail.org
To: DBMail mailinglist dbmail@dbmail.org
Subject: Re: [Dbmail] SMTP AUTH
] Postfix + dbMail + smtp auth
I have dbmail working great with postfix-mysql to check for aliases using
your instructions on setting up sql-recipients.cf and adding the following
to mail.cf :
Local_recipient_maps=mysql:/etc/postfix/sql-recipients.cf
My question:
It seems like there should
To: DBMail mailinglist
Subject: Re: [Dbmail] Postfix + dbMail + smtp auth
Hi Dave:
With Postfix this is best done with SASL2. You MUST store your DbMail user
passwords in plaintext or you'll tear your hair out trying to figure out why
it breaks. Any form of encrypted PW in the database will cause
hi !
Im usin dbmail with postfix and mysql ...
I follog http://www.dbmail.org/dokuwiki/doku.php?id=smtp_auth for smtp
auth, but there is a problem with crypted passwords ... and i cant it
work with the patch for crypt passwords
does anyone do it work fine ?? there is another option for
The only issue I have found to be with postfix + sasl is that postfix
can only accept the plaintext password set which is nasty. Same goes
for pam-*sql. I have used exim4 for ages now, and Its a bit more
flexible just because I can just have passwords passed to mysql and
use all sorts of
Folks,
I'm having a hard time find out how to set up smtp-auth with Postfix and
DBMail. Anyone got any pointers?
Thanks,
Peter Darley
Dbmail supports pop-before-smtp and imap-before-smtp. Smtp-auth is
another matter. In postfix this is achieved with sasl, and there is no
plan at all to support sasl in dbmail. Now if only dbmail would support
PAM... think, think...
But perhaps you could try using pam-mysql. Yes that should
You should use PAM_MySQL...it's a PAIN to set up...but worth it in the end.
There aren't many documents that I've found that give detailed
step-by-step instructions on this with a clear and concise description of
what exactly you're doing.
I'll see if I can pull out some of the config files I'm
Okay...
Install pam (follow the instructions in the readme)
Then edit your /etc/pam.conf file as follows:
-- BEGIN ---
#%PAM-1.0
smtpauthsufficient pam_mysql.so user=DB-USER
passwd=DB-PASSWORD host=127.0.0.1 db=dbmail table=users
usercolumn=userid
Subject: RE: [Dbmail] SMTP Auth
Folks,
I'm using PostgreSQL, rather than MySQL. :(
I know there's a PostgreSQL PAM, I'll look into them. If I
figure this out with PostgreSQL I'll post some notes. Thanks, Peter
Darley
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL
On Thu, 2004-05-06 at 08:50, Peter Darley wrote:
Folks,
I'm having a hard time find out how to set up smtp-auth with Postfix and
DBMail. Anyone got any pointers?
Thanks,
Peter Darley
___
Dbmail mailing list
Dbmail@dbmail.org
PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Peter Darley
Sent: Thursday, May 06, 2004 16:35
To: DBMail mailinglist
Subject: RE: [Dbmail] SMTP Auth
Folks,
I'm using PostgreSQL, rather than MySQL. :(
I know there's a PostgreSQL PAM, I'll look into them. If I
figure this out
Ming-Wei
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Jason Burfield
Sent: Thursday, May 06, 2004 16:45
To: DBMail mailinglist
Subject: Re: [Dbmail] SMTP Auth
Yeah, I'd be interested in hearing more about this.
-- Jason
On May 6, 2004, at 10:41
Last week our mail server with innodb got corrupted,
neither the server nor did mysqld crash, so this
might be a mysql bug. Anyway mysqldummp won't dump
anything from messageblks and I found an other (slow)
way to get the data which aren't corrupted yet.
I recovered more 99% of the mails, lost
I've just finished a setup where sasl2 contacts the database directly, rather
than using PAM. I had to compile sasl2 with sql support, and postfix with
sasl2 support (I also have postfix setup with sql support so all config is in
the database) If you like I'll send along the notes I plan on
On Mon, 2004-03-01 at 04:38, Paul J Stevens wrote:
Chris Nolan wrote:
Hi all!
I'm looking to migrate the dodgy setup from hell to DBMail. Here's the
problem:
* The current setup is:
Postfix 1.x + UW-IMAP (ugh...) + SASL + PWCheck
I want to move this across to:
Chris Nolan wrote:
And SMTP AUTH with users in dbmail only, will work if you use pam-mysql.
Of course if 2.0 will do ldap that will work even better performance wise.
Admittedly, I want to get as far away from SASL as I can. I've used
Cyrus stuff before and although it's quite good,
+ SMTP AUTH
Hi all!
I'm looking to migrate the dodgy setup from hell to DBMail. Here's the
problem:
* The current setup is:
Postfix 1.x + UW-IMAP (ugh...) + SASL + PWCheck
I want to move this across to:
Postfix 2.x + DBMail
Migrating existing mail isn't a problem, but migrating existing
Hi all!
I'm looking to migrate the dodgy setup from hell to DBMail. Here's the
problem:
* The current setup is:
Postfix 1.x + UW-IMAP (ugh...) + SASL + PWCheck
I want to move this across to:
Postfix 2.x + DBMail
Migrating existing mail isn't a problem, but migrating existing
usernames
Chris Nolan wrote:
Hi all!
I'm looking to migrate the dodgy setup from hell to DBMail. Here's the
problem:
* The current setup is:
Postfix 1.x + UW-IMAP (ugh...) + SASL + PWCheck
I want to move this across to:
Postfix 2.x + DBMail
Migrating existing mail isn't a problem, but migrating
Hi all!!
I need install smtp-auth or pop before smtp but i dont's found nothing to
this in my configuration (qmail + dbmail + postgresql)
I found in the list one person to have a checkpassword work with qmail +
dbmail but the direction he's indicate it's down (
The stock qmail has no database interaction capability what so ever, none.
Luckily it's split up into a lot of small parts, so it's not hard to add on to.
I have seen a modified version qmail-smtpd that will access an LDAP database,
but that's not quite what you want either.
I've got a simple
Hey,
I came up with a working solution:
# define mysql maps
alias_maps = mysql:/etc/postfix/mysql/alias.cf
mynetworks = 127.0.0.1/8, mysql:/etc/postfix/mysql/pop_imap_before_smtp.cf
relocated_maps = mysql:/etc/postfix/mysql/relocated.cf
transport_maps = mysql:/etc/postfix/mysql/transport.cf
31 matches
Mail list logo