Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 27th February 2009, 11:09
wintertong wintertong is offline
Junior Member
 
Join Date: Feb 2009
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

This was taken from my php.ini file

[mail function]
; For Win32 only.
SMTP = 83.170.96.113
smtp_port = 25

; For Win32 only.
sendmail_from = noreply@studio2online.co.uk

; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
sendmail_path = /usr/sbin/sendmail -t -i

Should I remove the win32 bits? I assume so.
Reply With Quote
Sponsored Links
  #12  
Old 27th February 2009, 11:13
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 153 Times in 150 Posts
Default

Postfix is trying to qualify the name because it gets it as the web server user nobody what is in this file /etc/mailname
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
  #13  
Old 27th February 2009, 11:14
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 153 Times in 150 Posts
Default

yes remove them that is where the qualification part is coming from.
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
  #14  
Old 27th February 2009, 11:17
wintertong wintertong is offline
Junior Member
 
Join Date: Feb 2009
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

noreply@studio2online.co.uk is in mailname

I have removed the win32 bits and restarted php / apache.

still getting same error
Reply With Quote
  #15  
Old 27th February 2009, 11:20
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 153 Times in 150 Posts
Default

comment this
Code:
myorigin = /etc/mailname
out from your postfix main.cf file restart postfix and apache and test again.
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
  #16  
Old 27th February 2009, 11:29
wintertong wintertong is offline
Junior Member
 
Join Date: Feb 2009
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

Did you mean add the # or remove the # from that line in the main.cf? It already had the # in there so I removed it. Restarted postfix by doing /etc/init.d/postfix restart and restarted apache / PHP.

Ran email script and still got

Feb 27 10:23:46 server53009 postfix/pickup[24776]: A1F594CE5F2: uid=65534 from=< nobody>
Feb 27 10:23:46 server53009 postfix/cleanup[24784]: A1F594CE5F2: message-id=<200 90227102346.A1F594CE5F2@server53009.uk2net.com>
Feb 27 10:23:46 server53009 postfix/qmgr[24777]: A1F594CE5F2: from=<nobody@norep ly@studio2online.co.uk>, size=366, nrcpt=1 (queue active)
Feb 27 10:23:46 server53009 postfix/smtp[24786]: A1F594CE5F2: to=<gareth.wintert on@s2o.co.uk>, relay=83.170.96.113[83.170.96.113]:25, delay=0.03, delays=0.03/0/ 0/0, dsn=5.5.4, status=bounced (host 83.170.96.113[83.170.96.113] said: 501 5.5. 4 Syntax error in parameters scanning (in reply to MAIL FROM command))
Feb 27 10:23:46 server53009 postfix/cleanup[24784]: AB1914CE5F3: message-id=<200 90227102346.AB1914CE5F3@server53009.uk2net.com>
Feb 27 10:23:46 server53009 postfix/qmgr[24777]: AB1914CE5F3: from=<>, size=2327 , nrcpt=1 (queue active)
Feb 27 10:23:46 server53009 postfix/bounce[24787]: A1F594CE5F2: sender non-deliv ery notification: AB1914CE5F3
Feb 27 10:23:46 server53009 postfix/qmgr[24777]: A1F594CE5F2: removed
Feb 27 10:23:46 server53009 postfix/smtp[24786]: AB1914CE5F3: to=<nobody@noreply @studio2online.co.uk>, relay=83.170.96.113[83.170.96.113]:25, delay=0.02, delays =0.01/0/0/0.01, dsn=5.5.4, status=bounced (host 83.170.96.113[83.170.96.113] sai d: 501 5.5.4 Syntax error in parameters scanning (in reply to RCPT TO command))
Feb 27 10:23:46 server53009 postfix/qmgr[24777]: AB1914CE5F3: removed
Reply With Quote
  #17  
Old 27th February 2009, 11:32
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 153 Times in 150 Posts
Default

I meant add a # and if you have not noticed you have two of the same line in your config file one commented out and the other not. you need to have a # infront of both
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
  #18  
Old 27th February 2009, 11:38
wintertong wintertong is offline
Junior Member
 
Join Date: Feb 2009
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Your the dude!!!! Thanks, it is now sending emails! Really appreciated
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ffmpeg Video support for ubuntu 7.10 [suphp-ispconfig] amaurib Installation/Configuration 13 16th February 2010 17:26
ISP Config hesitation when opening web pages frankb Installation/Configuration 7 15th December 2008 13:06
ispconfig php 5 errors itamarjp Installation/Configuration 8 25th April 2008 10:20
network issues now it says "401 The web site is blocked by administrator" Check General 3 26th February 2008 14:22
Apache2 Freezes celtic Server Operation 31 28th May 2007 17:18


All times are GMT +2. The time now is 18:09.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.