Geting Virtualmin running

as for Postfix, I tend to stay away from it as it works on my machine.
However under Webmin - servers - Postfix Mail Server is where you can configure it/make changes.

OK… I tried it again.

[code:1]
May 27 01:16:59 lotek-tux postfix/smtp[15175]: connect to alt2.gmail-smtp-in.l.google.com[72.14.221.114]:25: No route to host
May 27 01:16:59 lotek-tux postfix/smtp[15176]: connect to alt1.gmail-smtp-in.l.google.com[209.85.163.27]:25: No route to host
May 27 01:17:00 lotek-tux postfix/smtp[15175]: connect to alt2.gmail-smtp-in.l.google.com[72.14.221.27]:25: No route to host
May 27 01:17:00 lotek-tux postfix/smtp[15176]: connect to alt2.gmail-smtp-in.l.google.com[72.14.221.27]:25: No route to host
May 27 01:17:04 lotek-tux postfix/smtp[15175]: connect to alt1.gmail-smtp-in.l.google.com[209.85.163.27]:25: No route to host
May 27 01:17:04 lotek-tux postfix/smtp[15176]: connect to alt2.gmail-smtp-in.l.google.com[72.14.221.114]:25: No route to host
May 27 01:17:04 lotek-tux postfix/smtp[15176]: BC26A834437: to=<**********@gmail.com>, relay=none, delay=377, delays=356/0.05/21/0, dsn=4.4.1, status=deferred (connect to alt2.gmail-smtp-in.l.google.com[72.14.221.114]:25: No route to host)
May 27 01:17:04 lotek-tux postfix/smtp[15175]: 1FD8F834445: to=<@gmail.com>, relay=none, delay=29979, delays=29958/0.05/21/0, dsn=4.4.1, status=deferred (connect to alt1.gmail-smtp-in.l.google.com[209.85.163.27]:25: No route to host)
May 27 01:17:32 lotek-tux postfix/pickup[15168]: 5593A834439: uid=1001 from=<
@lotek-tux.lotek.homelinux.com>
May 27 01:17:32 lotek-tux postfix/cleanup[15281]: 5593A834439: message-id=<1211869052.15191@lotek-tux.lotek.homelinux.com>
May 27 01:17:32 lotek-tux postfix/qmgr[15170]: 5593A834439: from=<
@lotek-tux.lotek.homelinux.com>, size=722, nrcpt=1 (queue active)
May 27 01:17:32 lotek-tux postfix/error[15283]: 5593A834439: to=<
@gmail.com>, relay=none, delay=0.05, delays=0.04/0.01/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to alt1.gmail-smtp-in.l.google.com[209.85.163.27]:25: No route to host)
[/code:1]

I have no idea what’s going on here… Am I not authenticating? What’s the deal? What about DynDns? I’m lost.

I tried to delete the second posting and it keeps throwing me an error message.

Oh, and I can telnet in locally and remotely to the fqdn on port 25 so it does work. (and I get the 250 starttls when I run ehlo). I wanted this setup because I thought it would allow me to get emails and the such easily, but it appears I was mistaken. Does anyone have any experience with any of this? I’ve been googling and tried too many things to note and none have worked. Thanks.

well it says "no route to host"
I think you have to get into your dns a bit deeper else it will never work. Per haps DynDNS needs a bit more time to refresh, i dont know.

Looks like your nameservers do not agree on the SOA serial. Ths SOA records as reported by your nameservers:
204.13.249.75 -> 2045748127
63.208.196.90 -> 2045748130
203.62.195.75 -> 2045748125
91.198.22.75 -> 2045748127
208.78.69.75 -> 2045748127
This can cause some serious problems that is why you should fix this asap.

Your SOA serial number is: 2045748127. That is NOT OK

you are using this mailserver 10 mx1.mailhop.org
where is your mailserver from where you send email?
it should be in your zonefile: 5 lotek.homelinux.com or a mailserver from a domain you have created on the system.

isn’t DynDNS needed if your external IP is not static?
Per haps you can get a static IP at your ISP

hehe i also can not edit my posts. I think you can disregard my post about the dns as it seems to keep changing anyway. I have no experience with DynDNS and I don’t want to give wrong advice.

I really think you should open a support ticket and troubleshoot this last issue with Jamie.

Ok. I’ll do that and yes DynDns is for a non-static IP and my ISP charges an arm and a leg for it.

I fixed one problem, but created another. I’m able to send mail now. But now I can’t receive it. Here are the lines I changed in my main.cf

[code:1]
smtpd_sasl_local_domain = $myhostname # It was empty before
smtpd_sasl_auth_enable = no # It was yes before

smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous
relayhost = [smtp.gmail.com]:587
smtp_sasl_mechanism_filter = plain, login
smtpd_sasl_application_name = smtpd
transport_maps = hash:/etc/postfix/transport
smtp_tls_per_site = hash:/etc/postfix/tls_per_site
[/code:1]
And here’s my transport file:

[code:1]

  •   smtp:[smtp.gmail.com]:587
    

[/code:1]

and tls_per_site:

[code:1]
smtp.gmail.com MUST
[/code:1]

So then I attempt to put them all back to the way it was and I can’t receive email.

OK now when i send an email to myself from outside this is the error I get in my email back:

[code:1]
This is an automatically generated Delivery Status Notification

Delivery to the following recipient failed permanently:

******@lotek-tux.homelinux.com

Technical details of permanent failure:
PERM_FAILURE: DNS Error: Domain name not found
[/code:1]

OK. I get that. I know what it means. What I don’t get is why is it sending it to lotek-tux.homelinux.com when I’m sending it to lotek.homelinux.com? What would change the delivery? I’m quite confused right now. See because even my hostname isn’t lotek-tux.homelinux.com it’s lotek-tux.lotek.homelinux.com. Is that wrong? should it be different?

your hostname is lotek.homelinux.com and is or at least should say so in the webmins module networking-network configuration-Hostname and DNS Client

where also the ip’s 127.0.0.1 and either the dyndns IP’s or the dns given by the router should be.
Then in Host Addresses you’ll add the domain: 192.168.1.150 lotek.homelinux.com, lotek
this is what i think. But again as I have no experience at all with DynDNS, I wouldn’t want to give wrong advice.

The first server you created should then have been homelinux.com in my opinion
I think Jamie will give you the correct solution

I know this is a bit late but debian etch just rocks as a server and plays very nicely with VM.

If you need a VM Pro I am your man !!
http://www.virtualmin.com/forums/jobs/looking-for-new-clients.html

BTW – ALL mail servers require bind to be installed on the server regardless if you are using a outside dns server.

If you don’t you will get these postfix errors.

OK. I'm going to restart from a scratch base install of Ubuntu. Does anyone have a version they'd recommend. I have from 6.06 to 8.04 all editions so I don't really care at this point.

8.04LTS is preferred. 6.06 has some horrendously old packages, and some ugly little bugs.

I'm going to start by installing Webmin and install Virtualmin as a module (that's the way you're supposed to right?). Also, when I start over again, should I install from the .deb or from the tar.gz.

No. And never tar.gz if there are native packages available. It would make no sense.

There is quite a lot of documentation on installation:

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

And there are two other places in the documentation wiki that describe installation in detail. We strongly recommend you not try to install Virtualmin manually–it’s a really complicated process, and you really need to know a lot about your OS and all of the various services to get it all right. Thus, we went to a lot of trouble to make a nice automatic installation script so you don’t have to do all of that stuff, and don’t have to get frustrated or pissed. :wink: