Skip navigation

unable to send mail from webform

302 Views 2 Replies Latest reply: Nov 30, 2012 3:58 PM by kvaulakh RSS
kvaulakh Calculating status...
Currently Being Moderated
Nov 29, 2012 7:59 PM

i am hosting a virtual domain on my lion server. there is a webform on site when user can sigh up. I am sending a email to user using php mail function but keep getting error

Nov 29 17:21:40 server postfix/cleanup[10246]: warning: recipient <_www> uid falls below minimum allowed: 70 < 501


can someone please help why this error message is coming?


if i send mail to internal email it works find. only sending to external mail i get the error message and email doesnt work.

Mac mini, Mac OS X (10.7.5)
  • Camelot Level 8 Level 8 (45,670 points)
    Currently Being Moderated
    Nov 30, 2012 12:12 AM (in response to kvaulakh)

    The error message kind of tells you what's going on:


    recipient <_www> uid falls below minimum allowed: 70 < 501


    This says that postfix is trying to deliver mail to a user (_www) whose UID in less than the minimum allowed - in this case Apple default all regular user accounts to UID 501 and higher, with lower numbers used for service daemons, etc., which typically don't need to receive mail - there's no point in sending mail to your web server, for example.


    If that sounds counter to what you expect, you'd be right, which I think speaks to a larger issue on your setup. It sounds to me like you are trying to send mail OUT from the _www user (e.g. the Apache process). This mail is getting rejected for some reason and I suspect it's the bounce message that you're seeing here in the logs - and the bounce gets trashed because postfix won't deliver to a user with a UID lower than 501 (other than root).


    You kind of have two solutions - one is to change the minimum UID so that postfix will deliver these messages - that won't fix the problem but it may at least allow you to capture the messages to see what's going on. The better solution is to work out why the messages are bouncing in the first place. You probably don't want to send the messages from _www, so there's probably some missing element in the form that defines the 'sender' address. Fix that and I suspect your problem goes away.


More Like This

  • Retrieving data ...

Bookmarked By (0)


  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.