

Email verification problem
Hi,
is your send mail configured properly? check you maillog for more information.
Hi.
I have problem with email verification, I don't accept emails from verification. Dunno where im wrong, here is my log and configuration.
################################################################################
# Mail sender (SMTP/SMTPS) configuration #
################################################################################
vmops.mail.protocol=smtp
vmops.mail.host=localhost
vmops.mail.port=25
vmops.mail.username=root
vmops.mail.password=xxxxx
[2013-04-18 09:42:35.049] INFO http-bio-8080-exec-33 System.out [Thu Apr 18 09:42:35 UTC 2013] [Info] CsrfGuard analyzing request /portal/portal/users/98bf2689-6ef4-4f1c-b803-e6d90ae45c03/resendverification
[2013-04-18 09:42:35.055] INFO http-bio-8080-exec-33 com.vmops.web.interceptors.UserContextInterceptor Before handling the request
[2013-04-18 09:42:35.204] INFO http-bio-8080-exec-33 System.out GRANTED due to ACE: AccessControlEntryImpl[id: 344; granting: true; sid: PrincipalSid[root]; permission: BasePermission[...............................R=1]; auditSuccess: true; auditFailure: true]
[2013-04-18 09:42:35.204] DEBUG http-bio-8080-exec-33 com.vmops.security.CustomAclPermissionEvaluator Access is granted
[2013-04-18 09:42:35.232] DEBUG http-bio-8080-exec-33 com.vmops.security.CustomAclPermissionEvaluator Access is granted
[2013-04-18 09:42:35.234] DEBUG http-bio-8080-exec-33 com.vmops.service.impl.UserServiceImpl ###Entering in resendVerificationEmail method.
[2013-04-18 09:42:35.234] DEBUG http-bio-8080-exec-33 com.vmops.service.impl.UserServiceImpl ###Resending verification email to user martins1
2013-04-18 09:42:35.235] INFO http-bio-8080-exec-33 com.vmops.event.listeners.EventListenerJmsProducer Queued event com.vmops.event.VerifyEmailRequest source = User [Email=benijs999@gmail.com, firstName=martins, lastName=xxxxxx, username=martins1
[2013-04-18 09:42:35.235] DEBUG http-bio-8080-exec-33 com.vmops.internal.service.impl.EventServiceImpl ###### In createEvent
[2013-04-18 09:42:35.236] DEBUG http-bio-8080-exec-33 com.vmops.internal.service.impl.EventServiceImpl ###### Out createEvent
[2013-04-18 09:42:35.237] DEBUG http-bio-8080-exec-33 com.vmops.service.impl.UserServiceImpl ###Exiting resendVerificationEmail method.
[2013-04-18 09:42:35.258] INFO http-bio-8080-exec-33 System.out GRANTED due to ACE: AccessControlEntryImpl[id: 344; granting: true; sid: PrincipalSid[root]; permission: BasePermission[...............................R=1]; auditSuccess: true; auditFailure: true]
[2013-04-18 09:42:35.258] DEBUG http-bio-8080-exec-33 com.vmops.security.CustomAclPermissionEvaluator Access is granted
[2013-04-18 09:42:35.275] INFO http-bio-8080-exec-33 com.vmops.web.listeners.RequestHandledListener Request handled: success... flushing events generated , UserName: root
2013-04-18 09:42:35.275] INFO http-bio-8080-exec-33 com.vmops.event.listeners.EventListenerJmsProducer Sending event com.vmops.event.VerifyEmailRequest source = User [Email=benijs999@gmail.com, firstName=martins, lastName=xxxxxx, username=martins1
Hi,
is your send mail configured properly? check you maillog for more information.
Thx for answer.
But there is not problem in sendmail, i can send email from comand line and there is everything fine, but when i send verification from cloud portal, then even in maillog doesn't show any records.
Hi Adorid,
Can you confirm if JMS listener is listening on port 9125?
If no, then this issue has been reported by others also.
To rectify this, please try commenting out line "log-bin=mysql-bin" in file "/etc/my.cnf", and restart the mySQL server and CPBM server.
Thanks,
Manish
Hi Manish,
Looks like there is problem with JMS listener.
[root@cloud ~]# nmap -sT -O localhost
Starting Nmap 5.51 ( http://nmap.org ) at 2013-04-18 13:41 UTC
Nmap scan report for localhost (127.0.0.1)
Host is up (0.000027s latency).
rDNS record for 127.0.0.1: cloud.portal.lv
Not shown: 990 closed ports
PORT STATE SERVICE
22/tcp open ssh
25/tcp open smtp
80/tcp open http
111/tcp open rpcbind
443/tcp open https
631/tcp open ipp
3306/tcp open mysql
8009/tcp open ajp13
8080/tcp open http-proxy
8443/tcp open https-alt
About mysql configuration, there is everythink ok, i did everything like in installation guide.
Hi Adorid,
It looks like the same issue.
We have an installation step to move my-huge.cnf to /etc/my.cnf. But this file has one property"log-bin=mysql-bin" which sometimes causes the JMS listener to fail to start.
To rectify this, please try commenting out line "log-bin=mysql-bin" in file "/etc/my.cnf", and restart the mySQL server and CPBM server.
Thanks,
Manish
Hi Manish
Thanks, when i commented out "log-bin=mysql-bin", its resolved problem with emails)
Ask, Discuss, Answer