0
votes
1answer
58 views

How to configure sendmail properly with PHP on EC2 (no SES)?

I have been struggling with sendmail for couple of days with no luck. I am trying to setup relay host, after following the answers in this question ...
0
votes
1answer
39 views

Exim4 envelope-from using PHP mail()

I've set up an exim4 server for sending email only on Debian Sid. If I just send an email it works fine and the email is delivered in my inbox. However, if I send an email using WordPress it is ...
0
votes
1answer
269 views

Sendmail: DSN: Service unavailable

I've been having trouble getting my server to send email and I haven't for the life of me figured out how to fix it. If anyone could give me some simple pointers, that would be muchly appreciated! ...
-1
votes
1answer
54 views

mails doesn't fire from php script - some issue with vps configuration

I am unable to fire any email from the php scripts on my vps server. I went to check in the logs and found this: Mar 26 05:53:30 corporatepixels sendmail[23772]: STARTTLS=client, ...
0
votes
1answer
290 views

Sending email via php generates exim error after cPanel upgrade

I have a script that handles piped emails and sends out automatic responses. This script has been working fine for over a year, yet after my host upgraded to cPanel 11.38.2 my script fails to send ...
-1
votes
1answer
61 views

Can't send php mail() [closed]

I just migrated to a new server and apparently I can't send a mail. I've "ipb board" installed there and every time I send a mail I get the following in error_log sh: -t: command not found ls -l ...
0
votes
1answer
77 views

make php mail() send relevant domain name and not from default server hostname

I'm not the sharpest server administrator in the draw, so i hope this isn't too much of a stupid question. I'm looking to make php mail() send relevant domain name and not from default server ...
1
vote
2answers
179 views

How to configure sendmail to only send to specified domains?

I have a local development server (centos) which I develop a number of websites on. Occasionally I need to test email sending scripts. I want to avoid the development server from sending emails to ...
0
votes
2answers
186 views

sendmail is not delivering messages to recipients

I have run into a number of problems getting sendmail to work. None of the solutions I've tried have worked. First: sendmail was hanging for 60 seconds and then not sending the email. To solve this, ...
2
votes
1answer
957 views

Sendmail chdir(/clientmqueue) permission denied

My centos server can send mail using the 'mail' command but not from php. Maillog says: sendmail[18010]: NOQUEUE: SYSERR(nginx): can not chdir(/var/spool/clientmqueue/): Permission denied My ...
-1
votes
1answer
97 views

Is it safe to replace localhost.localdomain with real domain?

I am configuring a ubuntu server, so I am using sendmail to use PHP mail function. However it keeps sending email to the spam folder of inbox. I'm just trying to make the emails go to inbox instead of ...
-1
votes
1answer
135 views

Send email from linux server through remote linux smtp server using PHP [closed]

Here's my setup Ubuntu Database server that runs scripts that need to be able to send emails Ubuntu Web Server that has sendmail setup on it that used to run scripts that send emails Is what I need ...
0
votes
1answer
334 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 ...
0
votes
3answers
167 views

Sendmail wont send to same domain

I'm using sendmail on my webserver, which so far is working fine. However, when I send emails to the same domain I'm sending them from, they never get delivered. I temporarily changed the email ...
1
vote
3answers
767 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 ...
0
votes
3answers
4k views

How to configure a real domain name for sender address

I tried to sending out an email using php mail() function but it failed somehow, complaining that a real domain name is required. The following is observed in the maillog: sendmail 4984 r25984: ...
0
votes
1answer
334 views

sending a mail via php works but page times out

I have a new server running ubuntu, nginx, php sendmail etc. To test if sendmail is working I made a basic php file with the php mail function in it. When I execute the file my browser hangs until I ...
1
vote
1answer
1k 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 ...
0
votes
1answer
470 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. ...
2
votes
0answers
319 views

AWS amazon SES stopped working suddenly

I am not able to send the mail from aws.amazon SES since from Monday (30-10-2012) previously it is working fine suddenly it stopped working. I got following is the errors A PHP Error was encountered ...
0
votes
2answers
587 views

PHP Mail Relay via Remote smtp Server [duplicate]

Possible Duplicate: How to configure php.ini with remote SMTP? We have a php application running on Linux which sends emails to there users. Currently its setup like php.ini is configured ...
1
vote
1answer
872 views

sendmail Name server timeout

Complete sendmail newbie here... I've been trying to get mailing to work in PHP and I've root caused it down to sendmail's complaint about "Name server timeout": >sendmail -t -v >From: ...
1
vote
1answer
345 views

can't send mail with exim4 and php

i'm using debian & apache. if i install sendmail, the php mail() function works perfectly. but else i install exim4, the php mail() function does nothing. i have changed the php.ini editing the ...
0
votes
3answers
652 views

Sendmail Errors when Sending via PHP

I'm trying to setup a new help desk program (Kayako), but I'm having problems relaying the mail to our mail server. Here's the error I'm getting: sendmail[2371]: NOQUEUE: SYSERR(apache): can not ...
0
votes
1answer
299 views

How to troubleshoot PHP mail problems

I'm building a PHP server backup script that sends me an email if errors occur. Now I have this code: if (mail("me@mydomain.com", "ERRRORRSSSS", "hello:)")) { echo("<p>Message ...
0
votes
0answers
535 views

PHP can not send email using mail() - Recipient addresses must be specified on the command line or via the -t option

I installed postfix and when trying to send mail, I get the followig error:- fatal: Recipient addresses must be specified on the command line or via the -t option The code I used to send mail is ...
1
vote
2answers
364 views

sendmail problems

I am using sendmail to send emails through a PHP script. The emails go fine except for a few domains for which, when I run the command sendmail -q -v, it gives the following error: Deferred: ...
0
votes
1answer
471 views

apache , php , sendmail not working

I am using apache, php and sendmail. I can send mail from command line with sendmail. However, in php file, mail function is not working. Then, I run that php email test file from command line. It ...
0
votes
0answers
585 views

Php mail() is not working but sendmail is

I have an Amazon EC2 instance running with RedHat/Linux. My problem is with the PHP mail() function which is not working although I can send mail with sendmail from command line. I run this command. ...
0
votes
2answers
332 views

Google Apps Mail & sendmail on web server [duplicate]

Possible Duplicate: Outgoing mail from linux not being delivered I'm looking into simplifying my web server setup and migrating from a Verio MPS dedicated machine to a rackspace cloud ...
1
vote
1answer
1k views

Outgoing mail from linux not being delivered

I can't seem to send mail through my php scripts or through the linux console on my Centos 5.5 LAMP server, when the email is addressed to go to a domain that is hosted by my box. I think it is ...
0
votes
1answer
738 views

apache virtualhost force email FROM address [duplicate]

Possible Duplicate: Configuring php mail() per domain I've many VirtualHosts on my Apache webserver with some different CMS (different services, different domain names, different ...
0
votes
2answers
2k views

Apache, virtual hosts, and default sender for sendmail

So here's my issue...I have two sites hosted on one machine using apache's virtual hosts. I want to send emails from the two different sites (domain.com and domain2.com) using the appropriate email ...
3
votes
2answers
368 views

Redirect all mails to local account during development

I'm developing a webshop. When a order has been placed it sends out invoices and notifications to coworkers via email. Developing anything related to the emails has become really annoying, as I have ...
-1
votes
1answer
184 views

PHP Mail() Linux Setup

I have an Apache server with php installed on it. It is a Linux machine running openSUSE v. 11.3. I have a php script that uses the mail function and I have edited the php.ini file to set the ...
0
votes
2answers
2k views

Php mail() headers not working properly with Postfix

I run Ubuntu 10.04 and installed a LAMP stack with a "satellite" Postfix (used as a relay for my ISP's smtp). In php.ini, I kept the sendmail pass to default so with -t -i arguments: ;sendmail_path ...
2
votes
1answer
1k views

Ubuntu Jaunty + sendmail + PHP + mail() Premission Errors

I'm having issues trying to get PHP's mail function to work on my Ubuntu 9.04 VPS with sendmail and Apache (and other less relevant stuff, of course). From PHP I receive no error, save a return value ...
0
votes
2answers
139 views

php mail settings - proper values for my setup

We use a hosting company for our website but we have our mail servers hosted by our isp with our website domain; @sample.net. SMTP mail.isp.com On the website we have a contact form which emails ...
0
votes
1answer
306 views

mail() sometimes not working, problem in sendmail parameter

The mail() function in php works strange these days. <?php mail("email@mail.com", "Subject", "Content"); ?> The above script works if I use "php script.php" in command line. However, if I ...
1
vote
1answer
797 views

PHP Warning: mail(): SMTP server response: 501 Must specify to address &lt;address&gt;

Cannot understand why I am getting this error - both to & from email addresses are valid (I use them daily) so cannot figure out how this is happening - any help would be appreciated. NOTE: This ...
0
votes
1answer
210 views

getting PHP mail() to work when MX records redirect all mail traffic to another server. (Postfix, sendmail)

Some background info: I have a website (lets say 'example.com') running off a LAMP server (ubuntu 10.04), and all mail traffic is handled by an external email service. My DNS records are set so that ...
0
votes
1answer
940 views

Trouble getting Postfix working on Centos

I'm having problems getting PHP to send mail via Postfix on CentOS Linux 5.6. I've got Postfix version 2.3.3, which was installed with Yum. I also installed Dovecot as per a tutorial, though I'm not ...
-1
votes
1answer
232 views

Error while sending mail via PHP mail()

We use postfix and sendmail interface and are trying to send mails using the php mail() function and are getting the following error: Could not execute mail delivery program '/usr/sbin/sendmail -t ...
-1
votes
1answer
731 views

Insufficient disk space; try again later when trying to send mail

I am trying to send an email with attachment using PHP and I get this error: Insufficient disk space; try again later Insufficient disk space; try again later returntosender: cannot select queue for ...
0
votes
0answers
564 views

step by step guide to configure sendmail to avoid “dsn=5.1.1, stat=User unknown” error towords some server

i know this question has been asked before, but i really need a step by step guide to configure sendmail. The problem is that mail sent from a server (let's call it comarp.nicola.it) is not received ...
2
votes
1answer
1k views

apache sendmail: trying to change user “from” address from apache to domain account

I apologize if I am asking a question already answered, but my problem isn't really that I haven't found an answer. I have, in fact, found a half-dozen different "solutions" to my problem, tried them ...
4
votes
4answers
2k 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 ...
0
votes
2answers
420 views

when should be choose simple php mail and when smpt with loggin+password?

My Case: web application that need to send 1,000 messages per day to main gmail account. (Only need to send email, not need receive emails - email client) 1. option - use php mail function + ...
2
votes
2answers
1k views

Testing php mail() in localhost problem

Hey guys, recently I just installed msmtp in linux and I even send a mail from the terminal and it worked: echo -e "Subject: Test Mail\r\n\r\nThis is a test mail" |msmtp --debug --from=default -t ...
0
votes
2answers
432 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 ...