Current User: Guest Login Register
Please consider registering


Register? | Lost Your Password?

Search Forums:


 






Minimum search word length is 4 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

Telnet ERROR

Reply to Post Add a New Topic
UserPost

7:12 am
January 18, 2012


dara.hr

Iran

New Member

posts 2

Hi,

I'm testing configure postfix in redhat enterprise 6.1 and face with below issues when i tried to test it

Quote:
[root@mail ~]# telnet localhost smtp
Trying ::1…
Connected to localhost (::1).
Escape character is '^]'.
220 postfixtest.test ESMTP Postfix
421 4.4.2 mail.postfixtest.test Error: timeout exceeded
Connection closed by foreign host.

and also

Quote:
[root@mail ~]# telnet localhost pop3
Trying ::1…
Connected to localhost (::1).
Escape character is '^]'.
+OK Dovecot ready.
-ERR Disconnected for inactivity.
Connection closed by foreign host.

also

Quote:
myhostname = mail.postfixtest.test
mydomain = postfixtest.test
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain, mail.$mydomain, http://www.$mydomain, http://ftp.$mydomain
inet_protocols = all
myorigin = $mydomain
alias_maps = hash:/etc/aliases
home_mailbox = Maildir/

and the rest of main.cf configuration is default

Quote:
/etc/dovecot/dovecot.conf

protocols = pop3 imap lmtp

/etc/dovecot/conf.d/10-mail.conf

mail_location = maildir:~/Maildir

/etc/dovecot/conf.d/20-pop3.conf

pop3_uidl_format = %08Xu%08Xv
pop3_client_workarounds = outlook-no-nuls oe-ns-eoh

 

Code:
dara@linux-445r:~> nslookup -query=mx mail.icticon.ir
Server:         192.168.1.1
Address:        192.168.1.1#53

Non-authoritative answer:
mail.icticon.ir mail exchanger = 0 mail.icticon.ir.

Authoritative answers can be found from:
icticon.ir      nameserver = ns4.sitelutions.com.
icticon.ir      nameserver = ns5.sitelutions.com.
icticon.ir      nameserver = ns2.sitelutions.com.
icticon.ir      nameserver = ns1.sitelutions.com.
icticon.ir      nameserver = ns3.sitelutions.com.
ns1.sitelutions.com     internet address = 67.208.74.19
ns2.sitelutions.com     internet address = 69.26.176.28
ns3.sitelutions.com     internet address = 66.231.180.140
ns4.sitelutions.com     internet address = 67.208.84.25
ns5.sitelutions.com     internet address = 69.93.94.154

 /var/log/maillog :
 
Code:
Jan 17 14:19:16 mail sendmail[30791]: q0HAnGL4030791: from=abrt@localhost, size=947, class="0", nrcpts=1, msgid=<4f15522c.cwneu7pC19g2Ks0w%abrt@localhost>, relay=root@localhost
Jan 17 14:19:16 mail postfix/smtpd[30794]: connect from localhost[127.0.0.1]
Jan 17 14:19:16 mail postfix/smtpd[30794]: A0BA8540618: client=localhost[127.0.0.1]
Jan 17 14:19:16 mail postfix/cleanup[30797]: A0BA8540618: message-id=<4f15522c.cwneu7pC19g2Ks0w%abrt@localhost>
Jan 17 14:19:16 mail postfix/qmgr[28702]: A0BA8540618: from=<abrt@mail.icticon.ir>, size=1366, nrcpt=1 (queue active)
Jan 17 14:19:16 mail sendmail[30791]: q0HAnGL4030791: to=root@localhost, ctladdr=abrt@localhost (173/173), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30947, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as A0BA8540618)
Jan 17 14:19:16 mail postfix/smtpd[30794]: disconnect from localhost[127.0.0.1]
Jan 17 14:19:16 mail postfix/local[30798]: warning: maildir access problem for UID/GID=0/0: create maildir file /root/Maildir/tmp/1326797356.P30798.mail.icticon.ir: Permission denied
Jan 17 14:19:16 mail postfix/local[30798]: warning: perhaps you need to create the maildirs in advance
Jan 17 14:19:16 mail postfix/local[30798]: A0BA8540618: to=<root@mail.icticon.ir>, relay=local, delay=0.26, delays=0.06/0.09/0/0.1, dsn=5.2.0, status=bounced (maildir delivery failed: create maildir file /root/Maildir/tmp/1326797356.P30798.mail.icticon.ir: Permission denied)
Jan 17 14:19:16 mail postfix/cleanup[30797]: D233A54061B: message-id=<20120117104916.D233A54061B@mail.icticon.ir>
Jan 17 14:19:16 mail postfix/qmgr[28702]: D233A54061B: from=<>, size=3336, nrcpt=1 (queue active)
Jan 17 14:19:16 mail postfix/bounce[30802]: A0BA8540618: sender non-delivery notification: D233A54061B
Jan 17 14:19:16 mail postfix/qmgr[28702]: A0BA8540618: removed
Jan 17 14:19:16 mail postfix/local[30798]: warning: maildir access problem for UID/GID=173/173: create maildir file /etc/abrt/Maildir/tmp/1326797356.P30798.mail.icticon.ir: Permission denied
Jan 17 14:19:16 mail postfix/local[30798]: warning: perhaps you need to create the maildirs in advance
Jan 17 14:19:16 mail postfix/local[30798]: D233A54061B: to=<abrt@mail.icticon.ir>, relay=local, delay=0.01, delays=0.01/0/0/0, dsn=5.2.0, status=bounced (maildir delivery failed: create maildir file /etc/abrt/Maildir/tmp/1326797356.P30798.mail.icticon.ir: Permission denied)
Jan 17 14:19:16 mail postfix/qmgr[28702]: D233A54061B: removed
Jan 17 14:22:30 mail postfix/smtpd[31560]: connect from localhost[::1]
Jan 17 14:27:30 mail postfix/smtpd[31560]: timeout after CONNECT from localhost[::1]
Jan 17 14:27:30 mail postfix/smtpd[31560]: disconnect from localhost[::1]
/var/log/messages :
 
Code:
Jan 17 14:19:05 mail cachefilesd[1607]: Scan complete
Jan 17 14:19:15 mail pam: gdm-smartcard[3280]: argument card_only is not supported by this module
Jan 17 14:19:15 mail pcscd: winscard.c:309:SCardConnect() Reader E-Gate 0 0 Not Found
Jan 17 14:19:15 mail pcscd: winscard.c:309:SCardConnect() Reader E-Gate 0 0 Not Found
Jan 17 14:19:15 mail pcscd: winscard.c:309:SCardConnect() Reader E-Gate 0 0 Not Found
Jan 17 14:19:15 mail pcscd: winscard.c:309:SCardConnect() Reader E-Gate 0 0 Not Found
Jan 17 14:19:15 mail pcscd: winscard.c:309:SCardConnect() Reader E-Gate 0 0 Not Found
Jan 17 14:19:16 mail abrt[30786]: saved core dump of pid 30784 (/usr/libexec/fprintd) to /var/spool/abrt/ccpp-1326797356-30784.new/coredump (757760 bytes)
Jan 17 14:19:16 mail abrtd: Directory 'ccpp-1326797356-30784' creation detected
Jan 17 14:19:16 mail abrtd: New crash /var/spool/abrt/ccpp-1326797356-30784, processing
Jan 17 14:19:22 mail setroubleshoot: SELinux is preventing /usr/libexec/postfix/local "write" access on /root. For complete SELinux messages. run sealert -l f0f33129-e039-48cb-8f95-66323329e65d
Jan 17 14:19:28 mail gnome-session[30823]: EggSMClient-WARNING: Desktop file '/etc/xdg/autostart/esc.desktop' has malformed Icon key 'esc.png'(should not include extension)
Jan 17 14:19:28 mail seahorse-daemon[30953]: init gpgme version 1.1.8
Jan 17 14:19:30 mail rtkit-daemon[2641]: Sucessfully made thread 30975 of process 30975 (/usr/bin/pulseaudio) owned by '501' high priority at nice level -11.
Jan 17 14:19:31 mail rtkit-daemon[2641]: Sucessfully made thread 31019 of process 31019 (/usr/bin/pulseaudio) owned by '501' high priority at nice level -11.
Jan 17 14:19:31 mail pulseaudio[31019]: pid.c: Daemon already running.
Jan 17 14:19:32 mail pcscd: winscard.c:309:SCardConnect() Reader E-Gate 0 0 Not Found
Jan 17 14:19:32 mail pcscd: winscard.c:309:SCardConnect() Reader E-Gate 0 0 Not Found
Jan 17 14:19:32 mail pcscd: winscard.c:309:SCardConnect() Reader E-Gate 0 0 Not Found
Jan 17 14:19:35 mail cachefilesd[1607]: Scan complete
Jan 17 14:19:35 mail pcscd: winscard.c:309:SCardConnect() Reader E-Gate 0 0 Not Found
Jan 17 14:19:47 mail kernel: ip_tables: (C) 2000-2006 Netfilter Core Team
Jan 17 14:20:05 mail cachefilesd[1607]: Scan complete
Jan 17 14:20:35 mail cachefilesd[1607]: Scan complete
Jan 17 14:21:05 mail cachefilesd[1607]: Scan complete
Jan 17 14:21:06 mail abrt[31499]: saved core dump of pid 31498 (/usr/libexec/fprintd) to /var/spool/abrt/ccpp-1326797466-31498.new/coredump (757760 bytes)
Jan 17 14:21:06 mail abrtd: Directory 'ccpp-1326797466-31498' creation detected
Jan 17 14:21:06 mail abrtd: Crash is in database already (dup of /var/spool/abrt/ccpp-1326797356-30784)
Jan 17 14:21:06 mail abrtd: Deleting crash ccpp-1326797466-31498 (dup of ccpp-1326797356-30784), sending dbus signal
Jan 17 14:21:35 mail cachefilesd[1607]: Scan complete
Jan 17 14:22:05 mail cachefilesd[1607]: Scan complete
Jan 17 14:22:35 mail cachefilesd[1607]: Scan complete
Jan 17 14:22:48 mail abrt[31596]: saved core dump of pid 31595 (/usr/libexec/fprintd) to /var/spool/abrt/ccpp-1326797568-31595.new/coredump (757760 bytes)
Jan 17 14:22:48 mail abrtd: Directory 'ccpp-1326797568-31595' creation detected
Jan 17 14:22:49 mail abrtd: Crash is in database already (dup of /var/spool/abrt/ccpp-1326797356-30784)
Jan 17 14:22:49 mail abrtd: Deleting crash ccpp-1326797568-31595 (dup of ccpp-1326797356-30784), sending dbus signal
Jan 17 14:23:05 mail cachefilesd[1607]: Scan complete
Jan 17 14:23:35 mail cachefilesd[1607]: Scan complete
Jan 17 14:24:05 mail cachefilesd[1607]: Scan complete
Jan 17 14:24:35 mail cachefilesd[1607]: Scan complete
Jan 17 14:25:05 mail cachefilesd[1607]: Scan complete
Jan 17 14:25:35 mail cachefilesd[1607]: Scan complete
Jan 17 14:26:05 mail cachefilesd[1607]: Scan complete
Jan 17 14:26:35 mail cachefilesd[1607]: Scan complete
Jan 17 14:27:05 mail cachefilesd[1607]: Scan complete
Jan 17 14:27:35 mail cachefilesd[1607]: Scan complete
Jan 17 14:28:05 mail cachefilesd[1607]: Scan complete
Jan 17 14:28:35 mail cachefilesd[1607]: Scan complete
Jan 17 14:29:05 mail cachefilesd[1607]: Scan complete
Jan 17 14:29:35 mail cachefilesd[1607]: Scan complete
Jan 17 14:30:05 mail cachefilesd[1607]: Scan complete
Jan 17 14:30:35 mail cachefilesd[1607]: Scan complete
Jan 17 14:31:05 mail cachefilesd[1607]: Scan complete
Jan 17 14:31:35 mail cachefilesd[1607]: Scan complete
Jan 17 14:32:05 mail cachefilesd[1607]: Scan complete
Jan 17 14:32:35 mail cachefilesd[1607]: Scan complete
Jan 17 14:33:05 mail cachefilesd[1607]: Scan complete
Jan 17 14:33:35 mail cachefilesd[1607]: Scan complete

Also I  made some changes but still face with same ERROR.

 1.at dovecot.conf
 
Code:
# A comma separated list of IPs or hosts where to listen in for connections.
# "*" listens in all IPv4 interfaces, "::" listens in all IPv6 interfaces.
# If you want to specify non-default ports or anything more complex,
# edit conf.d/master.conf.
listen = *, ::
2.
 
Code:
[root@mail ~]# alternatives --display mta | grep current
 link currently points to /usr/sbin/sendmail.sendmail
3.
Code:
[root@mail ~]# sestatus
SELinux status:                 enabled
SELinuxfs mount:                /selinux
Current mode:                   enforcing
Mode from config file:          enforcing
Policy version:                 24
Policy from config file:        targeted
4.
 
Code:
[root@mail ~]# getsebool -a | grep postfix
allow_postfix_local_write_mail_spool --> on
6.also I changes SElinux to enforcing .

 5.My DNS is public and set in sitelution.com , the default value of priority is 0 and according to their instruction if the mail server is default so i should set the value 0 and if not I should set 5!anyway I changed it to 10

 but still I face with same ERROR,Does it make sense?
Reply to Post

Reply to Topic:
Telnet ERROR

Guest Name (Required):

Guest Email (Required):

Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
12 + 9
   


About the Linux Mail Server Setup and Howto Guide Forum

Forum Timezone: America/New_York

Most Users Ever Online: 60

Currently Online:
16 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 2
Forums: 5
Topics: 343
Posts: 1062

Membership:

There are 966 Members
There have been 91 Guests

There is 1 Admin

Top Posters:

shanmugasundaram s – 46
Kendermin – 15
Ginger – 14
bighorn – 14
iron_michael86 – 12
Raminda – 11

Recent New Members: waveney, achal, niesul14, hesaum, sreevinodss, nasonov

Administrators: consultant (353 Posts)