Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
hi all,
this is all about postfix. My distro mandrake 10.1
i am not getting telnet response on port 25.i am sure postfix is running.what shoould i do now ?
pls advice
that was mistyped pls ignore it.as i told i am able to connect on port 25 but no banner what should i do ?
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.
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]#
It's confusing talking to a person using two different accounts.
Quote:
so where is my mail ?
Your mail logs will show which delivery agent did the final delivery, which should give you a good idea where your mail went. Then, you just have to make sure your POP3 server looks for the mail in that place.
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>
test mail
.
250 Ok: queued as F313A102E6
quit
221 Bye
Connection closed by foreign host.
grep your mail logs for that queue id. Toward the end, you should see the logs of the delivery agent. For example, if the local delivery agent was called, you might see a line that looks like this:
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)
This means that the delivery agent was local, but that it in turn called procmail.
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)
Ok. This means that your mail is probably in the spool directory (/var/spool/mail/vareesh, or something similar). See if you can find it there. Otherwise, we'll have to check your postfix config.
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 .
Last edited by soroccoheaven; 08-12-2007 at 12:55 PM.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.