0
votes
0answers
24 views

emails are coming from localhost instead of php sendmail_from

I'm trying to understand what I'm missing here. I have following PHP script: <?php ini_set('sendmail_from','XXX@XXX.TLD'); mail('YYY@YYY.TLD',rand(),rand()); ?> ... and even though I set ...
-1
votes
1answer
23 views

Sending mail via PHP gives fatal error in postfix

Any idea why sending mail via PHPs mail() function gives the following error in postfix: fatal: no login name found for user ID 6000. 6000 in this case is the user I have configured in the PHP-FPM ...
0
votes
0answers
47 views

Configuring email in PHP for Elgg using postfix

I am trying to setup PHP for running Elgg. I have PHP 5.5 installed in a Ubuntu 14.04 VirtualBox VM. I need to complete the following requirement (elgg requirements page) : Proper configuration and ...
0
votes
1answer
65 views

postfix just installed on ubuntu, but mail() not working in php

I have a new server. Just installed Postfix (apt-get install mailutils), and configured postfix as "Internet site". Works fine when I'm logged in as regular user on the command prompt and use "mail ...
0
votes
3answers
80 views

Limit for outgoing emails for every virtual host

I have virtual hosts on Apache server. I need limited the outgoing emails sent via mail() function(from PHP). Max 100 outgoing emails per day for every host :) How can I do this?
0
votes
0answers
29 views

Why are emails sent from postfix getting bounced from gmail as spam? [duplicate]

I am working on a codeigniter project in php that sends emails. In the email config file its setup to use sendmail but in the logs it shows that its going though postfix. I get a bounce back in the ...
0
votes
4answers
115 views

Configure postfix to block PHP-sent mail() to certain recipients

I'm trying to prevent my CentOS 6.5 server from sending out emails to a certain list of recipients. (dont_contact_me@hotmail.com, dont_contact_me@gmail.com and so on). I've configured postfix like ...
2
votes
2answers
306 views

postfix sending mails to unknown addresses

I was checking my munin tables and saw a huge list of deferred mails in postfix and looking into /var/log/mail.log gave me an idea: I am sending mails to unknown mail addresses: Dec 23 08:21:32 ...
1
vote
1answer
63 views

PHP MAIL() dsn status

Is there a way to get the dsn status of an email set with postfix, with php mail function or any other library ? . I could parse the log for the id and dsn status, but that won't be quite good for the ...
2
votes
2answers
64 views

How to get feedback from SMTP server, connecting to it from another server in the same network?

I have the following scenario: [HTTP Server]: process messages [SMTP Server]: only send messages [HTTP Server] === connect to ===>>> [SMTP Server] === sends message ===>>> [world] Ok, this is ...
0
votes
2answers
184 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, ...
0
votes
2answers
328 views

Weird Postfix fatal error

I run three Magento web stores. All the orders e-mails are working just fine, with the exception of 7 e-mails that didn't even got sent from the webserver. Upon investigating the issue I discovered ...
1
vote
0answers
49 views

Filter mail sender PHP files

Is there a way to tell PHP which PHP files exactly are allowed to send emails? I would like to create a whitelist about these PHP files, and other PHP files would not be able to send emails at all. ...
1
vote
1answer
160 views

PHP mail function can't send to att.net, MAIL FROM line is incorrect

When web apps on my VPS use the PHP built-in mail function, some domains (like att.net) bounce emails back. /var/log/mail.log reveals: 550 [PERMFAIL] att.net requires valid sender domain (in reply to ...
0
votes
2answers
405 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]: ...
0
votes
1answer
468 views

Postfix on Ubuntu tried everything, won't send emails

I'm trying to get postfix set-up on Ubuntu 13.04 but no luck so far. I found a few answers here on ServerFault that didn't work. I re-installed a bunch of times, nothing. This is my first time dealing ...
0
votes
1answer
48 views

What permission needed for php?

I would like to check postfix active queue. I php script I use $active = shell_exec('/bin/ls -1 /var/spool/postfix/active | /usr/bin/wc -l'); But in log I see /bin/ls: cannot open directory ...
1
vote
0answers
313 views

php mail + postfix with multiple domains send from right domain?

i followed this tutorial to set up Postfix+Dovecot+postfixadmin on Ubuntu: http://www.exratione.com/2012/05/a-mailserver-on-ubuntu-1204-postfix-dovecot-mysql/ I want to send emails from multiple ...
0
votes
1answer
237 views

how to connect to postfix using php pear mail smtp class

I have the following script: <?php include('Mail.php'); include('Mail/mime.php'); $recip = "me <me@yahoo.com>"; $strSubject = "test subject"; $strMessage = "test message"; $crlf = "\n"; ...
0
votes
1answer
110 views

Was around Postfix and PHP sent emails always get tagged as spam [duplicate]

Possible Duplicate: How to send emails and avoid them being classified as spam I have a legitimate website that sends out emails using postfix for user signup validation. I am running a VPS ...
0
votes
3answers
284 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 ...
2
votes
1answer
753 views

Postfix Not Sending Email to Some Addresses?

I'm using Jetpack on Wordpress, and it wasn't working. I was getting the following error: Diagnostic-Code: X-Postfix; unknown user: "jake" --60FD1138CAD.1354039466/example.com Content-Description: ...
3
votes
5answers
1k 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 ...
1
vote
1answer
292 views

Postfix won't pipe to PHP file through aliases file

I'm trying to pipe from postfix to a command. According to Postfix logs it worked, but when I check the command it didn't. This is a fresh postfix install. This is my alias file: # See man 5 aliases ...
0
votes
2answers
358 views

Setup Postfix to send email to same domain as server [duplicate]

Possible Duplicate: Why does Postfix deliver mails locally instead of relaying them to Google Apps? I have a Debian Linux server setup on Linode. I am using Postfix for mail and have set it ...
0
votes
4answers
208 views

My server won't send emails

I've been sent here by the people at stackoverflow OK so I know I'm using the right code becuase I have it working on another server but when I try to send an email from a webpage on this particular ...
0
votes
0answers
196 views

Unable to send mail: connect to subsystem failed, permission denied

When sending mails from a PHP script using SwiftMailer and Swift_SendmailTransport, the execution hangs and mail.log shows the following entries: postfix/smtpd[14003]: warning: connect #1 to ...
-2
votes
4answers
531 views

postfix php filter

I'm trying to filter email using a php script, what I want to do is process the email into a database when it matches a set of rules. The rules are going to be made using an array of PHP strings and ...
0
votes
1answer
187 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 ...
1
vote
1answer
473 views

How to solve/disable spam sending with my postfix server on linux

I am quite new in setting up e-mail server on linux - I barely set up the whole think to get it working and connected it with my domain and php script which uses PHPMailer 5.2.1. In my setting I am ...
0
votes
1answer
1k views

Postfix “mail-to-script” pipe only delivers empty messages

i have a problem here. I want that a incoming email is piped to a php script in the system through postfix. My System is running with ispconfig 3, postfix and dovecot (< virtual mailbox users are ...
4
votes
2answers
170 views

text compression in postfix

I'm having the following arrangement. One server compiling emails in php and another server which run postfix (thus I have network latencies). Each email is about 300Kb and so as to send an email ...
0
votes
2answers
528 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 ...
1
vote
2answers
2k views

PLESK PostFix Error Local Loop in maillog, how to troubleshoot

I'm using the PHP mail() function, using PostFix, on CentOS6, Plesk 10.4, and my email is not getting delivered to a particular address. My personal GMail and Yahoo email addresses receive email from ...
0
votes
0answers
197 views

ubuntu 10.04 + php + postfix

I have a server I am running: Ubuntu 10.04 php 5.3.5 (fpm) Nginx I have installed postfix, and set it to loopback-only (only need to send) The problem is it is not sending. if i issue (at command ...
1
vote
1answer
148 views

Postfix not properly routing through aliases to php

So I setup everything for postfix/imap properly by going through https://help.ubuntu.com/community/PostfixBasicSetupHowto and i'm able to send emails to fmaster@ME1.com/root@ME1.com however, I'm ...
0
votes
1answer
164 views

Detecting and halting PHP Mail() spam in progress

I'm testing some functionality for a new service I'm putting together. I have mail service setup powered by Postfix. I'm using Ubuntu Linux Natty (11.04) I am trying to find a way to detect when the ...
1
vote
3answers
831 views

Origin of Spam Email

I'm running Ubuntu with POSTFIX and I have spam mail continually trying to be sent out. I have blocked it all from the email server that they are going out on and now they are just continually being ...
0
votes
0answers
529 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 ...
0
votes
1answer
219 views

Postfix not sending to Yahoo! mail in Ubuntu [closed]

I installed postfix on my Ubuntu server 11.04 (or is that 11.10?), so I could send mail using PHP. Everything works with GMail, Hotmail, etc, but Yahoo! mail users aren't getting any emails (even in ...
0
votes
1answer
509 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 ...
0
votes
1answer
730 views

How to setup Postfix to send mail 'from' any_address@mydomain.com using Google Apps?

I have a Postfix mail server set up. I have one account credentials entered in. The mail server is sending mail through the Google Apps mail servers. So in a postfix config file I have my gmail ...
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 ...
0
votes
2answers
503 views

Indepth Analysis: Prevent mail from being flagged as spam

I want to start an indepth discussion on all ways of avoiding mail being flagged as spam. I have done most of what i knew to prevent mail from being listed as spam. i have tried the following 1) ...
0
votes
1answer
1k views

Postfix 550 Sender rejected

I'm getting 550 sender rejected by administrator" errors when sending mail through PHPs mail() with postfix on SUSE Linux. All mails appear in /var/mail/root but do not get delivered to the email ...
1
vote
2answers
794 views

Configuring Postfix to route mail externally for a domain

i have a site running in a amazon EC2 ubuntu instance. My webserver is apache. I am using php mail function to send mails from a contact form. I have installed postfix and used default ocnfiguration. ...
0
votes
1answer
209 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
936 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
231 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 ...
0
votes
3answers
823 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 ...