ftocc

postfix error

bksales
Posts: 61
Member Since:
2007-06-19

the voice mail to email function generates emails but they do not get sent. i pulled the log file and see the following:

Jul 31 08:16:49 trixbox1 postfix/smtp[19308]: fatal: open database /etc/postfix/saslpasswd.db: No such file or directory
Jul 31 08:16:50 trixbox1 postfix/master[2101]: warning: process /usr/libexec/postfix/smtp pid 19308 exit status 1
Jul 31 08:16:50 trixbox1 postfix/master[2101]: warning: /usr/libexec/postfix/smtp: bad command startup -- throttling
Jul 31 08:17:50 trixbox1 postfix/smtp[19450]: fatal: open database /etc/postfix/saslpasswd.db: No such file or directory
Jul 31 08:17:51 trixbox1 postfix/master[2101]: warning: process /usr/libexec/postfix/smtp pid 19450 exit status 1
Jul 31 08:17:51 trixbox1 postfix/master[2101]: warning: /usr/libexec/postfix/smtp: bad command startup -- throttling
Jul 31 08:18:51 trixbox1 postfix/smtp[19461]: fatal: open database /etc/postfix/saslpasswd.db: No such file or directory
Jul 31 08:18:52 trixbox1 postfix/master[2101]: warning: process /usr/libexec/postfix/smtp pid 19461 exit status 1
Jul 31 08:18:52 trixbox1 postfix/master[2101]: warning: /usr/libexec/postfix/smtp: bad command startup -- throttling
Jul 31 08:19:52 trixbox1 postfix/smtp[19796]: fatal: open database /etc/postfix/saslpasswd.db: No such file or directory
Jul 31 08:19:53 trixbox1 postfix/master[2101]: warning: process /usr/libexec/postfix/smtp pid 19796 exit status 1
Jul 31 08:19:53 trixbox1 postfix/master[2101]: warning: /usr/libexec/postfix/smtp: bad command startup -- throttling

it appears to be attempting to access the saslpasswd database which does not exist. there is a file called saslpasswd that contains the outgoing smtp server name, user id and password, but i can find to .db

any suggestions?



wcg
Posts: 114
Member Since:
2008-03-12
- no password / username on SMTP server -

I had same - try this:

Setup email for outbound (1) Postfix

Edit /etc/postfix/main.cf

# commented out line below as no password required for internal mail
#smtp_sasl_password_maps = hash:/etc/postfix/saslpasswd
#also changed following lines:
#broken_sasl_auth_clients = yes
#smtpd_sasl_auth_enable = no
#smtp_always_send_ehlo = yes
#smtp_sasl_auth_enable = yes
#smtp_sasl_security_options =
broken_sasl_auth_clients = no
smtpd_sasl_auth_enable = no
smtp_always_send_ehlo = yes
smtp_sasl_auth_enable = no
smtp_sasl_security_options =
relayhost = (your smtp server)
myhostname = your.trixbox.oublic.hostname

when done can issue '/etc/init.d/postfix restart' to restart mail queue and deliver!



vrillusions
Posts: 9
Member Since:
2007-07-16
Have to generate .db file

I came across this as well. The above option does work if you don't need to authenticate. For those that need to authenticate it's much easier but still requires some terminal stuff.

Go to the trixbox admin then choose Settings > General Settings. Enter all the mail information there. After it saves go into console and type the following:

postmap /etc/postfix/saslpasswd

This will build the /etc/postfix/saslpasswd.db file that postfix needs. you can then do /etc/init.d/postfix restart as mentioned above to restart postfix which will trigger it trying to send all messages in it's queue.



bksales
Posts: 61
Member Since:
2007-06-19
is it now attempting to send

i now get the following error

Jul 31 11:05:20 trixbox1 postfix/qmgr[20752]: 37473F3885E: from=, size=21050, nrcpt=1 (queue active)
Jul 31 11:05:21 trixbox1 postfix/qmgr[20752]: warning: premature end-of-input on private/smtp socket while reading input attribute name
Jul 31 11:05:21 trixbox1 postfix/qmgr[20752]: warning: private/smtp socket: malformed response
Jul 31 11:05:21 trixbox1 postfix/qmgr[20752]: warning: transport smtp failure -- see a previous warning/fatal/panic logfile record for the problem description
Jul 31 11:05:21 trixbox1 postfix/master[20750]: warning: process /usr/libexec/postfix/smtp pid 20969 exit status 1
Jul 31 11:05:21 trixbox1 postfix/master[20750]: warning: /usr/libexec/postfix/smtp: bad command startup -- throttling



kissm
Posts: 1
Member Since:
2007-01-31
Works great

Hello vrillusions

Thanks that instantly worked for me!



bksales
Posts: 61
Member Since:
2007-06-19
i got it to work - thanks for all the help

here is what i did

in trixbox Settings_>general settings - add the mail server and in our case we need to add the port - i.e mail.xxxx.com:587

then run postmap /etc/postfix/saslpasswd

not hard as long as you get the settings in trixbox General settings correct. just remember if you change something in the general settings you have to rerun postmap



rmgomes
Posts: 1
Member Since:
2008-09-25
Thank you!

vrillusions,

Thank you! Your tip works perfectly for me!!



mholmes
Posts: 5
Member Since:
2008-08-26
still cannot get the postfix to work at all

I still cannot get the postfix to email at all. Here are a couple of files:
[trixbox1.xxxxxxx.com ~]# nano -w /etc/postfix/main.cf
GNU nano 1.3.12 File: /etc/postfix/main.cf

#smtp_sasl_password_maps = hash:/etc/postfix/saslpasswd
#broken_sasl_auth_clients = yes
#smtpd_sasl_auth_enable = no
#smtp_always_send_ehlo = yes
#smtp_sasl_auth_enable = yes

#smtp_sasl_password_maps = hash:/etc/postfix/saslpasswd
broken_sasl_auth_clients = yes
smtpd_sasl_auth_enable = no
smtp_always_send_ehlo = yes
smtp_sasl_auth_enable = yes
smtp_sasl_security_options =
delay_warning_time = 1
relayhost = mail.xxxxx.com:587
myorigin = trixbox1.xxxxxxx.com
debug_peer_level = 2
smtp_sasl_password_maps = hash:/etc/postfix/saslpasswd

^G Get Help ^O WriteOut ^R Read File ^Y Prev Page ^K Cut Text ^C Cur Pos
^X Exit ^J Justify ^W Where Is ^V Next Page ^U UnCut Text ^T To Spell

I have tried all I can think of.

Mike



wcg
Posts: 114
Member Since:
2008-03-12
what is it doing?

Mike -

what problems are you having???

J



daman
Posts: 24
Member Since:
2006-06-02
bksales Solution Worked and Also....

bksales Solution worked for me. Thanks.

Also, do not set your FQDN to the same domain as your email address. Example: if you are trying to send voicemail to your email address of bob@mac.com, do not set your FQDN to mac.com.



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.