postfix configuration
hi all,
this is all about postfix. My distro mandrake 10.1 i am not getting telnet response on port 23.i am sure postfix is running.what shoould i do now ? pls advice |
Postfix (and other mail servers) doesn't listen on port 23, it listens on port 25.
|
Quote:
that was mistyped pls ignore it.as i told i am able to connect on port 25 but no banner what should i do ? |
/var/log/mail/errors log.
Aug 11 22:42:36 server1 postfix/smtpd[29537]: fatal: open database /etc/postfix/ aliases.db: Invalid argument Aug 11 22:43:37 server1 postfix/smtpd[29574]: fatal: open database /etc/postfix/ aliases.db: Invalid argument Aug 11 22:44:38 server1 postfix/smtpd[29614]: fatal: open database /etc/postfix/ aliases.db: Invalid argument [root@server1 root]# /var/log/mail/warnings log shows, Aug 11 22:43:38 server1 postfix/master[26410]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling Aug 11 22:44:39 server1 postfix/master[26410]: warning: process /usr/lib/postfix /smtpd pid 29614 exit status 1 Aug 11 22:44:39 server1 postfix/master[26410]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling Aug 11 22:45:40 server1 postfix/master[26410]: warning: process /usr/lib/postfix /smtpd pid 29661 exit status 1 Aug 11 22:45:40 server1 postfix/master[26410]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling [root@server1 root]# [root@server1 root]# telnet 192.168.2.2 25 Trying 192.168.2.2... Connected to server1.vareesh.linuxhome.org (192.168.2.2). Escape character is '^]'. pls advice |
hi,
Now i am getting error: Aug 12 01:37:09 server1 postfix/smtpd[4358]: fatal: open database /var/lib/mailman/data/aliases.db: No such file or directory Aug 12 01:38:11 server1 postfix/smtpd[4395]: fatal: open database /var/lib/mailman/data/aliases.db: No such file or directory Aug 12 01:39:12 server1 postfix/smtpd[4433]: fatal: open database /var/lib/mailman/data/aliases.db: No such file or directory Aug 12 01:40:13 server1 postfix/smtpd[4477]: fatal: open database /var/lib/mailman/data/aliases.db: No such file or directory [root@server1 data]# cp /etc/postfix/ali aliases aliases.db aliases.db.db any idea about this now .. as before this error i was getting eror as /etc/postfix/aliases.db: Invalid argument which has been resolved ...i just added a file aliases.db and done. |
Code:
Aug 11 22:42:36 server1 postfix/smtpd[29537]: fatal: open database /etc/postfix/ |
Now i am able to get response by giving telnet on port 25 .
[root@server1 root]# telnet 192.168.2.2 25 Trying 192.168.2.2... Connected to server1.vareesh.linuxhome.org (192.168.2.2). Escape character is '^]'. 220 server1.vareesh.linuxhome.org ESMTP Postfix (2.1.4) (Mandrake Linux) ehlo localhost 250-server1.vareesh.linuxhome.org 250-PIPELINING 250-SIZE 10240000 250-VRFY 250-ETRN 250-STARTTLS 250-AUTH GSSAPI 250-AUTH=GSSAPI 250 8BITMIME mail from:vareesh@vareesh.linuxhome.org 250 Ok rcpt to:vareesh@vareesh.linuxhome.org 250 Ok data 354 End data with <CR><LF>.<CR><LF> test mail . 250 Ok: queued as F313A102E6 quit 221 Bye Connection closed by foreign host. [root@server1 root]# [root@server1 root]# telnet 192.168.2.2 pop3 Trying 192.168.2.2... Connected to server1.vareesh.linuxhome.org (192.168.2.2). Escape character is '^]'. +OK POP3 server1.vareesh.linuxhome.org 2004.87mdk server ready user vareesh +OK User name accepted, password please pass #password +OK Mailbox open, 0 messages quit +OK Sayonara Connection closed by foreign host. [root@server1 root]# so where is my mail ? |
It's confusing talking to a person using two different accounts.
Quote:
|
i am getting /var/log/mail/info
Aug 12 22:09:05 server1 postfix/smtpd[29795]: connect from server1.vareesh.linuxhome.org[192.168.2.2] Aug 12 22:09:05 server1 postfix/smtpd[29795]: match_list_match: server1.vareesh.linuxhome.org: no match Aug 12 22:09:05 server1 postfix/smtpd[29795]: match_list_match: 192.168.2.2: no match Aug 12 22:09:05 server1 postfix/smtpd[29795]: match_list_match: server1.vareesh.linuxhome.org: no match Aug 12 22:09:05 server1 postfix/smtpd[29795]: match_list_match: 192.168.2.2: no match Aug 12 22:09:05 server1 postfix/smtpd[29795]: > server1.vareesh.linuxhome.org[192.168.2.2]: 220 server1.vareesh.linuxhome.org ESMTP Postfix (2.1.4) (Mandrake Linux) Aug 12 22:09:05 server1 postfix/smtpd[29795]: watchdog_pat: 0x80858c8 nothing in /var/log/mail/errors |
I think you've turn on debugging, which isn't necessary here. Anyway, notice that while submitting your mail test you, postfix gave you its queue id number (highlighted below in bold type):
Code:
354 End data with <CR><LF>.<CR><LF> Code:
Aug 12 09:24:25 server1 postfix/local[29974]: F313A102E6: to=<vareesh@vareesh.linuxhome.org>, relay=local, delay=18, delays=18/0.02/0/0.1, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail) |
Aug 12 23:06:27 server1 postfix/smtpd[32034]: connect from server1.vareesh.linuxhome.org[192.168.2.2]
Aug 12 23:07:22 server1 postfix/smtpd[32034]: 18E16102E6: client=server1.vareesh.linuxhome.org[192.168.2.2] Aug 12 23:07:31 server1 postfix/cleanup[32107]: 18E16102E6: message-id=<20070812173701.18E16102E6@server1.vareesh.linuxhome.org> Aug 12 23:07:31 server1 postfix/qmgr[31197]: 18E16102E6: from=<vareesh@vareesh.linuxhome.org>, size=434, nrcpt=1 (queue active) Aug 12 23:07:32 server1 postfix/local[32114]: 18E16102E6: to=<vareesh@server1.vareesh.linuxhome.org>, orig_to=<vareesh@vareesh.linuxhome.org>, relay=local, delay=31, status=sent (delivered to mailbox) Aug 12 23:07:32 server1 postfix/qmgr[31197]: 18E16102E6: removed Aug 12 23:07:35 server1 postfix/smtpd[32034]: disconnect from server1.vareesh.linuxhome.org[192.168.2.2] [root@server1 /]# |
Quote:
|
ya ./..it is
[root@server1 root]# cat /var/mail/vareesh [root@server1 root]# cd /var/mail/ [root@server1 mail]# ls vareesh [root@server1 mail]# cat /var/mail/vareesh [root@server1 mail]# but i am not able to open it ..and a folder Mailbox has been created in vareesh. but it is not opening as well seems it need some kind of athentication . |
Is /var/mail/vareesh a directory? What's the output of "ls -ld /var/mail/vareesh"?
Edit: You also should also post the output of "postconf -n". I have to go, but hopefully, someone else will pickup the thread here. If your mail isn't in /var/mail of /var/spool somewhere (either in mbox or maildir format), it may be in your home directory somewhere. Anyway, good luck. |
no ..its a file i mean at /home/vareesh
[root@server1 mail]# cd /var/spool/mail/ [root@server1 mail]# ls vareesh [root@server1 mail]# ls -ld /var/mail/vareesh -rw-rw---- 1 vareesh mail 0 Aug 12 18:04 /var/mail/vareesh [root@server1 mail]# |
All times are GMT -5. The time now is 05:29 AM. |