These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for postfix on the new forum.
I really hope this is the correct forum if not I send my apologize before hand. Im using Ubuntu 12.04.3 LTS with Vitualmin 4.04 gpl. A fresh instalation using the automatization tool from the website.
Everytime that I open the system window the postfix mail server item shows a cross that the sevice is down, but when I activated it runs ok but when I click refresh system information again shows the cross. I have not been able to send email at all
In a fresh Virtualmin installation on Ubuntu 12, Postfix should work okay out of the box. Maybe you're experiencing a memory issue or similar. Is this a VPS or a physical host? If VPS, is it a Virtuozzo system? How much memory do you have?
What output do you get for this in a shell: (please enclose screen listings in
[code]
[/code] tags)Howdy,
In addition to Locutus's excellent thoughts, you may also want to take a look in your mail logs, in /var/log/mail.log, to see if there's any errors or other helpful information in there.
Also, if you're using an OpenVZ or Virtuozzo VPS, can you paste in the contents of your /proc/user_beancounters file?
Thanks!
-Eric
As I wrote, please enclose shell listings in
[code]
[/code] tags to preserve monospace font and line breaks. Otherwise your text is unreadable.sorry Im trying to paste it in the correct format I will try again
Seems you're not performing these commands as root. You might want to retry them as root. Also, please fix your second post with the mail.log and add the code tags.
this is with root
Please perform ALL those commands I listed as root. Also, I repeat, please fix the code tags in your post with the mail.log excerpt.
Dear Locutus, I really want to tell you THANKS for all your patience with me. Really appreciated. I did not change the lasts messages because was the same that I fixed before, now I did all of them for you, promise I was not ignoring you, sorry if I gave the wrong impression. Also I am copying the results with root access. Thanks for helping me out.
Okay, so it looks like Postfix is running okay after you start it with the "service" command. Not sure why Virtualmin would assume it to still be down; might be that it's configured to look in the wrong place for its process ID file.
The key problem message in your mail log seems to be this one:
Dec 21 12:35:48 sipeicenet postfix/trivial-rewrite[3567]: warning: do not list domain sipeicenet.iownyour.org in BOTH mydestination and virtual_alias_domains
This usually occurs when you create the domain part or the full text of your server's FQDN as a Virtualmin server. This is not recommended. What output do you get for these:
Also, please post the outputs of these:
If that information does not help, please repeat the process that gives you errors, and tell us precisely what you did (send/receive mail from where to where using which IPs etc.), and post log excerpts of the attempt.
Thanks for all the replies, this is the info you ask me to produce
Okay, there seem to be several discrepancies between your various configuration files. For one, you should decide on one FQDN for your server. You have a variety of "sipeicenet", "sipeicesrv" and "sipeice" in your config files.
Let's say your FQDN is "australis.mydomain.de", and the server's external IP is "1.2.3.4". Then you need the following contents: (postconf output is only an excerpt of the relevant lines)
Also, do not create the FQDN of your host as a Virtualmin virtual server! It will result in the Postfix warning that you received.
Ok I will follow this example, what can I do if I have a dynamic external IP? Im using a DNS services
Dynamic external IP... are you forwarding to Virtualmin via NAT? Then use the LAN IP instead. Make sure though to use an externally resolvable name as your FQDN.
You'll run into trouble though if you try to operate your own public nameserver on a dynamic IP. You should get a static one or a hosted server for that, or use external nameservers.
NAT / home connections / dynamic IPs make server hosting with Virtualmin (and in general) a lot more complicated.