Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 31st January 2008, 15:17
ayush1440 ayush1440 is offline
Junior Member
 
Join Date: Jan 2008
Posts: 11
Thanks: 3
Thanked 0 Times in 0 Posts
Default getting problem with postfix and dovecot

hello frends
i m facing a problem with postfix and dovecot.i m using fedora core 6 and postfix-2.3.3-2 and dovecot-1.0-0.1.rc7.fc6..now my postconf -n detail is
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
html_directory = no
inet_interfaces = $myhostname, localhost
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mydomain = dharanetworks.com
myhostname = server.dharanetworks.com
mynetworks = 192.168.1.0/24, 127.0.0.0/8
mynetworks_style = subnet
myorigin = $myhostname
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
relay_domains = $mydomain
relayhost = $mydomain
sample_directory = /usr/share/doc/postfix-2.3.3/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
unknown_local_recipient_reject_code = 550


well now my network sceneraio is .. a isp directly connected to a route and route is a dhcp server. and we use router's ip as a default gateway we use on server and client..
i configure postfix and dovecot and we use outlook express as a email client on client pc.. now when i m sending email from outlook .then error occures..i ll give u log detail. please tell me whats the problem?

vi /var/log/maillog
Jan 31 13:07:10 server postfix/smtpd[11152]: connect from unknown[192.168.1.6]
Jan 31 13:07:10 server postfix/smtpd[11152]: 1DD731FA8632: client=unknown[192.168.1.6]
Jan 31 13:07:10 server postfix/cleanup[11155]: 1DD731FA8632: message-id=<20080131180710.1DD731FA8632@server.dharanetwor ks.com>
Jan 31 13:07:10 server postfix/qmgr[10967]: 1DD731FA8632: from=<admin@dharanetworks.com>, size=2180, nrcpt=1 (queue active)
Jan 31 13:07:10 server postfix/smtp[11156]: connect to mail.dharanetworks.com[61.11.35.136]: Connection refused (port 25)
Jan 31 13:07:10 server postfix/smtp[11156]: connect to dharanetworks.com[61.11.35.136]: Connection refused (port 25)
Jan 31 13:07:10 server postfix/smtp[11156]: 1DD731FA8632: to=<abidhusain786@yahoo.com>, relay=none, delay=0.15, delays=0.03/0.01/0.12/0, dsn=4.4.1, status=deferred (connect to dharanetworks.com[61.11.35.136]: Connection refused)
Jan 31 13:07:12 server postfix/smtpd[11152]: disconnect from unknown[192.168.1.6]
Jan 31 13:07:16 server dovecot: pop3-login: Login: user=<admin>, method=PLAIN, rip=::ffff:192.168.1.6, lip=::ffff:192.168.1.1
Jan 31 13:07:16 server dovecot: POP3(admin): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
Reply With Quote
Sponsored Links
  #2  
Old 31st January 2008, 16:25
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 153 Times in 150 Posts
Default

Is the ip address 61.11.35.136 on that same server, looks like postfix is trying to verify the sender thus its trying to connect to the MX record and connections are not being allowed.
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
  #3  
Old 31st January 2008, 16:38
ayush1440 ayush1440 is offline
Junior Member
 
Join Date: Jan 2008
Posts: 11
Thanks: 3
Thanked 0 Times in 0 Posts
Default ip is

61.11.35.136 ip is our live ip who gave us by internet service provider ..
Reply With Quote
  #4  
Old 31st January 2008, 16:43
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 153 Times in 150 Posts
Default

Is that on the router or on the mail server ?
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
The Following User Says Thank You to topdog For This Useful Post:
ayush1440 (31st January 2008)
  #5  
Old 31st January 2008, 16:46
ayush1440 ayush1440 is offline
Junior Member
 
Join Date: Jan 2008
Posts: 11
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by topdog
Is that on the router or on the mail server ?
it is ADSL roueter ip which is given by our isp for broadband internet connection.
Reply With Quote
  #6  
Old 31st January 2008, 17:00
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 153 Times in 150 Posts
Default

Can you maybe rename the server to mail.dharanetworks.com. or if not setup dns to have 2 views, mail.dharanetworks.com to point to local ip on the inside and mail.dharanetworks.com -> 61.11.35.136 on the outside.

or try adding it to the /etc/hosts

I am sure this is being caused by some kind of sender verification within postfix
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
The Following User Says Thank You to topdog For This Useful Post:
ayush1440 (31st January 2008)
  #7  
Old 31st January 2008, 19:13
ayush1440 ayush1440 is offline
Junior Member
 
Join Date: Jan 2008
Posts: 11
Thanks: 3
Thanked 0 Times in 0 Posts
Default cannot understand log

Quote:
Originally Posted by topdog
Can you maybe rename the server to mail.dharanetworks.com. or if not setup dns to have 2 views, mail.dharanetworks.com to point to local ip on the inside and mail.dharanetworks.com -> 61.11.35.136 on the outside.

or try adding it to the /etc/hosts

I am sure this is being caused by some kind of sender verification within postfix
thank you ma frend..its working now..
but when i m monitor log then sometime...
Jan 31 11:26:40 server postfix/anvil[3162]: statistics: max connection rate 1/60s for (smtp:217.42.107.200) at Jan 31 11:23:17
Jan 31 11:26:40 server postfix/anvil[3162]: statistics: max connection count 1 for (smtp:217.42.107.200) at Jan 31 11:23:17
Jan 31 11:26:40 server postfix/anvil[3162]: statistics: max cache size 1 at Jan 31 11:23:17
i see this log..
so what is this? and if it is a virum,spam or something else..then tell me how can i prevent this..
thaks again .. bro
Reply With Quote
  #8  
Old 31st January 2008, 19:26
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 153 Times in 150 Posts
Default

Quote:
Originally Posted by ayush1440
thank you ma frend..its working now..
but when i m monitor log then sometime...
Jan 31 11:26:40 server postfix/anvil[3162]: statistics: max connection rate 1/60s for (smtp:217.42.107.200) at Jan 31 11:23:17
Jan 31 11:26:40 server postfix/anvil[3162]: statistics: max connection count 1 for (smtp:217.42.107.200) at Jan 31 11:23:17
Jan 31 11:26:40 server postfix/anvil[3162]: statistics: max cache size 1 at Jan 31 11:23:17
i see this log..
so what is this? and if it is a virum,spam or something else..then tell me how can i prevent this..
thaks again .. bro
Thats not a problem it is normal it is anvil with is a postfix program that keeps track of connections if you want to do some kind of connection limiting its what you use. So don't bother about it.
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
  #9  
Old 31st January 2008, 19:36
ayush1440 ayush1440 is offline
Junior Member
 
Join Date: Jan 2008
Posts: 11
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by topdog
Thats not a problem it is normal it is anvil with is a postfix program that keeps track of connections if you want to do some kind of connection limiting its what you use. So don't bother about it.
thanx a lot ..
Reply With Quote
  #10  
Old 1st February 2008, 10:52
ayush1440 ayush1440 is offline
Junior Member
 
Join Date: Jan 2008
Posts: 11
Thanks: 3
Thanked 0 Times in 0 Posts
 
Default plase help for this log

warning: database /etc/aliases.db is older than source file /etc/aliases
Feb 1 01:18:19 server postfix/smtpd[4825]: connect from 220-133-119-46.HINET-IP.hinet.net[220.133.119.46]
Feb 1 01:18:21 server postfix/smtpd[4825]: NOQUEUE: reject: RCPT from 220-133-119-46.HINET-IP.hinet.net[220.133.119.46]: 554 5.7.1 <support@microsoft.com>: Relay access denied; from=<support@microsoft.com> to=<support@microsoft.com> proto=SMTP helo=<61.11.35.136>
Feb 1 01:18:21 server postfix/smtpd[4825]: lost connection after RCPT from 220-133-119-46.HINET-IP.hinet.net[220.133.119.46]
Feb 1 01:18:21 server postfix/smtpd[4825]: disconnect from 220-133-119-46.HINET-IP.hinet.net[220.133.119.46]



what is this log and what is the support@microsoft address? we never use that email address. so someone use? please help me
thank you my frend
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
postfix + dovecot + postfixadmin - problem with quota kosta Server Operation 3 24th August 2007 22:08
Problem on email server using postfix and dovecot beautiful HOWTO-Related Questions 10 12th April 2007 16:17
please help: trouble logging into pop3 with postfix & dovecot the block Server Operation 2 16th November 2006 16:22
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 15:47
Suse Postfix + Dovecot + ISP Config + smtp Auth; recieving problem! fatum112 HOWTO-Related Questions 2 15th January 2006 19:03


All times are GMT +2. The time now is 02:24.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.