postfix will not send test email
Posted: Wed Oct 05, 2011 1:24 am
Running Ubuntu 10.04 LTS with ZM 1.24.2
Checked the steps documented on "How to install and configure Postfix as a Gmail SMTP relay for ZoneMinder email filter events"
http://www.zoneminder.com/wiki/index.ph ... ter_events.
Since the installation procedure is different for Ubuntu in some points to CentOS
I followed the steps from this POST:http://www.zoneminder.com/forums/viewto ... it=postfix
which is very well documented. Thanks virtualgibe
All steps go exactly as documented but the test email: sendmail yourmail@gmail.com
the cursor goes down one line and just hangs.
mail.log
Oct 4 16:37:10 test2-desktop postfix/postmap[2591]: fatal: open database /etc/postfix/sasl_passwd.db: Permission denied
Oct 4 16:40:36 test2-desktop postfix/postfix-script[2696]: starting the Postfix mail system
Oct 4 16:40:36 test2-desktop postfix/master[2697]: daemon started -- version 2.7.0, configuration /etc/postfix
Oct 4 16:41:29 test2-desktop postfix/postfix-script[2706]: refreshing the Postfix mail system
Oct 4 16:41:29 test2-desktop postfix/master[2697]: reload -- version 2.7.0, configuration /etc/postfix
Oct 4 16:46:45 test2-desktop postfix/sendmail[2714]: fatal: root(0): error reading input: Input/output error
Oct 4 16:57:28 test2-desktop postfix/master[2697]: reload -- version 2.7.0, configuration /etc/postfix
Oct 4 19:41:53 test2-desktop postfix/master[2697]: reload -- version 2.7.0, configuration /etc/postfix
Oct 4 19:52:30 test2-desktop postfix/sendmail[3052]: fatal: root(0): error reading input: Input/output error
Oct 4 19:53:34 test2-desktop postfix/master[860]: daemon started -- version 2.7.0, configuration /etc/postfix
Oct 4 19:53:36 test2-desktop postfix/master[860]: reload -- version 2.7.0, configuration /etc/postfix
Oct 4 20:19:19 test2-desktop postfix/sendmail[1596]: fatal: root(0): error reading input: Input/output error
Oct 4 20:38:13 test2-desktop postfix/sendmail[1782]: fatal: root(0): error reading input: Input/output error
messages log:
Oct 4 16:46:45 test2-desktop postfix/sendmail[2714]: fatal: root(0): error reading input: Input/output error
Stopped ZM and repeated sendmail test but same error
I think I am getting the correct response from: postmap -q smtp.gmail,com:587 /etc/postfix/sasl_passwd
userID:password (for the gmail account)
Any help or ideas would be appreciated
Checked the steps documented on "How to install and configure Postfix as a Gmail SMTP relay for ZoneMinder email filter events"
http://www.zoneminder.com/wiki/index.ph ... ter_events.
Since the installation procedure is different for Ubuntu in some points to CentOS
I followed the steps from this POST:http://www.zoneminder.com/forums/viewto ... it=postfix
which is very well documented. Thanks virtualgibe
All steps go exactly as documented but the test email: sendmail yourmail@gmail.com
the cursor goes down one line and just hangs.
mail.log
Oct 4 16:37:10 test2-desktop postfix/postmap[2591]: fatal: open database /etc/postfix/sasl_passwd.db: Permission denied
Oct 4 16:40:36 test2-desktop postfix/postfix-script[2696]: starting the Postfix mail system
Oct 4 16:40:36 test2-desktop postfix/master[2697]: daemon started -- version 2.7.0, configuration /etc/postfix
Oct 4 16:41:29 test2-desktop postfix/postfix-script[2706]: refreshing the Postfix mail system
Oct 4 16:41:29 test2-desktop postfix/master[2697]: reload -- version 2.7.0, configuration /etc/postfix
Oct 4 16:46:45 test2-desktop postfix/sendmail[2714]: fatal: root(0): error reading input: Input/output error
Oct 4 16:57:28 test2-desktop postfix/master[2697]: reload -- version 2.7.0, configuration /etc/postfix
Oct 4 19:41:53 test2-desktop postfix/master[2697]: reload -- version 2.7.0, configuration /etc/postfix
Oct 4 19:52:30 test2-desktop postfix/sendmail[3052]: fatal: root(0): error reading input: Input/output error
Oct 4 19:53:34 test2-desktop postfix/master[860]: daemon started -- version 2.7.0, configuration /etc/postfix
Oct 4 19:53:36 test2-desktop postfix/master[860]: reload -- version 2.7.0, configuration /etc/postfix
Oct 4 20:19:19 test2-desktop postfix/sendmail[1596]: fatal: root(0): error reading input: Input/output error
Oct 4 20:38:13 test2-desktop postfix/sendmail[1782]: fatal: root(0): error reading input: Input/output error
messages log:
Oct 4 16:46:45 test2-desktop postfix/sendmail[2714]: fatal: root(0): error reading input: Input/output error
Stopped ZM and repeated sendmail test but same error
I think I am getting the correct response from: postmap -q smtp.gmail,com:587 /etc/postfix/sasl_passwd
userID:password (for the gmail account)
Any help or ideas would be appreciated