PDA

View Full Version : Requires Upgrade sending email via sendmail fails


diettalk
12-04-2008, 07:00 AM
I'm having a problem connecting to the smtp..

sendmail and dovecot on CentOS 4.7 ...

log file:
Dec 4 06:39:58 f sendmail[18199]: unable to open Berkeley db /etc/sasldb2: No such file or directory
Dec 4 06:39:58 f sendmail[18199]: unable to open Berkeley db /etc/sasldb2: No such file or directory
Dec 4 06:39:58 f sendmail[18199]: no secret in database


Why is it asking for berkeley db? Cyrus would use sasldb, wouldn't it?

Greg
12-04-2008, 07:45 AM
Are you set to localhost in settings? If so, I think you need the IP address of the email server. It's maybe different than your http server ip.

If the problem persists, open and edit eznl.php and set $ezdebug = 1 per the instriuctions about 10 lines down. Save it, upload it and test, you will get more info from the smtp server that way to figure it out. Once it is set and working, you can forget it.

diettalk
12-05-2008, 06:09 AM
I get this below... I've rechecked my password and all is fine but I'm pretty sure the issue lies in the calling of sasldb2. I could be wrong, it's early in the morning, but I not using cyrus, which should call sasldb.2 ... I'm using sendmail, procmail and dovecot. I do not even have sasl installed on my server (hence the issue since it can't find it :) ).

C EHLO localhost
S 250-c.ccc.com Hello ccc.ccc.com [xx.xxx.xxx.x], pleased to meet you
S 250-ENHANCEDSTATUSCODES
S 250-PIPELINING
S 250-8BITMIME
S 250-SIZE
S 250-DSN
S 250-ETRN
S 250-AUTH DIGEST-MD5 CRAM-MD5
S 250-DELIVERBY
S 250 HELP
C AUTH CRAM-MD5=
S 535 5.7.0 authentication failed

Anyone using centos (with sendmail, procmail and dovecot) and able to send out the newsletter?

Greg
12-05-2008, 11:45 AM
Pm me the settings you have in the control panel. Leave out the password though.

Greg
12-05-2008, 12:41 PM
I expected configuration issues and it dawned on me this may be one.

We have to put a conditional in the system for the sendmail server. I'll get right on making some options so you can connect properly.

Give me a little bit.

Greg
12-05-2008, 04:05 PM
I'm having a problem connecting to the smtp..

sendmail and dovecot on CentOS 4.7 ...

Why is it asking for berkeley db? Cyrus would use sasldb, wouldn't it?

The smtp class tried to negotiate and guessed. It could not guess right because the code for the sendmail class was not being used for the negotiation.

The email class we use has specific code for sendmail. I have added a couple of options to the settings page to pick SMTP (covers most servers) or Sendmail Servers (your type).

Depending on the setting, the appropriate server classes will be loaded transparently.

I'd like to make to so I can at least get to your ACP and see what happens with the new code. I won't post a release yet, but I will make the code available to you in advance.

The changes are small, select which class to load to send. So I don't expect to have to debug much more then verifying a connection is made and an email sent. It should just work of course. :)

Thanks

Greg
12-05-2008, 04:51 PM
Ok, this is tested and works. It apparently is an option for me too with exim. So perhaps for everyone. It appears to be how php mail() pipes mail to the mail server.

The benefit for everyone is try both if you can use both and see which yields better performance.

Zero Tolerance
12-10-2008, 04:42 PM
I see more and more people take the easy way out by just disabling the php mail function at the root level on servers(mostly shared).

So its a good thing you give your users both options. Sometimes people will frick with things over and over only to eventually realize that the php mail function is the problem all along.

People are getting lazy these days it seems.