On Fri, 8 Feb 2013, difuntos wrote: > Hello! Im having trouble when i send mails from the webmail site (with the > browser). > > I have configured sendmail with masquerade, so when i send an email it shows > another domain on the mail address. When i try sending an email from linux > (using mailx) there is no problem (the masquerade works fine, the email is > sent and received ok). > > But when i send an email from the webmail, the log shows this : > > (...) from=<xxx@130.0.200.21>, size=748, class=0, nrcpts=1, > msgid=b49184e9aefe4b65266f1690cb20f338.squirrel@130.0.200.21>, proto=ESMTP, > daemon=MTA, relay=localhost [127.0.0.1] > Feb 6 16:00:54 webmail sendmail[4401]: r16J0fLw004399: to=<address@domain>, > delay=00:00:13, > Feb 6 16:00:54 webmail sendmail[4401]: r16J0fLw004399: r16J0sLw004401: DSN: > Data format error > > In the config file, i have "localhost" as the smtp server. > > And in the sendmail config, i?m relaying on another server (the smtp > company?s server) to send the mails. > > Hope you can help me, and hope you can understand my horrible english!!!!! > > Thanks a lot!!! > regards > > Alejandro Quegles > > > > > -- > View this message in context: http://squirrelmail.5843.n7.nabble.com/Problems-when-sending-mails-from-webmail-tp25294.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 > > Alejandro, Usually the error message "DSN: Data format error" indicates that the sending domain name is invalid in some way. You can see in your error log that the sending domain is "from=<xxx@130.0.200.21>". That's probably why it's failing. The trick is to figure out why the domain isn't being added to the "from" line. What are your smtp settings in squirrelmail? Ted Hatfield ------------------------------------------------------------------------------ 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