Client can not login to Usermin !

10 posts / 0 new
Last post
#1 Sun, 03/29/2009 - 07:36
Anonymous

Client can not login to Usermin !

Hello,

I just set up a new user on a server using my root admin.

The new user appears to be fine:

[img size=500]http://www.expert-world.com/im/test/menu8.jpg[/img]

BUT ...

... when I try to login as that user at:

https://www.hub-me.com:20000

I get this:

[img size=500]http://www.expert-world.com/im/test/menu9.jpg[/img]

Any ideas what I have done wrong ?

Sun, 03/29/2009 - 07:48
andreychek

It looks like the username you're using there is "dave", but in the Mail and FTP Users screenshot you posted above, it shows the "IMAP/FTP login" as "dave.hubbit".

Try changing the username, I think that'll fix it up :-)
-Eric

Mon, 03/30/2009 - 06:04 (Reply to #2)
ronald
ronald's picture

the fist thing I would look at is the hostname of the server.
in a shell type hostname and if it says com.com then its wrong.
per haps it should be ns1.heavyhoster.com

Sun, 03/29/2009 - 09:55
Davvit

OK,
thanks that works now... BUT

... the email that I sent to dave@hub-me.com from
my gmail did not arrive.

hear is my virtualmin screen:

[img size=500]http://www.expert-world.com/im/test/menu10.jpg[/img]

Why isn't my email getting through ?

Can someone please send me an email to:
dave@hub-me.com

and see if it works :)

Sun, 03/29/2009 - 10:10 (Reply to #4)
andreychek

What shows up in the email logs? That would be either /var/log/maillog or /var/log/mail.log.
-Eric

Sun, 03/29/2009 - 10:26
Davvit

Just took a look at the user logs for mail
and I see a lot of this type of entry:

Mar 29 16:19:18 heavyhoster postfix/qmgr[24478]: B2F7A7AE2C4: to=<root@com.com>, relay=none, delay=114001, delays=113967/33/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to com.com[216.239.113.101]: No route to host)
Mar 29 16:19:18 heavyhoster postfix/qmgr[24478]: B42377AE351: to=<root@com.com>, relay=none, delay=178001, delays=177967/33/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to com.com[216.239.113.101]: No route to host)

Here is another couple that were sent to a server I set up
that is called webmaster@bargain-books.net, again there is that com.com !

Mar 29 16:19:18 heavyhoster postfix/qmgr[24478]: 5CE037AE2C7: to=<bargain-books@com.com>, orig_to=<webmaster@bargain-books.net>, relay=none, delay=107306, delays=107273/33/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to com.com[216.239.113.101]: No route to host)
Mar 29 16:19:18 heavyhoster postfix/qmgr[24478]: 5675F7AE2A9: to=<bargain-books@com.com>, orig_to=<webmaster@bargain-books.net>, relay=none, delay=243576, delays=243543/33/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to com.com[216.239.113.101]: No route to host)

what is this com.com ?

have I set something up wrong ?

Here is the last test email that I sent:

Mar 29 16:44:05 heavyhoster postfix/smtpd[26198]: connect from fg-out-1718.google.com[72.14.220.157]
Mar 29 16:44:06 heavyhoster postfix/smtpd[26198]: 53B267AE297: client=fg-out-1718.google.com[72.14.220.157]
Mar 29 16:44:06 heavyhoster postfix/cleanup[26202]: 53B267AE297: message-id=<172102d10903291208p907ef1dk610fc8aba2ff5134@mail.gmail.com>
Mar 29 16:44:06 heavyhoster postfix/qmgr[24478]: 53B267AE297: from=<dave.fethiye@gmail.com>, size=1642, nrcpt=1 (queue active)
Mar 29 16:44:06 heavyhoster postfix/smtp[26203]: connect to com.com[216.239.113.101]: No route to host (port 25)

Can you see what I need to do to sort this out ?

Mon, 04/06/2009 - 07:11
Davvit

Under System Information,

System hostname heavyhoster.com
Operating system CentOS Linux 5
Webmin version 1.470
Virtualmin version 3.67 Pro
Theme version 6.8
Kernel and CPU Linux 2.6.18-53.1.14.el5 on i686

So it doesn't say "com.com"

I have been trying to get to the cause of this problem
for over a week now, and I still can not get emails
to my server !

I have another thread in the VirtualMin forum where I have
given all the information I can find and yet no solution
is turning up !

What can I do now ?

Mon, 04/06/2009 - 07:23 (Reply to #7)
andreychek

I don't remember if any of us has tried this yet, but if not, is there any chance I could log into your system and take a look?

The best way to do this is by enabling the remote support module, as described here:

http://www.virtualmin.com/documentation/id,support_requests_and_remote_l...

The second best way would be to simply email me the login details :-) You can email me using eric@virtualmin.com -- be sure to include a link to this forum thread, as well as an email address that should work on your system so I can test it out.

Thanks!
-Eric

Mon, 04/06/2009 - 10:00
Davvit

No need,

I commented out the line:

myorigin = $mydomain

from the etc/postfix/main.cf file.

Then restarted the postfix server.

The emails then got through ok.

To check that it was not just the reboot, I uncommented it
rebooted and emailed again.
This time the emails failed again.

So thats the problem.

This line should be commented out
myorigin = $mydomain

But I don't know why ...

Wed, 06/24/2009 - 08:10
Joe
Joe's picture

This line should be commented out myorigin = $mydomain

But I don't know why ...

I know why! ;-)

myorigin does not do what you think it does. In addition to doing what you expect, it also sets the destination that Postfix tries to deliver "local" mail to. Which, if it does not match exactly the hostname of your system, as Postfix knows it, it will cause mail to fail.

This one little line from the Postfix docs is the only clue about why this happens, "For the sake of consistency between sender and recipient addresses, myorigin also specifies the default domain name that is appended to an unqualified recipient address."

Nobody ever sets it correctly (and if your hostname ever changes, it could cause mail to "mysteriously" fail), so I strongly recommend not setting it at all...Postfix will then naturally always have the right destination for "unqualified recipient addresses" (which is a fancy way of saying "mail to be delivered to local users").

--

Check out the forum guidelines!

Topic locked