Did not receive an email after filling my contact form in my website for example and my virtualmin server

Hello everyone,

I am new here in this forum. I am having a problem about why i did not receive email from my website after filling contact form and my virtualmin server as well. Before i explained further, i give you a clue about my problem which should be that someone help my problem. My clue problem is:

  • I used a CentOS 64-bit as my vps

  • I used a Google Apps for email, so my MX record are already changed after setup

  • I used a yum repository from IUS Community, especially for PHP and MySQL as well

  • I have 2 dedicated ip (199.195.2XX.XXX and 199.195.3XX.XXX as example) from hosting provider

  • I use a CMS website (which is WordPress) as filling a contact form whether i received or not

Well, to the point. After i setup a Virtualmin with ip 199.195.2XX.XXX, i click “Create Virtual Server” for adding my domain name. While i am creating virtual server and in section “IP address and forwarding”, i add my dedicated ip 199.195.3XX.XXX in “Virtual with IP”

After that, i setup a DNS record for changing my MX records for Google Apps as email.

Now, when i am trying filling my contact form from my website and finished, i did not received to my email account right now.

And also, about backup in Virtualmin. After i click “Scheduled Backups”, then click “Add a new backup schedule”. While i setting my schedule backup and in section “Schedule and reporting”, i am filling my email address in “Email backup report to” and tick “Also send email to owners of backed-up servers”. And also choose “Simple schedule : Daily (at midnight)” in “Scheduled backup time”. Then click “Create Schedule” and finished. After waiting 24 hours, i did not received email backup file from my server.

Well, that’s my problem. So, what should i do for solving this problem? Is this a problem about PHP or something? Should i try modify “Server Templates”? I already tweak setting something else but it did not solve my problem. So, i need a hint please. I appreciated it if someone can help me about this problem. I will wait reply from you.

And by the way, sorry if i put word “Google Apps” and “Wordpress” that is not related in this forum.

Thank you.

Sorry, i was editing my post thread. That’s all.

Howdy,

It sounds like you’re saying you aren’t receiving emails that are being generated on your server.

One thing you’d want to verify is that in Edit Virtual Server -> Enabled Features, the “Mail for Domain” feature would need to be disabled, since your email is being hosted elsewhere.

If you still have problems after that, take a peek in your email logs, located in /var/log/maillog, as those may offer some clues as to what’s going on.

-Eric

Thanks for reply @andreychek. I followed your instruction for disabled feature “Mail for Domain” , but still not working. So, i decide to check log in /var/log/maillog as you said. It seems that problem is about postfix i think. So, what am i gonna do about this postfix? Maybe that is effected about software CSF (ConfigSecurity and Firewall) i think?

Dec 23 04:22:17 linuxceon postfix/pickup[30577]: 12A2335D2BEF: uid=0 from= Dec 23 04:22:17 linuxceon postfix/cleanup[3469]: 12A2335D2BEF: message-id=<20121223012217.12A2335D2BEF@linuxceon.com> Dec 23 04:22:17 linuxceon postfix/qmgr[3703]: 12A2335D2BEF: from=, size=557, nrcpt=1 (queue active) Dec 23 04:22:17 linuxceon postfix/pickup[30577]: 1457535D2BF9: uid=0 from= Dec 23 04:22:17 linuxceon postfix/cleanup[3469]: 1457535D2BF9: message-id=<20121223012217.1457535D2BF9@linuxceon.com> Dec 23 04:22:17 linuxceon postfix/qmgr[3703]: 1457535D2BF9: from=, size=557, nrcpt=1 (queue active) Dec 23 04:22:17 linuxceon postfix/smtp[3473]: connect to com.com[64.30.224.118]:25: Connection refused Dec 23 04:22:17 linuxceon postfix/smtp[3473]: 12A2335D2BEF: to=, orig_to=, relay=none, delay=0.15, delays=0.01/0/0.13/0, dsn=4.4.1, status=deferred (connect to com.com[64.30.224.118]:25: Connection refused) Dec 23 04:22:17 linuxceon postfix/smtp[3474]: connect to com.com[64.30.224.118]:25: Connection refused Dec 23 04:22:17 linuxceon postfix/smtp[3474]: 1457535D2BF9: to=, orig_to=, relay=none, delay=0.15, delays=0/0.01/0.14/0, dsn=4.4.1, status=deferred (connect to com.com[64.30.224.118]:25: Connection refused) Dec 23 04:23:17 linuxceon postfix/pickup[30577]: 18D0D35D3B8E: uid=0 from= Dec 23 04:23:17 linuxceon postfix/cleanup[3469]: 18D0D35D3B8E: message-id=<20121223012317.18D0D35D3B8E@linuxceon.com> Dec 23 04:23:17 linuxceon postfix/qmgr[3703]: 18D0D35D3B8E: from=, size=557, nrcpt=1 (queue active) Dec 23 04:23:17 linuxceon postfix/pickup[30577]: 1BE2B35D3B91: uid=0 from= Dec 23 04:23:17 linuxceon postfix/cleanup[3469]: 1BE2B35D3B91: message-id=<20121223012317.1BE2B35D3B91@linuxceon.com> Dec 23 04:23:17 linuxceon postfix/qmgr[3703]: 1BE2B35D3B91: from=, size=557, nrcpt=1 (queue active) Dec 23 04:23:17 linuxceon postfix/smtp[3473]: connect to com.com[64.30.224.118]:25: Connection refused Dec 23 04:23:17 linuxceon postfix/smtp[3473]: 18D0D35D3B8E: to=, orig_to=, relay=none, delay=0.14, delays=0.01/0/0.13/0, dsn=4.4.1, status=deferred (connect to com.com[64.30.224.118]:25: Connection refused) Dec 23 04:23:17 linuxceon postfix/smtp[3474]: connect to com.com[64.30.224.118]:25: Connection refused Dec 23 04:23:17 linuxceon postfix/smtp[3474]: 1BE2B35D3B91: to=, orig_to=, relay=none, delay=0.13, delays=0.01/0/0.13/0, dsn=4.4.1, status=deferred (connect to com.com[64.30.224.118]:25: Connection refused) Dec 23 04:23:40 linuxceon postfix/qmgr[3703]: 3F19A35D2908: from=<>, size=2208, nrcpt=1 (queue active) Dec 23 04:23:40 linuxceon postfix/qmgr[3703]: 3681535D33BB: from=, size=557, nrcpt=1 (queue active) Dec 23 04:23:40 linuxceon postfix/qmgr[3703]: 3201835D33A7: from=<>, size=2444, nrcpt=1 (queue active) Dec 23 04:23:40 linuxceon postfix/qmgr[3703]: 3037735D3693: from=<>, size=2446, nrcpt=1 (queue active) Dec 23 04:23:40 linuxceon postfix/qmgr[3703]: 3763C35D3F84: from=, size=9019, nrcpt=1 (queue active) Dec 23 04:23:40 linuxceon postfix/qmgr[3703]: 3DCC835D33BD: from=, size=557, nrcpt=1 (queue active) Dec 23 04:23:40 linuxceon postfix/qmgr[3703]: 3D69C35D2D55: from=<>, size=2428, nrcpt=1 (queue active) Dec 23 04:23:40 linuxceon postfix/qmgr[3703]: 3A5EF35D33BC: from=, size=559, nrcpt=1 (queue active) Dec 23 04:23:40 linuxceon postfix/qmgr[3703]: 3173C35D3417: from=, size=559, nrcpt=1 (queue active) Dec 23 04:23:40 linuxceon postfix/qmgr[3703]: 3362D35D33B9: from=, size=557, nrcpt=1 (queue active) Dec 23 04:23:40 linuxceon postfix/qmgr[3703]: 573FC35D1A14: from=<>, size=2426, nrcpt=1 (queue active) Dec 23 04:23:40 linuxceon postfix/qmgr[3703]: 5B3A035D1B37: from=<>, size=2431, nrcpt=1 (queue active) Dec 23 04:23:40 linuxceon postfix/smtp[3473]: 3F19A35D2908: to=, relay=none, delay=282000, delays=282000/0/0.13/0, dsn=4.4.1, status=deferred (connect to com.com[64.30.224.118]:25: Connection refused) Dec 23 04:23:40 linuxceon postfix/smtp[3474]: 3681535D33BB: to=, orig_to=, relay=none, delay=21499, delays=21499/0/0.14/0, dsn=4.4.1, status=deferred (connect to com.com[64.30.224.118]:25: Connection refused) Dec 23 04:23:40 linuxceon postfix/smtp[3776]: 3201835D33A7: to=, relay=none, delay=315599, delays=315599/0/0.13/0, dsn=4.4.1, status=deferred (connect to com.com[64.30.224.118]:25: Connection refused) Dec 23 04:23:40 linuxceon postfix/smtp[3778]: connect to com.com[64.30.224.118]:25: Connection refused Dec 23 04:23:40 linuxceon postfix/smtp[3778]: 3763C35D3F84: to=, orig_to=, relay=none, delay=46542, delays=46542/0.01/0.13/0, dsn=4.4.1, status=deferred (connect to com.com[64.30.224.118]:25: Connection refused) Dec 23 04:23:40 linuxceon postfix/error[3781]: 3DCC835D33BD: to=, orig_to=, relay=none, delay=21499, delays=21499/0.14/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to com.com[64.30.224.118]:25: Connection refused) Dec 23 04:23:40 linuxceon postfix/error[3781]: 3D69C35D2D55: to=, relay=none, delay=282000, delays=282000/0.14/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to com.com[64.30.224.118]:25: Connection refused) Dec 23 04:23:40 linuxceon postfix/error[3782]: 3A5EF35D33BC: to=, orig_to=, relay=none, delay=21499, delays=21499/0.14/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to com.com[64.30.224.118]:25: Connection refused) Dec 23 04:23:40 linuxceon postfix/error[3782]: 3362D35D33B9: to=, orig_to=, relay=none, delay=21499, delays=21499/0.15/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to com.com[64.30.224.118]:25: Connection refused) Dec 23 04:23:40 linuxceon postfix/error[3781]: 3173C35D3417: to=, orig_to=, relay=none, delay=33929, delays=33929/0.15/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to com.com[64.30.224.118]:25: Connection refused) Dec 23 04:23:40 linuxceon postfix/error[3783]: 573FC35D1A14: to=, relay=none, delay=300, delays=300/0.15/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to com.com[64.30.224.118]:25: Connection refused) Dec 23 04:23:40 linuxceon postfix/error[3782]: 5B3A035D1B37: to=, relay=none, delay=300, delays=300/0.15/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to com.com[64.30.224.118]:25: Connection refused) Dec 23 04:23:40 linuxceon postfix/error[3781]: 5520735D1956: to=, relay=none, delay=300, delays=300/0.15/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to com.com[64.30.224.118]:25: Connection refused) Dec 23 04:23:40 linuxceon postfix/error[3783]: 51B7E35D179E: to=, relay=none, delay=147900, delays=147900/0.15/0/0.01, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to com.com[64.30.224.118]:25: Connection refused) Dec 23 04:23:40 linuxceon postfix/smtp[3777]: connect to com.com[64.30.224.118]:25: Connection refused Dec 23 04:23:40 linuxceon postfix/error[3782]: 565E035D2E6F: to=, relay=none, delay=169200, delays=169200/0.15/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to com.com[64.30.224.118]:25: Connection refused) Dec 23 04:23:40 linuxceon postfix/error[3785]: 5DB7D35D28BB: to=, relay=none, delay=338700, delays=338700/0.15/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to com.com[64.30.224.118]:25: Connection refused) Dec 23 04:23:40 linuxceon postfix/error[3784]: 533BA35D17B3: to=, relay=none, delay=147900, delays=147900/0.15/0/0.01, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to com.com[64.30.224.118]:25: Connection refused) Dec 23 04:23:40 linuxceon postfix/error[3782]: 506B435D180E: to=, relay=none, delay=300, delays=300/0.15/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to com.com[64.30.224.118]:25: Connection refused) Dec 23 04:23:40 linuxceon postfix/smtp[3777]: 3037735D3693: to=, relay=none, delay=202199, delays=202199/0.01/0.15/0, dsn=4.4.1, status=deferred (connect to com.com[64.30.224.118]:25: Connection refused) Dec 23 04:23:40 linuxceon postfix/error[3783]: 59AF335D26EB: to=, relay=none, delay=338700, delays=338700/0.15/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to com.com[64.30.224.118]:25: Connection refused) Dec 23 04:23:40 linuxceon postfix/error[3781]: 52E5135D163D: to=, relay=none, delay=300, delays=300/0.15/0/0.01, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to com.com[64.30.224.118]:25: Connection refused) Dec 23 04:25:17 linuxceon postfix/pickup[30577]: 8A61135D3BB1: uid=0 from= Dec 23 04:25:17 linuxceon postfix/cleanup[3921]: 8A61135D3BB1: message-id=<20121223012517.8A61135D3BB1@linuxceon.com> Dec 23 04:25:17 linuxceon postfix/qmgr[3703]: 8A61135D3BB1: from=, size=559, nrcpt=1 (queue active) Dec 23 04:25:17 linuxceon postfix/error[3795]: 8A61135D3BB1: to=, orig_to=, relay=none, delay=0.01, delays=0.01/0/0/0, dsn=4.4.1, status=d eferred (delivery temporarily suspended: connect to com.com[64.30.224.118]:25: Connection refused) Dec 23 04:25:17 linuxceon postfix/pickup[30577]: 8D1DB35D3BC2: uid=0 from= Dec 23 04:25:17 linuxceon postfix/cleanup[3921]: 8D1DB35D3BC2: message-id=<20121223012517.8D1DB35D3BC2@linuxceon.com> Dec 23 04:25:17 linuxceon postfix/qmgr[3703]: 8D1DB35D3BC2: from=, size=557, nrcpt=1 (queue active) Dec 23 04:25:17 linuxceon postfix/error[3799]: 8D1DB35D3BC2: to=, orig_to=, relay=none, delay=0, delays=0/0/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to com.com[64.30.224.118]:25: Connection refused) Dec 23 04:27:29 linuxceon spamd[14290]: spamd: server killed by SIGTERM, shutting down Dec 23 04:27:32 linuxceon spamd[3965]: logger: removing stderr method Dec 23 04:27:33 linuxceon spamd[3969]: spamd: server started on port 783/tcp (running version 3.3.1) Dec 23 04:27:33 linuxceon spamd[3969]: spamd: server pid: 3969 Dec 23 04:27:33 linuxceon spamd[3969]: spamd: server successfully spawned child process, pid 3970 Dec 23 04:27:33 linuxceon spamd[3969]: spamd: server successfully spawned child process, pid 3972

Hi,

Funny you should discuss the “CSF” application.

A few days ago, I was tasked to assist a fellow Virtualmin user solve a problem with their server, one of the key issues was that email wasn’t being sent and many of the same issues presented in your log were showing up on their server.

While I’m sure CSF if configured correctly is a nice application, it seems that when removed these issues disappeared. What we ended up doing was replacing CSF with OSSEC (ossec.net) which in itself is a nice “intrusion detection system”.

I’d recommend disabling CSF, and testing to see if emails start to process correctly. If this solves your problem, and you wish to continue with CSF, I’d recommend posting at: http://forum.configserver.com/ (the forum for the software) and seeing what help you can get there in terms of adjusting configurations.

*** Not that we don’t like helping people around here, and I’m sure others like Eric will continue to provide as much help as they can, but the above forum seems more appropriate in the same way VIrtualmin specific issues are more appropriate here. ***

If you’d like to try OSSEC, and are unsure how to install it, please let me know. We use this across our whole Virtualmin cluster and it works like a charm.

-Peter