[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] RAQ3: Outgoing mail not accepted - Data format error



How do I remove the hostname (@www....) from outgoing emails? 

Every email (either made from mail or from some formmail-script) has "@www.domain.com" added, but it should instead only be "@domain.com". I have setup domain mail in virtusertable so it accepts all incoming mail to be sent to one user:

@www.webutrymme.com     %1@xxxxxxxxxxxxxx
@webutrymme.com    admin

The virtusertable.db is updated and it works. I do not use the RaQ3:s own internal DNS, but two external nameservers located at www.powerdns.com. 

Every mail gets caught be the receiving mailserver like this:

The original message was received at Sun, 18 Feb 2001 01:55:18 +0100 (CET)
from www.webutrymme.com [216.234.186.21]

   ----- The following addresses had permanent fatal errors -----
<tommy.green@xxxxxxxxx>

   ----- Transcript of session follows -----
... while talking to d1o4.telia.com.:
>>> MAIL From:<root@xxxxxxxxxxxxxxxxxx> SIZE=320
<<< 501 5.1.8 <root@xxxxxxxxxxxxxxxxxx>... Domain of sender address root@xxxxxxxxxxxxxxxxxx does not exist
501 <tommy.green@xxxxxxxxx>... Data format error

/var/log/maillog lookes like this:

Feb 18 01:54:59 localhost sendmail[10256]: BAA10256: from=root, size=49, class=0, pri=30049, nrcpts=1, msgid=<200102180054.BAA10256@xxxxxxxxxxxxxxxxxx>, relay=root@localhost
Feb 18 01:55:01 localhost sendmail[10258]: BAA10256: to=tommy.green@xxxxxxxxx, ctladdr=root (0/0), delay=00:00:02, xdelay=00:00:02, mailer=esmtp, relay=mail.telia.com. [194.22.194.6], stat=Sent (BAA14332 Message accepted for delivery)
Feb 18 01:55:06 localhost sendmail[10261]: BAA10261: from=<>, size=2274, class=0, pri=32274, nrcpts=1, msgid=<200102180055.BAA14339@xxxxxxxxxxxxxxx>, proto=ESMTP, relay=root@xxxxxxxxxxxxxxx [194.22.194.6]
Feb 18 01:55:06 localhost sendmail[10262]: BAA10261: to=<root@xxxxxxxxxxxxxxxxxx>, delay=00:00:02, xdelay=00:00:00, mailer=local, stat=Sent

I hope somthing has something I can try to get it to work, because I have almost run out of ideas by now. None of the methods I have seen discussed so far in the archive of this mailinglist seem to be what I'm looking for to fix this problem.

//Tommy Green