Ted, i did what you told me and configured the submit.mc file, adding the masquerade parameters. I restarted the sendmail service and tried sending email with mailx, and the masquerade worked just fine. The mail went off fine, and the maillog showed everything as expected (the "from" with the proper masquerade) But when i send an email from the squirrelmail webmail, the error continues... I can tell you that i´m using nutsmail (it´s a provider that adds skins and other things to squirrelmail), that is why i´m guessing that its a php issue. When i ask them about this, they tell me that is a squirrelmail problem, and that they can´t help me. They gave me the link to this forum so i can ask here.... Tell me if i can do anything else to help you helping me :) Maybe sending you my config files could help you... Thanks again, hope you can give me a hand here regards Alejandro -- View this message in context: http://squirrelmail.5843.n7.nabble.com/Problems-when-sending-mails-from-webmail-tp25294p25301.html Sent from the squirrelmail-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb ----- squirrelmail-users mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx List archives: http://news.gmane.org/gmane.mail.squirrelmail.user List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users