DO NOT REPLY OFF-LIST from=<[email protected]> this is NOT a valid sender "local.domain" is not a valid domain at all you MUST NOT use fantasy domains/senders in te real world
if you want to use gmail you aev to use you gmail-address BTW: get rid of the crappy mail()-command http://code.google.com/a/apache-extras.org/p/phpmailer/downloads/list Am 18.07.2012 20:36, schrieb Ryan Bowman: > Maybe you can help me this way... I followed the tutorial here > http://www.zoneminder.com/wiki/index.php/How_to_install_and_configure_Postfix_as_a_Gmail_SMTP_relay_for_ZoneMinder_email_filter_events. > and it doesnt work. Here is my log: > > [root@V-5040 postfix]# tail -f /var/log/maillog > Jul 18 22:30:56 V-5040 postfix/pickup[4080]: AF9E73510002: uid=48 > from=<apache> > Jul 18 22:30:56 V-5040 postfix/cleanup[4085]: AF9E73510002: > message-id=<[email protected]> > Jul 18 22:30:56 V-5040 postfix/qmgr[4081]: AF9E73510002: > from=<[email protected]>, size=366, nrcpt=1 (queue > active) > Jul 18 22:30:56 V-5040 postfix/smtp[4087]: AF9E73510002: to=<[email protected]>, > relay=smtp.gmail.com[173.194.68.108]:587, delay=0.18, > delays=0.07/0/0.09/0.02, dsn=5.7.0, status=bounced (host > smtp.gmail.com[173.194.68.108] said: 530 5.7.0 Must issue a STARTTLS command > first. gy5sm155679qab.3 (in reply to > MAIL FROM command)) > Jul 18 22:30:56 V-5040 postfix/cleanup[4085]: D2BE9354000A: > message-id=<[email protected]> > Jul 18 22:30:56 V-5040 postfix/qmgr[4081]: D2BE9354000A: from=<>, size=2282, > nrcpt=1 (queue active) > Jul 18 22:30:56 V-5040 postfix/bounce[4089]: AF9E73510002: sender > non-delivery notification: D2BE9354000A > Jul 18 22:30:56 V-5040 postfix/qmgr[4081]: AF9E73510002: removed > Jul 18 22:30:56 V-5040 postfix/local[4090]: D2BE9354000A: > to=<[email protected]>, > orig_to=<[email protected]>, relay=local, delay=0.01, > delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered > to mailbox) > Jul 18 22:30:56 V-5040 postfix/qmgr[4081]: D2BE9354000A: removed > > > > -----Original Message----- > From: Reindl Harald <[email protected]> > To: postfix-users <[email protected]> > Sent: Wed, Jul 18, 2012 2:21 pm > Subject: Re: Configuring postfix to send emails from my gmail account? > > > > Am 18.07.2012 20:15, schrieb Ryan Bowman: >> I've spent over four hours looking for a solution to this issue, still with >> no > luck. I have an centos vps with >> apache and I'm trying to set up postfix so I can use the mail function in >> php. > I've tried countless tutorials such >> as this one http://charlesa.net/tutorials/centos/centosgmail.php but they > never work. Can someone point me in the >> right direction here? Is it possible that I messed up some configuration >> from > prior tutorials that isn't allowing >> it to work? I'd prefer if you could first guide me through what to do from > scratch and then we can go from there. >> I'll be happy to give you any logs that might help solve the issue. I'm a >> noob > at this kind of stuff so please bear >> with me. > > http://www.postfix.org/postconf.5.html > > look at the following params > > sender_dependent_relayhost_maps > smtp_sasl_password_maps > > smtp_sasl_auth_enable = yes > smtp_sender_dependent_authentication = yes > -- Reindl Harald the lounge interactive design GmbH A-1060 Vienna, Hofmühlgasse 17 CTO / CISO / Software-Development p: +43 (1) 595 3999 33, m: +43 (676) 40 221 40 icq: 154546673, http://www.thelounge.net/ http://www.thelounge.net/signature.asc.what.htm
signature.asc
Description: OpenPGP digital signature
