501 Syntax error in parameters or arguments

To the Ipswitch web site

Ipswitch Forums
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



501 Syntax error in parameters or argumentsExpand / Collapse
Author
Message
Posted 8/6/2004 12:58:25 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 10/7/2004 10:08:00 PM
Posts: 5, Visits: 1

How do I fix this?

20040806 001610 127.0.0.1       SMTPD (002D0036) [127.0.0.1] connect 127.0.0.1 port 1969
20040806 001610 127.0.0.1       SMTPD (002D0036) [127.0.0.1] HELO none-g4mfwzm7wn
20040806 001610 127.0.0.1       SMTPD (002D0036) [127.0.0.1] MAIL FROM:<postmaster@localhost>
20040806 001610 127.0.0.1       SMTPD (002D0036) [127.0.0.1] RCPT TO:<ryanjamespeterson@yahoo.com>
20040806 001610 127.0.0.1       SMTPD (002D0036) [127.0.0.1] C:\IMail\spool\D141a002d00360fdf.SMD 498
20040806 001610 127.0.0.1       SMTP (1620) processing C:\IMail\spool\Q141a002d00360fdf.SMD
20040806 001610 127.0.0.1       SMTP (1620) Trying yahoo.com (0)
20040806 001610 127.0.0.1       SMTP (1620) Connect yahoo.com [64.156.215.18:25] (1)
20040806 001610 127.0.0.1       SMTP (1620) 220 YSmtp mta337.mail.scd.yahoo.com ESMTP service ready
20040806 001610 127.0.0.1       SMTP (1620) >EHLO none-g4mfwzm7wn.server.iworldlink.com
20040806 001610 127.0.0.1       SMTP (1620) 250-mta337.mail.scd.yahoo.com
20040806 001610 127.0.0.1       SMTP (1620) 250-8BITMIME
20040806 001610 127.0.0.1       SMTP (1620) 250-SIZE 15990784
20040806 001610 127.0.0.1       SMTP (1620) 250 PIPELINING
20040806 001610 127.0.0.1       SMTP (1620) >MAIL FROM:<postmaster@localhost>
20040806 001610 127.0.0.1       SMTP (1620) 501 Syntax error in parameters or arguments
20040806 001610 127.0.0.1       SMTP (1620) ERR undeliverable 501 Syntax error in parameters or arguments
20040806 001610 127.0.0.1       SMTP (1620) SMTP_DELIV_FAILED
20040806 001610 127.0.0.1       SMTP (1620) >QUIT
20040806 001610 127.0.0.1       SMTP (1620) 221 mta337.mail.scd.yahoo.com
20040806 001610 127.0.0.1       SMTP (1620) Creating message from Postmaster
20040806 001610 127.0.0.1       SMTP (1620) finished C:\IMail\spool\Q141a002d00360fdf.SMD status=2



Ryan J. Peterson
Post #612
Posted 8/6/2004 1:47:11 AM
Time Traveler

Time TravelerTime TravelerTime TravelerTime TravelerTime TravelerTime TravelerTime TravelerTime Traveler

Group: Forum Members
Last Login: 6/15/2005 1:07:00 AM
Posts: 217, Visits: 1

How do you fix it?  Don't send mail from postmaster@localhost, which is a self-evidently illegal e-mail address on the public Internet.

--Sandy



------------------------------------
Sanford Whiteman, Chief Technologist
Broadleaf Systems, a division of
Cypress Integrated Systems, Inc.

Defuse Dictionary Attacks: Turn Remote Mailboxes into Aliases on your IMail MX!
  http://www.imprimia.com/products/software/freeutils/ldap2aliases/download/release/

Post #615
Posted 8/6/2004 2:54:59 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 10/7/2004 10:08:00 PM
Posts: 5, Visits: 1
What is making it send from postmaster@localhost?  I have the php script send the header From: website@iworldlink.com but it still shows as postmaster... is this something in the php.ini or DNS oe IMail configs? I cant find it.....

Ryan J. Peterson
Post #617
Posted 8/6/2004 2:57:37 AM
Time Traveler

Time TravelerTime TravelerTime TravelerTime TravelerTime TravelerTime TravelerTime TravelerTime Traveler

Group: Forum Members
Last Login: 6/15/2005 1:07:00 AM
Posts: 217, Visits: 1

The header From: and the MAIL FROM: are not the same.  I don't know what you're doing with PHP on your app server, so I couldn't tell you what to change there.  This is not related to IMail or DNS.

--Sandy



------------------------------------
Sanford Whiteman, Chief Technologist
Broadleaf Systems, a division of
Cypress Integrated Systems, Inc.

Defuse Dictionary Attacks: Turn Remote Mailboxes into Aliases on your IMail MX!
  http://www.imprimia.com/products/software/freeutils/ldap2aliases/download/release/

Post #618
Posted 8/6/2004 3:02:40 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 10/7/2004 10:08:00 PM
Posts: 5, Visits: 1
PHP is running on a windows server I have the SMTP=localhost in the php.ini, would that be the issue. I am really trying to get to the bottom of this, I am a programmer who simply got this issue dumped on me, I am supposed to have it resolved by tommorow...

Ryan J. Peterson
Post #619
Posted 8/6/2004 3:25:52 AM
Time Traveler

Time TravelerTime TravelerTime TravelerTime TravelerTime TravelerTime TravelerTime TravelerTime Traveler

Group: Forum Members
Last Login: 6/15/2005 1:07:00 AM
Posts: 217, Visits: 1

Try SMTP=mail.example.com, where mail.example.com is the name of your IMail virtual host: this should already be a valid hostname on the public Internet _and_ a valid internal hostname pointing to the private IP of your mailserver).

--Sandy



------------------------------------
Sanford Whiteman, Chief Technologist
Broadleaf Systems, a division of
Cypress Integrated Systems, Inc.

Defuse Dictionary Attacks: Turn Remote Mailboxes into Aliases on your IMail MX!
  http://www.imprimia.com/products/software/freeutils/ldap2aliases/download/release/

Post #620
Posted 8/6/2004 3:27:49 AM
Time Traveler

Time TravelerTime TravelerTime TravelerTime TravelerTime TravelerTime TravelerTime TravelerTime Traveler

Group: Forum Members
Last Login: 8/12/2005 10:51:00 PM
Posts: 150, Visits: 1

3 lines below your config str for Mail From:

[mail function]
; For Win32 only.
SMTP = localhost

; For Win32 only.
sendmail_from = website@iworldlink.com



Regards,
Dmitri Elgin,
http://imailzip.com

Post #621
Posted 8/6/2004 3:29:16 AM
Time Traveler

Time TravelerTime TravelerTime TravelerTime TravelerTime TravelerTime TravelerTime TravelerTime Traveler

Group: Forum Members
Last Login: 8/12/2005 10:51:00 PM
Posts: 150, Visits: 1
yeah, i'm guessed that localhost is incorrect too

Regards,
Dmitri Elgin,
http://imailzip.com

Post #622
Posted 8/6/2004 3:47:24 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 10/7/2004 10:08:00 PM
Posts: 5, Visits: 1
ok, I am dumb, was editing wrong php.ini file, arrg, thanks for help ont hat one now I am getting this...

20040806 025025 127.0.0.1       SMTPD (00930036) [65.241.16.176] connect 65.241.16.176 port 2868
20040806 025025 127.0.0.1       SMTPD (00930036) [65.241.16.176] HELO none-g4mfwzm7wn
20040806 025025 127.0.0.1       SMTPD (00930036) [65.241.16.176] MAIL FROM:<website@iworldlink.com>
20040806 025025 127.0.0.1       SMTPD (00930036) [65.241.16.176] RCPT TO:<ryanjamespeterson@yahoo.com>
20040806 025025 127.0.0.1       SMTPD (00930036) [65.241.16.176] ERR none-g4mfwzm7wn.server.iworldlink.com invalid user <ryanjamespeterson@yahoo.com


Ryan J. Peterson
Post #623