Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I am trying to setup mail server since a long time but as I am new to Linux I have unsuccessfully configured it to the best as I could but now I need assistance.

  1. I have installed it using the links below :

  2. I this to have web console also
  3. It should use the domain name as mail.risheetech.com for web console & email address should be something like rishee@risheetech.com
  4. as every one knows it is a big process to setup an mail server, I am not including everything but very small amount of information, but please feel free to ask for any information that you may need to analyze and help me to resolve it.
  5. below is the result of nmap:

    root@risheetech:~# nmap -sS -O 127.0.0.1
    Starting Nmap 5.21 ( //nmap.org ) at 2012-06-09 17:33 IST
    Nmap scan report for localhost (127.0.0.1)
    Host is up (0.000026s latency).
    Not shown: 990 closed ports
    PORT     STATE SERVICE
    23/tcp   open  telnet
    53/tcp   open  domain
    80/tcp   open  http
    110/tcp  open  pop3
    143/tcp  open  imap
    631/tcp  open  ipp
    993/tcp  open  imaps
    995/tcp  open  pop3s
    2000/tcp open  cisco-sccp
    3306/tcp open  mysql
    Device type: general purpose
    Running: Linux 2.6.X
    OS details: Linux 2.6.19 - 2.6.31
    Network Distance: 0 hops
    
    OS detection performed. Please report any incorrect results at //nmap.org/submit/ .
    Nmap done: 1 IP address (1 host up) scanned in 1.67 seconds
    
  6. below is the mail.log file entries.

    tail -f /var/log/mail.log
    May 13 13:30:53 risheetech postfix/master[9018]: warning: /etc/postfix/main.cf: logical line must not start with whitespace: " smtpd_banner = $myhostname ES..."
    May 13 13:30:53 risheetech postfix/master[9018]: fatal: /etc/postfix/master.cf: line 120: bad transport type: -e
    May 13 13:32:05 risheetech postfix/master[9151]: fatal: /etc/postfix/master.cf: line 120: bad transport type: -e
    May 14 09:54:09 risheetech postfix/master[11284]: fatal: /etc/postfix/master.cf: line 120: bad transport type: -e
    Jun  9 17:08:50 risheetech postfix/postfix-script[13856]: starting the Postfix mail system
    Jun  9 17:08:51 risheetech postfix/master[13857]: fatal: /etc/postfix/master.cf: line 120: bad transport type: -e
    Jun  9 17:09:01 risheetech postfix/postfix-script[13863]: error: unknown command: 'restart'
    Jun  9 17:09:01 risheetech postfix/postfix-script[13864]: fatal: usage: postfix start (or stop, reload, abort, flush, check, status, set-permissions, upgrade-configuration)
    Jun  9 17:09:08 risheetech postfix/postfix-script[13977]: starting the Postfix mail system
    Jun  9 17:09:08 risheetech postfix/master[13978]: fatal: /etc/postfix/master.cf: line 120: bad transport type: -e
    

Let me know what else is required to figure out what is the problem. I know it is very complicated and includes lot of other sub questions in it. Please help me.

share|improve this question
    
I have also gone through below links: - help.ubuntu.com/community/Postfix <\ br> - help.ubuntu.com/community/Dovecot <\ br> –  Rishee Jun 11 '12 at 8:30
1  
Your postfix is not running or not listening on port 25. Instead of this semi-h4x0r nmap output, why don't you paste ps -ef | grep postfix and netstat -an | LISTEN | grep 25 ? –  Jiri Xichtkniha Jun 11 '12 at 15:55
    
Can you share dovecot.conf and postfix.conf and check dovecot and postfix services are running? /etc/init.d/dovecot status ; /etc/init.d/postfix status; also telnet 127.0.0.1 25 and telnet 127.0.0.1 143 (imap) –  Jahanzeb Jun 26 '12 at 5:56
    
The first line in your mail.log says that there is white space in front of smtpd_banner. You should remove it. What is line 120 of your master.cf? –  qbi Jan 22 '13 at 11:11

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.