sending email

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

hortimech
Posts: 14
Joined: Tue Mar 28, 2006 5:27 pm

sending email

Postby hortimech » Tue Mar 28, 2006 5:31 pm

I am trying out scalix, which I think is what we need to replace our existing mail server (Mdeamon), but I cannot send
email to an address at my isp

I get the following ( I have changed the addresses )

The original message was received at Tue, 28 Mar 2006 19:53:39 +0100
from mailserver.mydomain.org [127.0.0.1]

----- The following addresses had permanent fatal errors -----
<user@myisp.com>
(reason: 553 5.1.8 <user@myisp.com>... Domain of sender address internaluser@mydomain.org does not exist)

----- Transcript of session follows -----
... while talking to mail.myisp.net.:
>>> DATA
<<< 553 5.1.8 <user@myisp.com>... Domain of sender address internaluser@mydomain.org does not exist
550 5.1.1 <user@myisp.com>... User unknown
<<< 503 5.0.0 Need RCPT (recipient)

<mydomain> replaces the internal domain name, <user> is one of my email names at my isp, <myisp> replaces the name of my isp
<internaluser> replaces the domain user who is trying to send mail out.


I have searched on this forum, I have set up an internal dns server, dig on <my domain> MX points to my mailserver, RELAY is
pointing at the internal domain.

Am I doing something wrong? am I missing something? or do I need a registered domain, if so this could be a problem, as our
registered domain is else where with our website.
you know you are old when your clothes come back into fashion

mephisto

Postby mephisto » Tue Mar 28, 2006 6:28 pm

If you want to send mail to an external address you need to make sure that the sender domain is valid all over the internet. It looks like the receiving mail server won't accept the email because it can't resolve the sending domain.

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Wed Mar 29, 2006 5:47 am

Please see this thread, this topic has been discussed before...

http://www.scalix.com/community/viewtop ... ress+exist

Cheers,

Sascha.

hortimech
Posts: 14
Joined: Tue Mar 28, 2006 5:27 pm

Postby hortimech » Wed Mar 29, 2006 2:23 pm

Hi, as far as I can tell the thread I was referred to, has nothing to do with my problem, internal dns works, the email gets to my isp and gets rejected there.
I repeat, do I have to have a real domain to send emails, not a bogus internal one or is there some way of faking it.
you know you are old when your clothes come back into fashion

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Wed Mar 29, 2006 2:36 pm

The same reason applies.

The receiving side must be able to resolve your domain otherwise your mail, as you can see, does not get delivered.

This differs from one recipient to the next. Some people are paranoid about unresolvable domains, others aren't.

Basically, your domain needs to be resolvable in worldwide DNS.

Cheers

Dave

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Wed Mar 29, 2006 3:09 pm

Hi. As mephisto has stated, your domain has to be valid in order for you to send. I believe what Sascha was pointing out is that it can be worked around, but it has to be done by your ISP. It's highly unlikely they'll do it because it opens them up for spammers.

I guess what I'm not clear on is if your domain isn't valid, how do you expect people to be able to send mail back to you?

Thanks,
Rachel

hortimech
Posts: 14
Joined: Tue Mar 28, 2006 5:27 pm

Postby hortimech » Sat Apr 01, 2006 6:37 am

We use, as I said, Mdeamon as our mailserver and run as a workgroup, we want to change to a domain for various reasons, but object to paying the vast amounts we have been quoted for going the microsoft route.
I have been surfing the internet since I first posted and now believe the problem is not with Scalix but Sendmail, as an aside, could Sendmail be anymore complicated than it is?
I have so far got my ISP to stop rejecting my emails as unknown domain, but still have problems, I will post my questions on their forum.
As to how to get emails into my sudodomain, I thought Fetchmail, but one thing at a time, lets get the email sent first.
you know you are old when your clothes come back into fashion

hortimech
Posts: 14
Joined: Tue Mar 28, 2006 5:27 pm

Postby hortimech » Sat Apr 01, 2006 9:19 am

Before I went off to the Sendmail website, I had a thought, I have been try to send mail from the Scalix webmail. I set up kmail on my laptop (running mandrake) and sent an email through my Scalix email server, it works!!!
So I am back here again, It must be a Scalix problem, why does Scalix pass email from a client but not by webmail? anybody got any ideas, I am not looking for a step by step guide ( though that would be nice :-) ) but a pointer for what to read next.
you know you are old when your clothes come back into fashion

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Sun Apr 02, 2006 5:09 am

What email address did you send from on your laptop? Now, what email address did you send from SWA? Are they the same address?

Thanks,
Rachel

hortimech
Posts: 14
Joined: Tue Mar 28, 2006 5:27 pm

Postby hortimech » Sun Apr 02, 2006 6:19 am

If I log into webmail as username@ my domain.org and send email it gets bounced back to hostmaster@my domain.org, this is root (only just found this out). If I send email via kmail as username@my domain.org it gets delivered ok, and yes they are the same username etc. This would suggest to me that I have set Sendmail correctly and the problem lies in Scalix, but I am open to suggestions otherwise
you know you are old when your clothes come back into fashion

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Sun Apr 02, 2006 5:43 pm

Assuming kmail did go through the Scalix SMTP Relay, then SWA is doing exactly the same thing, as it also sends through the SMTP Relay. So, find the entries in the /var/log/maillog file for both the kmail and SWA messages and post those there.

Thanks,
Rachel

hortimech
Posts: 14
Joined: Tue Mar 28, 2006 5:27 pm

Postby hortimech » Tue Apr 04, 2006 2:17 pm

sorry to have been so long in posting this but my samba server went out of action after a power cut.
This is what is at the end of the log,

Apr 1 14:01:01 mailserver sendmail[18099]: k31D10oe018099:
from=<rowland@elslack.org>, size=954, class=0, nrcpts=1, msgid=<17146440.1143896460800.JavaMail.root@mailserver.elslack.org>,
proto=ESMTP, daemon=MTA, relay=mailserver.elslack.org [127.0.0.1]

Apr 1 14:01:01 mailserver sendmail[18101]: k31D10oe018099:
to=<hortimech@f2s.com>, delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=120954, relay=mail9.freedom2surf.net. [194.106.56.33],
dsn=5.1.8, stat=User unknown
Apr 1 14:01:01 mailserver sendmail[18101]: k31D10oe018099: k31D11oe018101: DSN: User unknown

Apr 1 14:01:01 mailserver sendmail[18101]: k31D11oe018101: SYSERR(root): elslack.org. config error: mail loops back to me (MX problem?)

Apr 1 14:01:01 mailserver sendmail[18101]: k31D11oe018101: to=<rowland@elslack.org>, delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=32188,
relay=elslack.org. [10.1.1.230], dsn=5.3.5, stat=Local configuration error

Apr 1 14:01:01 mailserver sendmail[18101]: k31D11oe018101: k31D11of018101: return to sender: Local configuration error

Apr 1 14:01:01 mailserver sendmail[18101]: k31D11of018101: to=root, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=33212, dsn=2.0.0, stat=Sent

Apr 2 04:02:07 mailserver sendmail[18512]: k32327CH018512: from=root, size=2416, class=0, nrcpts=1, msgid=<200604020302.k32327CH018512@mailserver.elslack.org>,
relay=root@localhost

Apr 2 04:02:07 mailserver sendmail[18514]: k32327p4018514: from=<root@mailserver.elslack.org>, size=2724, class=0, nrcpts=1,
msgid=<200604020302.k32327CH018512@mailserver.elslack.org>, proto=ESMTP, daemon=MTA, relay=mailserver.elslack.org [127.0.0.1]

Apr 2 04:02:07 mailserver sendmail[18512]: k32327CH018512: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=32416,
relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (k32327p4018514 Message accepted for delivery)

Apr 2 04:02:08 mailserver sendmail[18515]: k32327p4018514: to=<root@mailserver.elslack.org>, ctladdr=<root@mailserver.elslack.org> (0/0), delay=00:00:01,
xdelay=00:00:00, mailer=local, pri=32964, dsn=2.0.0, stat=Sent

on Apr 1 I sent an email from the scalix webmail, it bounced, on Apr 2 I sent a similar email from kmail on my laptop, this arrived at the intended place, Kmail is set up as username rowland@elslack.org, mailserver 10.1.1.230. the details of my isp are only in sendmail.
I suppose it is possible that kmail did not go through scalix but went straight to sendmail, but if this is the case, then surely scalix should be able to do the same.
you know you are old when your clothes come back into fashion

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Tue Apr 04, 2006 3:11 pm

In Kmail, you said your username is set to xxxxxxx@elslack.org [edited by me] , but do you have different reply to or email address field? If I attempt to send a message through your ISP with your info, I get:

Code: Select all

# telnet 194.106.56.33 25
Trying 194.106.56.33...
Connected to mail9.freedom2surf.net (194.106.56.33).
Escape character is '^]'.
220 i-194-106-56-33.freedom2surf.net ESMTP Sendmail 8.13.4/8.13.4; Tue, 4 Apr 2006 19:47:55 +0100
HELO scalix.com
250 i-194-106-56-33.freedom2surf.net Hello 72-18-242-130.scalix.com [72.18.242.130] (may be forged), pleased to meet you
MAIL FROM: xxxxxxx@elslack.org [edited by me]
250 2.1.0 xxxxxxx@elslack.org... Sender ok
RCPT TO: xxxxxxxxx@f2s.com [edited by me again]
553 5.1.8 xxxxxxxxx@f2s.com... Domain of sender address xxxxxxx@elslack.org does not exist
quit
221 2.0.0 i-194-106-56-33.freedom2surf.net closing connection
Connection closed by foreign host.


so clearly your ISP is not accepting mail if it's FROM the address you posted.

Once again, I come back to the question, if xxxxxxx@elslack.org is not a valid email address, how can people send you email or reply to messages you send?

Lastly, in the logfile you posted, there seems to be a line missing. It should be from April 2 and should show a connection to your ISP with stat=Sent. I see the one from April 1 where the stat=User unknown, but not one that shows a successful sent to your ISP. Could you check your logs again?

Thanks,
Rachel

hortimech
Posts: 14
Joined: Tue Mar 28, 2006 5:27 pm

Postby hortimech » Tue Apr 04, 2006 5:39 pm

If, as you say, my isp is rejecting my emails because my sudo domain does not exist, how did the email on Apr 2 get delivered into my mail box at hortimech@f2s.com? also ifyou look closely at the last line of portion of the log I posted you will find the "stat=Sent".
I have amended sendmail to change the internal domain name to my isp domain name and entered my authentication details.
The question is why does sending from a client work and sending from scalix webmail not,
either scalix uses sendmail or it doesn't or not correctly.
As to the "how will people send me email" question, the answer is simple, they will not send email to my internal address, they will send it to my isp address and I will collect it from there by FETCHMAIL, I will also send all email via my isp.
you know you are old when your clothes come back into fashion

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Tue Apr 04, 2006 6:06 pm

What do you mean, "if, as you say...", I posted the telnet session I had with your ISP. Do you think I made that up? I posted the results from the actual session that shows your ISP is returning that error. That's basically the same conversation that sendmail is having with your ISP.

Second, the last stat=Sent line is from the local delivery:

Code: Select all

Apr 2 04:02:07 mailserver sendmail[18512]: k32327CH018512: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=32416,relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (k32327p4018514 Message accepted for delivery)

Apr 2 04:02:08 mailserver sendmail[18515]: k32327p4018514: to=<root@mailserver.elslack.org>, ctladdr=<root@mailserver.elslack.org> (0/0), delay=00:00:01, xdelay=00:00:00, mailer=local, pri=32964, dsn=2.0.0, stat=Sent


NOT with the connection to your ISP. If you look closely at the entry from April 1, you'll see this:

Code: Select all

Apr 1 14:01:01 mailserver sendmail[18101]: k31D10oe018099: to=<hortimech@f2s.com>, delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=120954, relay=mail9.freedom2surf.net. [194.106.56.33], dsn=5.1.8, stat=User unknown


Notice the relay is mail9.freedom2surf.net. If the message from Kmail passed through the Scalix server to your ISP, there would be a line similar to that with stat=Sent.

Regarding sending from a client vs webmail, I can't tell you why it's working from your client because I haven't seen any logs that show a message from your client passing through to your ISP. It may be the From field is different. It may be it's using AuthSMTP and your ISP allows those through.

Thanks,
Rachel


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 3 guests