Koozali.org: home of the SME Server

mail from outside (user unknown)

Michiel de Jager

mail from outside (user unknown)
« on: June 21, 2002, 01:36:30 PM »
Hello,

I have a problem when sending mail to my server.
When I sent mail from a pc within the same network to the server there's no problem.
But when I sent a message from an other pc on the internet to my sme-server
I get the following error in a return mail to the sending computer.

 ----- The following addresses had permanent fatal errors -----


   ----- Transcript of session follows -----
... while talking to madern.mine.nu.:
>>> RCPT To:
<<< 553 Requested action not taken: mailbox name not allowed
550 ... User unknown


What can I do about this?

robert

Re: mail from outside (user unknown)
« Reply #1 on: June 21, 2002, 03:23:30 PM »
Try sending to michiel@mine.nu or even michiel@mail.mine.nu

Michiel de Jager

Re: mail from outside (user unknown)
« Reply #2 on: June 21, 2002, 03:27:48 PM »
But my domain name is madern.mine.nu
the sever name is webmail

so complete name of server is webmail.madern.mine.nu

but when i sent to that address I get a message that the host doesn't exist.

robert wrote:
>
> Try sending to michiel@mine.nu or even michiel@mail.mine.nu

Bob

Re: mail from outside (user unknown)
« Reply #3 on: June 21, 2002, 04:10:01 PM »
Shouldn't you send it to michiel.de.jager@madern.mine.nu?

Because in SME/E-Smith your username is michiel, but usually your email
address is FIRSTNAME.LASTNAME@DOMAIN_NAME.

Michiel de Jager

Re: mail from outside (user unknown)
« Reply #4 on: June 21, 2002, 04:24:44 PM »
When I sent from a pc within the internal network it works, so the mailaddress is good.


Bob wrote:
>
> Shouldn't you send it to michiel.de.jager@madern.mine.nu?
>
> Because in SME/E-Smith your username is michiel, but usually
> your email
> address is FIRSTNAME.LASTNAME@DOMAIN_NAME.

robert

Re: mail from outside (user unknown)
« Reply #5 on: June 21, 2002, 05:12:15 PM »
Anything useful in your maillog?

Bill Talcott

Re: mail from outside (user unknown)
« Reply #6 on: June 21, 2002, 06:06:54 PM »
Bob wrote:
>
> Shouldn't you send it to michiel.de.jager@madern.mine.nu?
>
> Because in SME/E-Smith your username is michiel, but usually
> your email
> address is FIRSTNAME.LASTNAME@DOMAIN_NAME.

The name on the mailbox is "username" as well. SME automatically sets up pseudonyms for firstname.lastname and firstname_lastname, which forward to the username. Just FYI...

Michiel de Jager

Re: mail from outside (user unknown)
« Reply #7 on: June 21, 2002, 06:30:09 PM »
Nope

robert wrote:
>
> Anything useful in your maillog?

Bobby

Re: mail from outside (user unknown)
« Reply #8 on: June 21, 2002, 08:15:38 PM »
Could it be a DNS issue? Maybe the server mail is getting directed to from outside is at your ISP or something, but internally it's resolving it ok? Just guessing here.

Tom Carroll

Re: mail from outside (user unknown)
« Reply #9 on: June 22, 2002, 07:40:53 AM »
Are you using pop3 mail or doing this through the webmail panel?

Ruusvuu

Re: mail from outside (user unknown)
« Reply #10 on: June 23, 2002, 12:15:52 AM »
In order for my users to be able to SEND mail through my server via OE or something - not webmail/IMP - I need to add their IP as a local network.  They can receive ok without this, but they con only SEND if they are listed as a local network.

HTH

Tom Carroll

Re: mail from outside (user unknown)
« Reply #11 on: June 23, 2002, 12:44:45 AM »
You should check out Nathan Fowlers pop-before-smtp.  It may be what you are looking for.

http://www.stickit.nu/pop-before-smtp

There is a pretty good thread about it's security here:

http://forums.contribs.org/index.php?topic=14166.msg53873#msg53873


Tom

Michiel de Jager

Re: mail from outside (user unknown)
« Reply #12 on: June 24, 2002, 11:29:23 AM »
Hello Guys,

SENDING MAIL IS NO PROBLEM.
The problem is that I can't receive any mail from the internet.
And it isn't a DNS problem.

Ruusvuu wrote:
>
> In order for my users to be able to SEND mail through my
> server via OE or something - not webmail/IMP - I need to add
> their IP as a local network.  They can receive ok without
> this, but they con only SEND if they are listed as a local
> network.
>
> HTH

Michiel de Jager

Re: mail from outside (user unknown)
« Reply #13 on: June 24, 2002, 01:49:49 PM »
Maybe this helps?
This is the connection to my mailserver.
As you can see, the connection is oke, but the mail can't be send.
When I try it from a pc within my network I have no problem.

Please help me, I ran out of ideas.

[Contacting testmadern.mine.nu [213.201.157.230]...]
[Connected]
220 SMTP service ready
HELO hexillion.com
250 Requested mail action okay, completed
VRFY michiel
250 Requested mail action okay, completed
RSET
250 Requested mail action okay, completed
EXPN michiel
250 Requested mail action okay, completed
RSET
250 Requested mail action okay, completed
MAIL FROM:
250 Requested mail action okay, completed
RCPT TO:
553 Requested action not taken: mailbox name not allowed
[Unfavorable reply code, cannot continue]
QUIT
221 SMTP server closing transmission channel
[Connection closed]

Michiel de Jager

Re: mail from outside (user unknown)
« Reply #14 on: June 24, 2002, 04:51:35 PM »
Maybe interesting;

I am behind a router and a firewall.
I use NAT to translate my local ip to a public ip.
All required ports are open (pop,http,https,smtp)

kevin Manderson

Re: mail from outside (user unknown)
« Reply #15 on: June 24, 2002, 04:51:57 PM »
Looks similar to the problem I and a number of others have queried. Appears to be a problem with 5.1.2. SME sometimes will accept mail and sometimes won't. I can get 3 e-mails in a row with identical addresses and one is bounced.

I have basically given up on SME for mail and am currently building a sendmail based mail server. I know that will work.

Regards
kevin

Michiel de Jager

Re: mail from outside (user unknown)
« Reply #16 on: June 24, 2002, 04:58:03 PM »
Well,

It isn't the same problem, for I have it with 5.1.2 and with 5.5b9
and it hasn't worked one time.

kevin Manderson wrote:
>
> Looks similar to the problem I and a number of others have
> queried. Appears to be a problem with 5.1.2. SME sometimes
> will accept mail and sometimes won't. I can get 3 e-mails in
> a row with identical addresses and one is bounced.
>
> I have basically given up on SME for mail and am currently
> building a sendmail based mail server. I know that will work.
>
> Regards
> kevin

Ruusvuu

Re: mail from outside (user unknown)
« Reply #17 on: June 24, 2002, 05:50:44 PM »
Tom Carroll wrote:
>
> You should check out Nathan Fowlers pop-before-smtp.  It may
> be what you are looking for.
>
> http://www.stickit.nu/pop-before-smtp
>
> There is a pretty good thread about it's security here:
>
> http://forums.contribs.org/index.php?topic=14166.msg53873#msg53873
>
>
> Tom

Tom!

I did this - everything seemed to go as outlined.
I don't know what's going on for some folks, but I do not have a problem that I know of.

Nathan Fowler

Re: mail from outside (user unknown)
« Reply #18 on: June 24, 2002, 11:21:43 PM »
I have seen issues where the smtpd_check_rules file was corrupt and it did cause some odd behavior.  If you are willing to send /var/spool/smtpd/etc/smtpd_check_rules I could look it over and hopefully isolate the problem.

Hope this helped,
Nathan

Michiel de Jager

Re: mail from outside (user unknown)
« Reply #19 on: June 24, 2002, 11:32:27 PM »
But I don't have such a file, I have just a basic e-smith installation.

Nathan Fowler wrote:
>
> I have seen issues where the smtpd_check_rules file was
> corrupt and it did cause some odd behavior.  If you are
> willing to send /var/spool/smtpd/etc/smtpd_check_rules I
> could look it over and hopefully isolate the problem.
>
> Hope this helped,
> Nathan

Nathan Fowler

Re: mail from outside (user unknown)
« Reply #20 on: June 24, 2002, 11:57:11 PM »
If you don't have the file /var/spool/smtpd/etc/smtpd_check_rules then that would be why you are unable to receive incoming mail.

Michiel de Jager

Re: mail from outside (user unknown)
« Reply #21 on: June 25, 2002, 12:02:43 AM »
How can I fix this?

Nathan Fowler wrote:
>
> If you don't have the file
> /var/spool/smtpd/etc/smtpd_check_rules then that would be why
> you are unable to receive incoming mail.

Michiel de Jager

Re: mail from outside (user unknown)
« Reply #22 on: June 25, 2002, 12:04:14 AM »
I also dont have the smtpd/etc/ directory in my var/spool directory

Nathan Fowler wrote:
>
> If you don't have the file
> /var/spool/smtpd/etc/smtpd_check_rules then that would be why
> you are unable to receive incoming mail.

Dan Brown

Re: mail from outside (user unknown)
« Reply #23 on: June 25, 2002, 12:06:45 AM »
Yes, you do have such a file, it's part of the basic installation.

Nathan Fowler

Re: mail from outside (user unknown)
« Reply #24 on: June 25, 2002, 12:08:17 AM »
/sbin/e-smith/expand-template /var/spool/smtpd/etc/smtpd_check_rules

ls -la /var/spool/smtpd/etc/|grep smtpd_check_rules

And, yes Dan is correct, this is part of the default installation and you should have this file.

Michiel de Jager

Re: mail from outside (user unknown)
« Reply #25 on: June 25, 2002, 12:09:22 AM »
I have installed it on two machines, several times, and never had that file.

I also have a pc where I have no problems and there isn't the file either

Dan Brown wrote:
>
> Yes, you do have such a file, it's part of the basic
> installation.

Michiel de Jager

Re: mail from outside (user unknown)
« Reply #26 on: June 25, 2002, 12:12:40 AM »
When I do that I get the message: no templates where found for ........

I think I don't need this file at all

Nathan Fowler wrote:
>
> /sbin/e-smith/expand-template
> /var/spool/smtpd/etc/smtpd_check_rules
>
> ls -la /var/spool/smtpd/etc/|grep smtpd_check_rules
>
> And, yes Dan is correct, this is part of the default
> installation and you should have this file.

Nathan Fowler

Re: mail from outside (user unknown)
« Reply #27 on: June 25, 2002, 12:15:00 AM »
If you want your SMTPD to receive incoming mail, you need this file.  If you don't have this file, you have either a buggy installation of E-Smith, or you have deleted the template directory or the file itself.

What version of E-Smith do you have?  I recommend you reinstall...

Michiel de Jager

Re: mail from outside (user unknown)
« Reply #28 on: June 25, 2002, 12:16:05 AM »
At he moment I am running 5.5b9 but a have the same with 5.1.2

Nathan Fowler wrote:
>
> If you want your SMTPD to receive incoming mail, you need
> this file.  If you don't have this file, you have either a
> buggy installation of E-Smith, or you have deleted the
> template directory or the file itself.
>
> What version of E-Smith do you have?  I recommend you
> reinstall...

Nathan Fowler

Re: mail from outside (user unknown)
« Reply #29 on: June 25, 2002, 12:19:56 AM »
I have no idea why you don't have this file, you should.  I'm 4.1.2 and I have this file.  5.5 folks have this file as well.  Not having this file is your problem.

Nathan

Michiel de Jager

Re: mail from outside (user unknown)
« Reply #30 on: June 25, 2002, 12:20:57 AM »
I must call it a day today, I'll mail again tomorrow.
Have a nice day.


Michiel de Jager wrote:
>
> At he moment I am running 5.5b9 but a have the same with 5.1.2
>
> Nathan Fowler wrote:
> >
> > If you want your SMTPD to receive incoming mail, you need
> > this file.  If you don't have this file, you have either a
> > buggy installation of E-Smith, or you have deleted the
> > template directory or the file itself.
> >
> > What version of E-Smith do you have?  I recommend you
> > reinstall...

Damien Curtain

Re: mail from outside (user unknown)
« Reply #31 on: June 25, 2002, 03:53:20 AM »
Michiel de Jager wrote:
>
> At he moment I am running 5.5b9 but a have the same with 5.1.2

Then ignore what others have said about requiring smtpd_check_rules as this beta doesn't include obtuse smtpd. Instead try and gather as much info as you can and potentially post a bug report to Mitel. If your going to run a beta ensure you read the release notes and change logs. I can't seem to find a page on the Mitel development site that lists changes between releases and betas, you'd assume it exists right?

I wouldn't be so quick to dismiss the possiblity that it's an MX issue. The only extract I saw was a client session, which may or may not have actually been on your e-smith server. Post the corresponding session logs from your server.

> Nathan Fowler wrote:
> >
> > If you want your SMTPD to receive incoming mail, you need
> > this file.  If you don't have this file, you have either a
> > buggy installation of E-Smith, or you have deleted the
> > template directory or the file itself.
> >
> > What version of E-Smith do you have?  I recommend you
> > reinstall...

Michiel de Jager

Re: mail from outside (user unknown)
« Reply #32 on: June 25, 2002, 11:31:02 AM »
I did some tests again and found that it works great at home on a laptop, but the same laptop didn't recieve mail at work.
The only difference is that at home I use a standard ADSL line with a draytek vigor2200E router.
And at work we have a bigger adsl line with 16-IP-Addresses.
And At home I have to use a mailrelay server from my provider, and at work I don't.
I Have redirected the following ports "smtp-pop-http-https" and as you can see there is communication between the sender and the sme-server.

Maybe this is helpfull to somebody?

Damien Curtain wrote:
>
> Michiel de Jager wrote:
> >
> > At he moment I am running 5.5b9 but a have the same with
> 5.1.2
>
> Then ignore what others have said about requiring
> smtpd_check_rules as this beta doesn't include obtuse smtpd.
> Instead try and gather as much info as you can and
> potentially post a bug report to Mitel. If your going to run
> a beta ensure you read the release notes and change logs. I
> can't seem to find a page on the Mitel development site that
> lists changes between releases and betas, you'd assume it
> exists right?
>
> I wouldn't be so quick to dismiss the possiblity that it's an
> MX issue. The only extract I saw was a client session, which
> may or may not have actually been on your e-smith server.
> Post the corresponding session logs from your server.
>
> > Nathan Fowler wrote:
> > >
> > > If you want your SMTPD to receive incoming mail, you need
> > > this file.  If you don't have this file, you have either a
> > > buggy installation of E-Smith, or you have deleted the
> > > template directory or the file itself.
> > >
> > > What version of E-Smith do you have?  I recommend you
> > > reinstall...

Michiel de Jager

Re: mail from outside (user unknown)
« Reply #33 on: June 25, 2002, 01:38:37 PM »
Problem solved,

It was my watchguard firebox that stopped the mail from entering my domain.

Thanks for all your help.

Greetz,
Michiel