Happy_Gillmore
16th July 2009, 20:27
I transfered my website to my ubuntu 8.04 server, ISPCONFIG 2.
I had some issues with smtp authentication through email clients but at least I could email from PHP scripts.
I re-installed the server from scratch and now smtp works fine with email clients but no longer with PHP scripts!
Here is my /var/log/mail.log
Jul 16 13:06:10 server1 postfix/pickup[17858]: 043F5195A3B3: uid=33 from=<www-data>
Jul 16 13:06:10 server1 postfix/cleanup[17951]: 043F5195A3B3: message-id=<20090716170610.043F5195A3B3@server1.domain.net>
Jul 16 13:06:10 server1 postfix/qmgr[17859]: 043F5195A3B3: from=<www-data@server1.domain.net>, size=936, nrcpt=1 (queue active)
Jul 16 13:06:10 server1 postfix/smtp[17953]: 043F5195A3B3: to=<bunkers@domain.com>, relay=mx.domain.com[66.96.142.50]:25, delay=0.27, delays=0.05/0.04/0.16/0.02, dsn=5.1.0, status=bounced (host mx.domain.com[66.96.142.50] said: 550 5.1.0 error: R4.1: 70.25.41.161 (in reply to MAIL FROM command))
Jul 16 13:06:10 server1 postfix/cleanup[17951]: 42EDB195A3B4: message-id=<20090716170610.42EDB195A3B4@server1.domain.net>
Jul 16 13:06:10 server1 postfix/bounce[17955]: 043F5195A3B3: sender non-delivery notification: 42EDB195A3B4
Jul 16 13:06:10 server1 postfix/qmgr[17859]: 42EDB195A3B4: from=<>, size=2788, nrcpt=1 (queue active)
Jul 16 13:06:10 server1 postfix/qmgr[17859]: 043F5195A3B3: removed
Jul 16 13:06:10 server1 postfix/local[17956]: 42EDB195A3B4: to=<www-data@server1.domain.net>, relay=local, delay=0.03, delays=0.02/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: procmail -a "$EXTENSION")
Jul 16 13:06:10 server1 postfix/qmgr[17859]: 42EDB195A3B4: removed
In the log I found this:
from=<www-data@server1.domain.net>
This is not the variable being passed as the FROM email address.
status=bounced (host mx.domain.com[66.96.142.50] said: 550 5.1.0 error: R4.1: 70.25.41.161 (in reply to MAIL FROM command))
I also made sure the FROM email alias existed on my server.
Where does it get this weird email address from?
I had some issues with smtp authentication through email clients but at least I could email from PHP scripts.
I re-installed the server from scratch and now smtp works fine with email clients but no longer with PHP scripts!
Here is my /var/log/mail.log
Jul 16 13:06:10 server1 postfix/pickup[17858]: 043F5195A3B3: uid=33 from=<www-data>
Jul 16 13:06:10 server1 postfix/cleanup[17951]: 043F5195A3B3: message-id=<20090716170610.043F5195A3B3@server1.domain.net>
Jul 16 13:06:10 server1 postfix/qmgr[17859]: 043F5195A3B3: from=<www-data@server1.domain.net>, size=936, nrcpt=1 (queue active)
Jul 16 13:06:10 server1 postfix/smtp[17953]: 043F5195A3B3: to=<bunkers@domain.com>, relay=mx.domain.com[66.96.142.50]:25, delay=0.27, delays=0.05/0.04/0.16/0.02, dsn=5.1.0, status=bounced (host mx.domain.com[66.96.142.50] said: 550 5.1.0 error: R4.1: 70.25.41.161 (in reply to MAIL FROM command))
Jul 16 13:06:10 server1 postfix/cleanup[17951]: 42EDB195A3B4: message-id=<20090716170610.42EDB195A3B4@server1.domain.net>
Jul 16 13:06:10 server1 postfix/bounce[17955]: 043F5195A3B3: sender non-delivery notification: 42EDB195A3B4
Jul 16 13:06:10 server1 postfix/qmgr[17859]: 42EDB195A3B4: from=<>, size=2788, nrcpt=1 (queue active)
Jul 16 13:06:10 server1 postfix/qmgr[17859]: 043F5195A3B3: removed
Jul 16 13:06:10 server1 postfix/local[17956]: 42EDB195A3B4: to=<www-data@server1.domain.net>, relay=local, delay=0.03, delays=0.02/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: procmail -a "$EXTENSION")
Jul 16 13:06:10 server1 postfix/qmgr[17859]: 42EDB195A3B4: removed
In the log I found this:
from=<www-data@server1.domain.net>
This is not the variable being passed as the FROM email address.
status=bounced (host mx.domain.com[66.96.142.50] said: 550 5.1.0 error: R4.1: 70.25.41.161 (in reply to MAIL FROM command))
I also made sure the FROM email alias existed on my server.
Where does it get this weird email address from?