Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
0 answers
632 views

PHP mail function on Google Cloud Compute Engine?

I have a php website hosted on Google Cloud Compute Engine. I also have a paid Google Workspace account for my emails, etc. I would like to use the mail function in php to receive emails from my ...
user1413341's user avatar
0 votes
1 answer
231 views

Solved - Postfix SMTP port Stange Activity

Hello ServerFault community, I have a Postfix and Dovecot mail server based on MySQL, I had a problem with MySQL so I had to reinstall it and thet's where the problems started happening. RoundCube ...
Nicolò's user avatar
  • 25
0 votes
0 answers
2k views

Sending large amount of emails with PHPmailer and SMPT guaranteeing the emails are delivered and preventing getting blacklisted

I have been using Phpmailer + SMPT + G-suite to send 2,000 emails per day, to the registered users of our website and this worked well for a while. Now that we have more registered users, this method ...
user289877's user avatar
0 votes
1 answer
5k views

How to debug "lost connection after STARTTLS"?

We have a web server which sends mail out via our Postfix relay over a LAN connection. Users from outside our network also send mail out via SMTP AUTH though that relay too. However, we have a ...
TommyPeanuts's user avatar
1 vote
1 answer
340 views

Security Related to Send-Only Postfix Server

New Ubuntu admin here, trying to enable the PHP mail() function on my server. I have it working, but am wondering if my setup is secure... My [full] mail solution is as follows: 1) For incoming mail ...
sevan1028's user avatar
1 vote
1 answer
331 views

Php mail is erratic: sometimes sends, sometimes doesn't

I have a server set up to use postfix to send mail from the server. When a user registers at my Wordpress site, an email is sent to the administrators, both of whom have gmail addresses. Sometimes ...
Dave Coventry's user avatar
0 votes
0 answers
897 views

"Failed to create COM object `hMailServer.Application'", although Everyone has launch and activation DCOM permissions

In a Windows Server 2012 R2 Datacenter environment with IIS 8.5.9600.16384, Plesk 12.5.30 Update #24 and hMailServer 5.6.4-B2283 I'm trying to install the web interface PHPWebAdmin that ships with ...
Martin Braun's user avatar
1 vote
1 answer
957 views

Cannot send email address to office 365 email address

i have a web page used to send direct email set of email addresses stored on my database . all email addresses are receiving my emails fine except office 365 users so my question is do i need extra ...
Danny's user avatar
  • 11
1 vote
1 answer
467 views

Exim4 intercept all outgoing mail

I have a LAMP stack set up on a Debian 8 (jessie) machine. I'm trying to find a way of intercepting all outgoing mail sent by PHP (through sendmail) and instead of sending it out, deliver it to my ...
johny332's user avatar
-1 votes
1 answer
470 views

Mail being marked as spam by gmail but only from certain addresses [closed]

I am sending the same message through the PHP mail() function using two different addresses in the header. When I send the email with [email protected] it is marked as spam by gmail but when I send ...
blazerunner44's user avatar
2 votes
2 answers
912 views

PHP emails, Postfix and Message Queue

I've been running a web platform that needs to send a considerable amount of emails daily. At the implementation date I and my partner decided to setup Postfix on the server and use Swift Mailer class ...
TCB13's user avatar
  • 1,318
1 vote
1 answer
4k views

Does PHP mail function need a mail server? [duplicate]

We recently moved our Drupal sites to a Linode server. One of those sites has a lot of users filling forms. The previous server sent, with no problem, all form registrations to an email address, this ...
Francisco's user avatar
  • 115
0 votes
1 answer
2k views

Mail is not sent to specific domain

We are using php mail function to send emails to our customers. Few days ago, we've found that email are not delivered to only hotmail.com domain. I've checked email log to see if there are any error ...
Mr.M's user avatar
  • 167
2 votes
1 answer
1k views

Exim4 setup not working with piping

I'm trying to setup exim4 on the server, so that it can receive mail for a couple sub domains, and I want to pipe that to a PHP script. I want all incoming mail to be processed through my custom ...
xil3's user avatar
  • 93
0 votes
0 answers
133 views

Slow mail with MTA

I am using PHP to send mail. I've tried both the native php function and the php mailer and I have excluded that it would be PHP causing the sluggish and slow behavior. My issue is that it takes ...
user3218338's user avatar
1 vote
1 answer
3k views

PHPMailer script stopped working with cryptic SMTP error messages

I am trying to send mail in a PHP script via the PHPMailer library. The following code has successfully sent emails in the past without warnings: function mail_attachment($filename, $path, $mailto, $...
user avatar
-5 votes
1 answer
233 views

How do I fix my PHP/MariaDB installations?

I ran the clear_iredmail script found here: http://www.iredmail.org/forum/topic333-iredmail-support-faq-how-to-uninstall-iredmail.html and accidentally deleted some important config files (and more) ...
m3hr's user avatar
  • 1
0 votes
2 answers
2k views

Postfix piping to php issue: "cannot append message to file: cannot open file: Permission denied"

I am having some issues with setting up piping to a php app (WHMCS). The mail is coming to the server however it is bouncing. The maillog shows:- May 15 12:51:14 hostname postfix/smtpd[2123]: ...
user173801's user avatar
0 votes
1 answer
2k views

sendmail on ubuntu not working correctly

I am in the process of setting up a new server which runs Ubuntu on a LAMP stack. I have installed sendmail but it doesnt seem to work. This is my output in the error log: Apr 16 13:46:51 ip-10-33-...
Bob Flemming's user avatar
  • 1,335
2 votes
1 answer
288 views

emails sporadically being sent to incorrect/extra recipients

We've been using hMailServer successfully for a number of years as our mail server. Recently Microsoft blocked us for spam (even though we have a legit opt-in service), so any hotmail, live emails ...
deifwud's user avatar
  • 73
1 vote
3 answers
4k views

Sendmail Exception reached when thousands emails sent in bulk mail script. Has sendmail a email-sent limit for a given process?

I am a little desperate with a problem in our web server. Our web is a community with a lot of users and activity. We send to users personalized mails of the activity of their interest. We have a ...
Emilio Nicolás's user avatar
0 votes
1 answer
250 views

PHP Server doesn't Receives Mails from Windows SMTP

I've got a strange problem I setup my SMTP server on windows server for my PHP IIS and I've been sending mails from there but while my gmail account receives this mail my PHP hosting server doesn't ...
Jas's user avatar
  • 1
0 votes
3 answers
845 views

Postfix misconfigured? 550 Sender rejected from recieving server

We use Postfix on our CentOS 6 machine, having the following configuration. We use PHP's mail() function to send rudimentary password reset emails, but there is a problem. As you will see, mydomain ...
grssnbchr's user avatar
  • 157
2 votes
1 answer
4k views

Getting sendmail to install/work for using php mail()

I'm running WordPress on a Ubuntu VPS. When WordPress tries to send an email like a password reset or registration email it never gets delivered. WordPress uses php's mail() function. I figure it's ...
harryg's user avatar
  • 951
12 votes
5 answers
19k views

How do I set up postfix to store e-mail in a file instead of relaying it?

I want to run a staging copy of a production server on a local environment. The system runs a PHP application, which sends e-mail to customers in various scenarios and I want to make sure no e-mail is ...
GomoX's user avatar
  • 826
0 votes
1 answer
10k views

PHP Web Mail going to spam folder

I was working for my college website, and I wrote a php script that sends email using php mail function. But the problem is, all the emails that I send are going into the recipients spam/junk Folder. ...
Ritesh Kumar Gupta's user avatar
0 votes
3 answers
12k views

Fatal error: Class 'COM' not found in C:\inetpub\wwwroot\test.php on line 22

There is an IIS 7 webserver and PHP 5.3 I have set com.allow_dcom = true on php.ini file and restarted the webserver. I need to use hmailserver by: $obBaseApp = new COM("hMailServer.Application"); ...
Metalik's user avatar
  • 157
-1 votes
1 answer
518 views

How to verify Swiftmailer credentials on Postfix

I'm using Swiftmailer with php to send emails over my Postfix server. It works fine. But also works without verifying the credentials specified on php. How can I verify in Postfix if those credentials ...
Bordalo's user avatar
-3 votes
1 answer
117 views

Best server for mailing application [closed]

My application is similar to a reminder service that reminds users of events that they scheduled. I'm sending emails to users through a PHP script. I'm not sending one email to multiple recipients. ...
Cyber Junkie's user avatar
0 votes
2 answers
738 views

ubuntu settings for mail sending

What should I install, on fresh Ubuntu server, to make proper working web scripts for sending out emails ? I've tried to install mailutils but it want to install postfix also. But i don't want to ...
user1016265's user avatar
-1 votes
3 answers
379 views

Good open source mailserver for linux [closed]

I'm looking for a good open source Linux mailserver for a small (internet) company. Which is still updated frequently. I'm developing the website with PHP and MySQL if that's important. Anybody any ...
Nima's user avatar
  • 283
0 votes
2 answers
3k views

Pipe all incoming mail to a command (exim4)

How can I setup Exim to pipe all incoming mail to a command (PHP)? and never reject an email? I'm using Debain squeeze, and Exim4
Petah's user avatar
  • 650
0 votes
1 answer
994 views

Postfix not sending emails when sent from PHP

I have a PHP script that sends emails using PEAR mail. However on my new server it is not sending the majority of emails. Postfix is the mail server and opensuse 11.4 is the os. My Postfix does not ...
RodDM's user avatar
  • 3
0 votes
2 answers
4k views

Filter email in POSTFIX with PHP

I want to create mail server using postfix and i want to create simple scrip using php to filter incoming email. so the diagram is like this : incoming email-->postfix-->php filter-->postfix-->...
yuki_sama's user avatar
1 vote
5 answers
2k views

Best choice for mail server under ubuntu server [closed]

Not so long ago I did setup my development server on vmware. Currently I'm using ubuntu server. Yesterday when I was trying somethings with php mail() function it didn't work. I got curious. Well for ...
Eugene's user avatar
  • 259
8 votes
4 answers
23k views

Do i need to open 25 port to send emails with the php mail function?

I have a Linux web app. Do I need to open port 25 to only send emails using the PHP mail function? If I have to open port 25, how can I disable receiving emails? Edit: I am asking because I ...
Ben's user avatar
  • 795
0 votes
2 answers
2k views

Email delivery by Sendmail has unusual timeout

I have a Ubuntu machine with Sendmail on it. Whenever I issue a PHP mail() function, the email gets delivered instantly(received in my inbox on other domain), but the PHP process waits-waits very ...
Pentium10's user avatar
  • 444
0 votes
3 answers
213 views

What email server should I use for sending emails?

What email server should I use for sending emails with php()? (related) I use easyphp (php, apache, windows).
ilhan's user avatar
  • 288
0 votes
2 answers
4k views

Trying to send an email for first time from my local server

I have installed easyphp and I'm trying to send an email from my computer (server). My PHP code: <?php $message = "Line 1\nLine 2\nLine 3"; $headers = "From: [email protected]\r\n"; mail('...
ilhan's user avatar
  • 288
1 vote
2 answers
2k views

Quick Linux Mail Server Setup For Programming

I'm a PHP web developer. I need to set up my Ubuntu workstation (10.04.1 LTS) so that I can debug mail without it really going out to the WWW. So, I need to work with pretend domains like from.com and ...
ServerChecker's user avatar
0 votes
3 answers
2k views

PHP/mail : server sends email originating from wrong domain

I have a Mediatemple dv (Plesk) server with two domains, each has static IP. I had domain1 as main domain and domain2 as secondary. When A PHP script from domain2 sends email the headers show the ...
Niro's user avatar
  • 1,521
1 vote
4 answers
10k views

Configure Mail Server on Linux Localhost?

I'm having trouble getting the PHP's mail() function to work on my localhost laptop computer. I'm using Ubuntu 9.04 and I connect to a wireless network at home for internet. I ran the following ...
learningtech's user avatar
  • 7,659
1 vote
4 answers
299 views

choosing linux OS and webserver software

I want to build a new webserver (bear with me, I'm new to this): My demands are (prioritized list): 1. Security 2. Ease of use (Administration, configuration). 3. Speed General features needed: - ...
Cudos's user avatar
  • 539