postfix will not send test email

Forum for questions and support relating to the 1.24.x releases only.
Locked
camsystem
Posts: 32
Joined: Fri Aug 12, 2011 8:35 pm

postfix will not send test email

Post by camsystem »

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
camsystem
Posts: 32
Joined: Fri Aug 12, 2011 8:35 pm

Re: postfix will not send test email

Post by camsystem »

Corrected the main.cf file with the correct path for
smtp_tls_CAfile =

No longer get any error in the mail.log file. However sendmail is still not working. The cursor just moves down one line and hangs on the left blinking. No email gets received.

I am stumped. Any ideas??????????????
camsystem
Posts: 32
Joined: Fri Aug 12, 2011 8:35 pm

Re: postfix will not send test email

Post by camsystem »

Tried using my ISP SMTP server which did not work either. Turns out my ISP is using SSL Could that be the problem? I checked my modem log with ISP and it appears that something is going out but is probably being ignored.

Any ideas out there?
Locked