XF 1.5 Activation e-mails not being sent out

Xarwin

Member
Hi everyone,

I've been setting up my Xenforo board with the SMTP from google.
For some reason I can send out e-mails to all users (they get in their inbox) but when it comes to activation e-mail they are not receiving it. I know that there are other threads around here but so far, none helped me out.

Since I can send out e-mails through xenforo, I'd say that the configuration is fine?
Could someone point me out to what could be possibly wrong?

I use my own VPS with Centos.

Thanks in advance.
 
If other emails are being sent and received then that confirms the configuration is fine.

Do you see any entries in the ACP error log for these emails?

Do you see the emails in the log on the server?
 
There are no errors in the ACP error log.
In the mail log however..

Mar 6 09:07:39 wyrmgnosis postfix/qmgr[1150]: E045F41FBF: from=<apache@wyrmgnosis.com>, size=889, nrcpt=1 (queue active)
Mar 6 09:08:09 wyrmgnosis postfix/smtp[22634]: connect to canallow.com[204.11.56.48]:25: Connection timed out
Mar 6 09:08:09 wyrmgnosis postfix/smtp[22634]: E045F41FBF: to=<ol@canallow.com>, relay=none, delay=75969, delays=75938/0.06/30/0, dsn=4.4.1, status=deferred (connect to canallow.com[204.11.56.48]:25: Connection timed out)

It says apache@wyrmgnosis.com while I'm using noreply@wyrmgnosis.com. Can this be the issue? That the server itself requires a configuration?
 
No, that's just a standard out of the box way that Postfix works. You can enable the "-f" parameter option in XF's mail options which may prevent that.

In the example given, it's an issue connecting to the external server (from Postfix, not XF). That's either an issue with that server or a firewall/network issue on your server's end.
 
So what exactly could be the cause?
I've been messing a bit with my settings, and sometimes the e-mail for activation got through --> after rebooting Postfix most of the times.
The "f-" parameter is only if things are set by default, I changed it to SMTP. Sending out by default does not work.
I've allowed the port used in the firewall as well. I really don't understand the problem.

It's a bit frustrating to see how I actually can send out e-mails but that the activation e-mails are not working.

I got new errors through testing:
Mar 6 11:53:46 wyrmgnosis postfix/smtpd[3333]: connect from localhost[127.0.0.1]
Mar 6 11:53:46 wyrmgnosis postfix/smtpd[3333]: 042BD4209F: client=localhost[127.0.0.1]
Mar 6 11:53:46 wyrmgnosis postfix/cleanup[3336]: 042BD4209F: message-id=<9ba06f5ea36bca794d7c8a10f6e2a1b4a23487c4@wyrmgnosis.com>
Mar 6 11:53:46 wyrmgnosis postfix/qmgr[3170]: 042BD4209F: from=<noreply@wyrmgnosis.com>, size=4380, nrcpt=1 (queue active)
Mar 6 11:53:46 wyrmgnosis sendmail[3348]: u26GrjtS003348: to=xartest <emailname@telenet.be>, delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=33949, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as 042BD4209F)
Mar 6 11:53:46 wyrmgnosis postfix/error[3339]: 042BD4209F: to=<emailname@telenet.be>, relay=none, delay=0.06, delays=0.05/0/0/0.01, dsn=4.3.0, status=deferred (unknown mail transport error)
Mar 6 11:53:46 wyrmgnosis postfix/smtpd[3333]: disconnect from localhost[127.0.0.1]

More errors which I'm breaking my head over (sorry, not that advanced with the mailing stuff):
Mar 6 12:11:10 wyrmgnosis postfix/qmgr[3770]: 8D1874209D: from=<noreply@wyrmgnosis.com>, size=4380, nrcpt=1 (queue active)
Mar 6 12:11:10 wyrmgnosis postfix/qmgr[3770]: 042BD4209F: from=<noreply@wyrmgnosis.com>, size=4380, nrcpt=1 (queue active)
Mar 6 12:11:10 wyrmgnosis postfix/qmgr[3770]: 9FA3F4209E: from=<noreply@wyrmgnosis.com>, size=4380, nrcpt=1 (queue active)
Mar 6 12:11:10 wyrmgnosis postfix/smtp[4165]: connect to smtp.gmail.com[2a00:1450:4013:c01::6c]:587: Network is unreachable
Mar 6 12:11:10 wyrmgnosis postfix/smtp[4165]: warning: unknown SASL security options value "noanonymoussmtpd_recipient_restrictions" in "noanonymoussmtpd_recipient_restrictions = permit_mynetworks reject_unauth_destination"
Mar 6 12:11:10 wyrmgnosis postfix/smtp[4165]: warning: bad per-session SASL security properties
Mar 6 12:11:10 wyrmgnosis postfix/smtp[4165]: fatal: SASL per-connection initialization failed
Mar 6 12:11:10 wyrmgnosis postfix/smtp[4166]: connect to smtp.gmail.com[2a00:1450:4013:c01::6d]:587: Network is unreachable
Mar 6 12:11:10 wyrmgnosis postfix/smtp[4166]: warning: unknown SASL security options value "noanonymoussmtpd_recipient_restrictions" in "noanonymoussmtpd_recipient_restrictions = permit_mynetworks reject_unauth_destination"
Mar 6 12:11:10 wyrmgnosis postfix/smtp[4166]: warning: bad per-session SASL security properties
Mar 6 12:11:10 wyrmgnosis postfix/smtp[4166]: fatal: SASL per-connection initialization failed
Mar 6 12:11:11 wyrmgnosis postfix/smtp[4167]: connect to smtp.gmail.com[2a00:1450:4013:c01::6c]:587: Network is unreachable
Mar 6 12:11:11 wyrmgnosis postfix/smtp[4167]: warning: unknown SASL security options value "noanonymoussmtpd_recipient_restrictions" in "noanonymoussmtpd_recipient_restrictions = permit_mynetworks reject_unauth_destination"
Mar 6 12:11:11 wyrmgnosis postfix/smtp[4167]: warning: bad per-session SASL security properties
Mar 6 12:11:11 wyrmgnosis postfix/smtp[4167]: fatal: SASL per-connection initialization failed
Mar 6 12:11:11 wyrmgnosis postfix/qmgr[3770]: warning: private/smtp socket: malformed response
Mar 6 12:11:11 wyrmgnosis postfix/qmgr[3770]: warning: transport smtp failure -- see a previous warning/fatal/panic logfile record for the problem description
Mar 6 12:11:11 wyrmgnosis postfix/master[3768]: warning: process /usr/libexec/postfix/smtp pid 4165 exit status 1
Mar 6 12:11:11 wyrmgnosis postfix/master[3768]: warning: /usr/libexec/postfix/smtp: bad command startup -- throttling
Mar 6 12:11:11 wyrmgnosis postfix/error[4168]: 8D1874209D: to=<emailname@telenet.be>, relay=none, delay=1088, delays=1087/1.2/0/0.02, dsn=4.3.0, status=deferred (unknown mail transport error)
Mar 6 12:11:12 wyrmgnosis postfix/master[3768]: warning: process /usr/libexec/postfix/smtp pid 4166 exit status 1
Mar 6 12:11:12 wyrmgnosis postfix/qmgr[3770]: warning: private/smtp socket: malformed response
Mar 6 12:11:12 wyrmgnosis postfix/qmgr[3770]: warning: transport smtp failure -- see a previous warning/fatal/panic logfile record for the problem description
Mar 6 12:11:12 wyrmgnosis postfix/error[4168]: 042BD4209F: to=<emailname@telenet.be>, relay=none, delay=1046, delays=1045/1.3/0/0, dsn=4.3.0, status=deferred (unknown mail transport error)
Mar 6 12:11:12 wyrmgnosis postfix/qmgr[3770]: warning: private/smtp socket: malformed response
Mar 6 12:11:12 wyrmgnosis postfix/qmgr[3770]: warning: transport smtp failure -- see a previous warning/fatal/panic logfile record for the problem description
Mar 6 12:11:12 wyrmgnosis postfix/master[3768]: warning: process /usr/libexec/postfix/smtp pid 4167 exit status 1
Mar 6 12:11:12 wyrmgnosis postfix/error[4168]: 9FA3F4209E: to=<emailname@telenet.be>, relay=none, delay=1069, delays=1068/1.4/0/0.01, dsn=4.3.0, status=deferred (unknown mail transport error)

Hopefully you could tell me what is wrong and how I could fix this issue.
Many thanks in advance.
 
Last edited:
These look like configuration issues within Postfix or networking issues ("network is unreachable"). You can really simplify your testing if you use the "default" PHP method to send mail, as it appears some of your issues may be down to you connecting to Postfix with a separate SMTP connection. Assuming this is all on the same server, you're not really getting any benefits by doing that (only disadvantages really).
 
Back
Top Bottom