postfix error
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?
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!
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.
i now get the following error
Jul 31 11:05:20 trixbox1 postfix/qmgr[20752]: 37473F3885E: from=
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
Hello vrillusions
Thanks that instantly worked for me!
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
vrillusions,
Thank you! Your tip works perfectly for me!!
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
Mike -
what problems are you having???
J
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.
Worked perfect.
I struggled to get trixbox to relay through Exchange Server 2007 - I've got it working and I've written up the result at http://alasdaircs.spaces.live.com/blog/cns!DEC5E544601A7A3D!194.entry
Hopefully this will help someone.
thanks for doing the legwork. exchange is near the top of my list and your work should speed up my effort.
If you're using postfix, try the following to configure your SMTP client if you can't get it working any other way:
postconf -e 'relayhost = smtp.example.com' postconf -e 'smtp_sasl_auth_enable = yes' postconf -e 'smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd' postconf -e 'smtp_sasl_security_options =' echo "smtp.example.com someuser:howtoforge" > /etc/postfix/sasl_passwd chown root:root /etc/postfix/sasl_passwd chmod 600 /etc/postfix/sasl_passwd postmap /etc/postfix/sasl_passwd service postfix restart
This was taken from: http://www.howtoforge.com/postfix_relaying_through_another_mailse...
I've tested and used this method before, and it works great.
Thanks Vrillusions
I did it by rebuild the saslpasswd.db file, and all the voice mail can be forwarded to the user now!!
Many thanks

Member Since:
2007-06-19