Page 1 of 1

Outgoing mail Transfer -501 5.6.0 Data format error -

Posted: Mon Oct 01, 2007 8:25 am
by desaster.mike
=== Scroll down to the 3rd Post to see current satus / problem ===


I hope you guys can give me a hand on the Sendmail-Configuration..

I am running a Scalix 11.10.45 on a Debian Etch Server which is NO mailserver,
mail will be sent over strato (Later on) right now i'm using a web.de account for testing.

Incoming mail will be forwardet to the scalix user (fetchmail), this works fine so far.
Now i tryed to configure sendmail to allow the scalix-user sending emails, using the smtp-server of web.de (smtp.web.de)

sendmail.mc

Code: Select all

dnl#
# Smart Host
define(`SMART_HOST',`smtp.web.de')dnl
define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 LOGIN PLAIN')dnl
FEATURE('authinfo', 'hash /etc/mail/auth/client-info')dnl
dnl#


/etc/mail/auth/client-info

Code: Select all

AuthInfo:smtp.web.de "U:desaster.mike" "I:desaster.mike@web.de" "P:********"


sendmail.cf

Code: Select all

# "Smart" relay host (may be null)
DSsmtp.web.de


however, if i try to send a eMail using Scalix-Webmail all i get is a

Code: Select all

Returned Mail: Message Could Not Be Delivered:
keine Route für die Empfängeradresse konfiguriert
=========================================
No route for receiver adress configured


But i can't see any errors in the /var/log/mail.info /mail.log or mail.err

Now i checked if sendmail is running

Code: Select all

ps aux | grep sendmail
root     12581  0.0  0.2   8332  2232 ?        Ss   08:22   0:00 sendmail: MTA: accepting connections


i hope you can help me.
greetings from Germany

Do you have a route setup for Internet or Net

Posted: Tue Oct 02, 2007 2:16 am
by deyjvu
That error looks like there isn't a route setup for the Internet. To check look for

# omshowux
MIME Mailnode : internet
TNEF Mailnode : internet,tnef

TNEF Domains :

Dist List Abbreviation Limit : 0

If this doesn't show anything you need to add this with omconfux, if it does exist then check for a route:

[root@lavender scalix-11.2.0-GA]#
[root@lavender scalix-11.2.0-GA]# omshowrt -q all
UNIX internet MIME
UNIX internet,tnef TNEF
LOCAL lavender

You need to have a 'mailnode' called something that you want to associate with mail going outside Scalix, by default it is set to internet as that best describes where the mail is going but you can call it whatever you want EXCEPT what you have your local mailnode set to.

Then, because this isn't a "LOCAL" mailnode you need to have a route designated for it. The UNIX name is used to identify what queue is being used, which is a fallback to the days Openmail ran on HPUX and the MIME/TNEF is for the different standards of encoding, best to create one of each with the omaddrt command. See the man page for omaddrt to see how to do this.

On supported OS's this task is performed by the installation program.

Re: Do you have a route setup for Internet or Net

Posted: Tue Oct 02, 2007 3:07 am
by desaster.mike
deyjvu wrote:That error looks like there isn't a route setup for the Internet. To check look for

# omshowux
MIME Mailnode : internet
TNEF Mailnode : internet,tnef

TNEF Domains :

Dist List Abbreviation Limit : 0

If this doesn't show anything you need to add this with omconfux, if it does exist then check for a route:

[root@lavender scalix-11.2.0-GA]#
[root@lavender scalix-11.2.0-GA]# omshowrt -q all
UNIX internet MIME
UNIX internet,tnef TNEF
LOCAL lavender



thank's for that hint,
i've done that, now i get some different error message

Error

Code: Select all

   ----- The following addresses had permanent fatal errors -----
<'name'@'domain'.de>
    (reason: 501 ungueltige mail-adresse / invalid mail-address)

   ----- Transcript of session follows -----
... while talking to smtp.web.de.:
>>> MAIL From:<Wurst@assoft-envia.homeip.net> SIZE=1617
<<< 501 ungueltige mail-adresse / invalid mail-address
501 5.6.0 Data format error


looks like the problem is that scalix has "scalix-user@scalix.mail.de" as sender - adress, but smtp.web.de waits for desaster.mike@web.de, therefor the sender-mail adress is unknown / invalide, how can i change that?

Posted: Thu Oct 04, 2007 3:16 am
by desaster.mike
no idears at all?