Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have a VPS server that I would like to get an SSL certificate for, and the CA needs an email address to verify that I own the domain. The options are: postermaster@mydomain.com, hostmaster@mydomain.com, webmaster@mydomain.com, and an address to @whoisguard.com.

The server runs CentOS 5, and all I have set up for email is sendmail. I don't have POP3 or IMAP. According to this Wikipedia article on Postmaster, it says that all SMTP servers support postmaster and it cites RFC 5321. Does sendmail conform to this? I tried sending a test mail to postermaster@mydomain.com, but I don't know how to receive it on my server. Do I need to open up any ports?

I haven't gotten a message back saying that my test mail failed to send, so my server must have gotten it.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Take a look at /etc/aliases. Usually, postmaster is redirected to root; the question becomes who gets root's mail Best practice is to add an alias to route it to your email address (e.g. root: me@gmail.com), then sudo newaliases to install the new alias file.

share|improve this answer
    
I tried this. I checked /var/mail/root, and my Gmail account; I sent 4 or 5 emails, and I haven't gotten any of them. Do I need to setup any permissions to receive mail? /etc/mail/access for instance? –  jonescb Mar 13 '11 at 0:09
    
Possibly, but first you need to know what's happening to the mail. Check /var/log/mail for error messages, and run mailq to see if the messages are "stuck" for some reason and why. –  geekosaur Mar 13 '11 at 0:15
    
The mail log only has stuff from when I ran newaliases. mailq says the queue is empty. –  jonescb Mar 13 '11 at 1:41
    
I think the problem is that I can't access port 25. I shut down iptables, and nmap says port 25 is filtered which probably means my VPS provider is blocking it. –  jonescb Mar 13 '11 at 2:34

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.