I started off with clean Centos 5.2 Install (no apache, mysql, )
I downloaded the setup script and ran it. I do plan on registering this, just trying this out to get basic hang of it.
Once done, I updated my test domain to point to it.
I updated my godaddy dns record to point the the public shared ip
setup dmain as a virtual server
created a user
connected via local vtp and upload simple html page
can view it viw web browser on remote link.
When I try and send an email from Yahoo I get error :
<lou@sportcrm.net>:
204.14.167.40 does not like recipient.
Remote host said: 554 5.7.1 <lou@sportcrm.net>: Relay access denied
Giving up on 204.14.167.40.
Its obviously finding the host, but for some reason it does not see email.
Once this is resolved, need to get a better Webmail front end. My users are coming from a Cobalt Raq and are used to accessing web mail via mail.<their domain>/webmail
ANyway, thanks for reading this and any suggestions or help will be appreciated.
What do you see in the email logs, in /var/log/maillog?
Regarding webmail – by default, Usermin is available by going to webmail.USERDOMAIN.com.
By editing the Server Template (Apache Website), you can make that webmail link go to any URL you like – it’s Usermin by default, but you could have it go to, say, a RoundCube installation.
-Eric
I am able to remote pop the mailbox to see that I have email. However the maillog excerpt… below shows me trying to email myself from my yahoo account. Could it have something to do with how the account is named?
Jan 27 12:24:42 vhost postfix/master[30031]: daemon started – version 2.3.3, configuration /etc/postfix
Jan 27 12:25:05 vhost postfix/smtpd[30082]: connect from web180514.mail.gq1.yahoo.com[67.195.15.112]
Jan 27 12:25:05 vhost postfix/smtpd[30082]: NOQUEUE: reject: RCPT from web180514.mail.gq1.yahoo.com[67.195.15.112]: 554 5.7.1 <lou@sportcrm
.net>: Relay access denied; from=<lfeliz@yahoo.com> to=<lou@sportcrm.net> proto=SMTP helo=<web180514.mail.gq1.yahoo.com>
Jan 27 12:25:05 vhost postfix/smtpd[30082]: disconnect from web180514.mail.gq1.yahoo.com[67.195.15.112]
Jan 27 12:25:11 vhost dovecot: pop3-login: Login: user=<lou.sportcrm>, method=PLAIN, rip=::ffff:76.227.239.144, lip=::ffff:172.16.1.98
Jan 27 12:25:11 vhost dovecot: POP3(lou.sportcrm): Disconnected: Logged out top=1/756, retr=0/0, del=0/1, size=1176
Jan 27 12:28:25 vhost postfix/anvil[30084]: statistics: max connection rate 1/60s for (smtp:67.195.15.112) at Jan 27 12:25:05
Jan 27 12:28:25 vhost postfix/anvil[30084]: statistics: max connection count 1 for (smtp:67.195.15.112) at Jan 27 12:25:05
Jan 27 12:28:25 vhost postfix/anvil[30084]: statistics: max cache size 1 at Jan 27 12:25:05
To answer your question, I don’t think it’s the account name, but I’m not quite sure what the issue is ATM Hopefully the above questions help point us in the right direction. Thanks!
-Eric
I have only setup on initial test user to try email out at this time.
I logged in as root and used the command and root was able to send the message. I verified by using an RemotePop from a PC using the mail.sportcrm.net as mail host.
I am ssh’ing via vpn connection to the ip (.98) as root
I noticed that the DNS settings in server all contain the local machine IP, which hopefully are not a problem given that I NAT the public IP to the IP on my DMZ. Could it be a problem that the VM host vhost.directfile.com is not registered? I could have an entry added to our DNS that resolves that name to the public ip .40 ?
Commands you requested are below :
[root@vhost ~]# host -a sportcrm.net
Trying "sportcrm.net"
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 5069
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 1
I was looking around and saw a DNS setting in VirtualMIN
IP address for use in DNS records Same as real address (172.16.1.98) I changed it to the public IP .40 address and mail still not coming in.
Hopefully this is just part of tweaking the installation. My goal is to replace an aging Sun Cobalt Raq with Centos 5/Virtual Min on a new dell server I have.
Also tried simple sMTP test using the Local IP as SMTP server to send email to yahoo.
My guess is that the two may or may not be related.
Jan 28 01:09:23 vhost postfix/anvil[12881]: statistics: max connection rate 1/60s for (smtp:67.195.15.112) at Jan 28 01:06:03
Jan 28 01:09:23 vhost postfix/anvil[12881]: statistics: max connection count 1 for (smtp:67.195.15.112) at Jan 28 01:06:03
Jan 28 01:09:23 vhost postfix/anvil[12881]: statistics: max cache size 1 at Jan 28 01:06:03
Jan 28 01:12:18 vhost postfix/smtpd[13000]: connect from unknown[192.168.0.197]
Jan 28 01:12:19 vhost postfix/smtpd[13000]: NOQUEUE: reject: RCPT from unknown[192.168.0.197]: 554 5.7.1 <lfeliz@yahoo.com>: Relay access denied;
from=<lou@sportcrm.net> to=<lfeliz@yahoo.com> proto=SMTP helo=<LATLOU>
Jan 28 01:12:19 vhost postfix/smtpd[13000]: disconnect from unknown[192.168.0.197]
I will check back here again later today. IF there is anything else I need to try let me know. I could also arrange for someone to get remote access to my desktop and then ssh into box from there, but that is a last resort. I may try building another VM and see if same problem persists.
The 10.20.0.171 ip was me sending an email out from my office where that mail server to functions behind a NAT’d IP (Communigate Pro). I have 250 users sending email through that box daily and its just how it error’d back to me.
Yes 172.16.1.98 is my Private IP on my DMZ network which is NAT’d to the .40 public ip.
Do most users just expose the server to public internet? I have always nat’d my servers only opening the required ports.
Is there some kind of diagnostic I can provide. Could it be something in the DNS on the Virtualmin host itself?
I can’t say that not being on a NAT’d connection would solve the problem. I’m not quite sure what the issue is.
But, it would rule out a whole host of possible issues
To answer your question, I do think most folks run Virtualmin on a public server, and that’s certainly the easiest way to set it up. That’s what I do, but I run firewall software on the server itself, and only open up ports that need to be available.
However, it should work either way.
Does /etc/postfix/main.cf have a virtual_alias_maps line such as this:
virtual_alias_maps = hash:/etc/postfix/virtual
and, does /etc/postfix/virtual have a line such as:
Hi … Yes I have several domains parked. I will go ahead and make the DNS changes on one of them and add it to Virtualmin in the morning and report back hear as to what I observe.
I will also probably try installing VirutalMin into a new linux VM running Centos 5.2 again
I add a new domain and the entry was added to the virtual file.
I was able to email a user from yahoo, so looks like it was fluke. I will confirm after I do a clean re-install and repeat the process adding the same first domain and then the second.
hi,
i’m having the same problem,i cant recieve emails, but i can send them, however i checked my virtual file and it contained the entry domain.comdomain.com but i still cant get emails. i’m running ubuntu 8.04, and my ip is dynamic i think though it doesnt get changed very often. for my dns i’m using godaddy since i have a domain from them, i created an A record pointing to my IP