On Fri, 25 Mar 2005, Andrew Brink wrote:
Hi All -
I am getting a bunch of these "Data Format Errors" in my sendmail log files. These are happening mostly when spam gets sent to a user that does not actually have a mailbox. Below is an example of one message:
sendmail[1007]: j2PFXQgM001005: to=<[EMAIL PROTECTED]>, delay=00:00:00, xdelay=00:00:00, mailer=cyrus, pri=512884, dsn=5.6.0, stat=Data format error
Any ideas of why I get this instead of just a stat=User Unknown?
I've run into the same issue, and as I'm running my messages through MailScanner I've not been able to figure out a solution to get sendmail to check for valid users on the cyrus server until after it's accepted the message. As a workaround, (I have a relatively few number of addresses that are valid on this server) I have begun using
FEATURE(blacklist_recipients)dnl
in my sendmail.mc file, then, in my /etc/mail/access I do the following for each valid user:
To:[EMAIL PROTECTED] RELAY To:[EMAIL PROTECTED] RELAY To:.yourdomain.tld 550 ERROR: NO SUCH USER To:yourdomain.tld 550 ERROR: NO SUCH USER
Hope that helps, and perhaps someone else will have an answer on getting sendmail to check cyrus during the initial connection.
Christopher Fisk -- As far as anyone knows we're a nice, normal family. -- Homer Simpson, There's No Disgrace Like Home --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html