Re: Mail from PHP agent on hold

2015-07-24 Thread Wietse Venema
Peter: > Alright, > > A technical question then; I always thought PHP connects to localhost > just as if I did "telnet localhost 25". > What is the difference between an external email connecting to the email > server and localhost PHP sending emails? Why don't I see "connection > from localhost

Re: Mail from PHP agent on hold

2015-07-24 Thread Peter
Alright, A technical question then; I always thought PHP connects to localhost just as if I did "telnet localhost 25". What is the difference between an external email connecting to the email server and localhost PHP sending emails? Why don't I see "connection from localhost[127.0.0.1] in the lo

Re: Mail from PHP agent on hold

2015-07-24 Thread Koko Wijatmoko
On Fri, 24 Jul 2015 13:08:42 +0200 Peter wrote: > which is okay, but when PHP mailer sends an email from localhost I > get: > > Jul 24 12:49:38 server postfix/pickup[16749]: B435A614EF: uid=48 > from= > this is not localhost.. but inject to sendmail command line from uid 48.

Re: Mail from PHP agent on hold

2015-07-24 Thread Koko Wijatmoko
On Fri, 24 Jul 2015 13:08:42 +0200 Peter wrote: > HI guys, > > Till today I was always using one the following method to hold emails > in order to investigate issues with them: > smtpd_sender_restrictions = static:HOLD > smtp_helo_restrictions = static:HOLD > smtp_data_restrictions = static:HOL