Results 1 to 10 of 33
Hi all,
I'm having a issues with my new install of postfix. Its running on a Centos 5x server with webmin installed. I can email out of the server no ...
- 06-10-2008 #1Just Joined!
- Join Date
- Apr 2008
- Posts
- 24
postfix sending but not recieving
Hi all,
I'm having a issues with my new install of postfix. Its running on a Centos 5x server with webmin installed. I can email out of the server no problem but somehow can not receive email. I can telnet into port 110 fine but I cant telnet into the 25 port. The server is behind a router using NAT and I checked the routers firewall just to make sure its letting in port 25 traffic and it is. Could it be that my mx record is not right? When I do an mx records search I get no result but here is my mx record settings
mail.mydomain.net
MX
63.xxx.xxx.10
10
3600
Does that seem right? Would I have to make a CNAME as well for the mail.mydomain.com? Also is there another place I can check to see if port 25 is open on the server?
Thanks!
UPdate: I can telnet into port 25 on the box itself but not from the outside world.
- 06-10-2008 #2
sounds like 2 seperate issues. first port 25 isn't open to the machine. and then if your mx record isn't correct then others just won't be able to find you.
can you telnet to port 25 from any other machine on the same network?
- 06-10-2008 #3Just Joined!
- Join Date
- Apr 2008
- Posts
- 24
No i cant I just tried it. just tells me the connection failed.
Could it be an iptables issue?
thanks
- 06-10-2008 #4Just Joined!
- Join Date
- Apr 2008
- Posts
- 24
update.
I am able to ssh to that server from another box on the network.
but i cant ssh outside the network..
does that help?
- 06-10-2008 #5
well I wouldn't say open ssh to the outside, that won't help this situation.
open /etc/postfix/main.cf
and tell me what the line
saysCode:inet_interfaces =
- 06-11-2008 #6Just Joined!
- Join Date
- Jun 2008
- Location
- Australia
- Posts
- 5
I was going to suggest that...
inet_interfaces = all (try that for testing)
then do a postfix reload
- 06-11-2008 #7Just Joined!
- Join Date
- Apr 2008
- Posts
- 24
I'll just post the whole cf file
Code:# # Postfix master process configuration file. For details on the format # of the file, see the master(5) manual page (command: "man 5 master"). # # ========================================================================== # service type private unpriv chroot wakeup maxproc command + args # (yes) (yes) (yes) (never) (100) # ========================================================================== smtp inet n - n - - smtpd #submission inet n - n - - smtpd # -o smtpd_enforce_tls=yes # -o smtpd_sasl_auth_enable=yes # -o smtpd_client_restrictions=permit_sasl_authenticated,reject #smtps inet n - n - - smtpd # -o smtpd_tls_wrappermode=yes # -o smtpd_sasl_auth_enable=yes # -o smtpd_client_restrictions=permit_sasl_authenticated,reject #628 inet n - n - - qmqpd pickup fifo n - n 60 1 pickup cleanup unix n - n - 0 cleanup qmgr fifo n - n 300 1 qmgr #qmgr fifo n - n 300 1 oqmgr tlsmgr unix - - n 1000? 1 tlsmgr rewrite unix - - n - - trivial-rewrite bounce unix - - n - 0 bounce defer unix - - n - 0 bounce trace unix - - n - 0 bounce verify unix - - n - 1 verify flush unix n - n 1000? 0 flush proxymap unix - - n - - proxymap smtp unix - - n - - smtp # When relaying mail as backup MX, disable fallback_relay to avoid MX loops relay unix - - n - - smtp -o fallback_relay= # -o smtp_helo_timeout=5 -o smtp_connect_timeout=5 showq unix n - n - - showq error unix - - n - - error discard unix - - n - - discard local unix - n n - - local virtual unix - n n - - virtual lmtp unix - - n - - lmtp anvil unix - - n - 1 anvil scache unix - - n - 1 scache # # ==================================================================== # Interfaces to non-Postfix software. Be sure to examine the manual # pages of the non-Postfix software to find out what options it wants. # # Many of the following services use the Postfix pipe(8) delivery # agent. See the pipe(8) man page for information about ${recipient} # and other message envelope options. # ==================================================================== # # maildrop. See the Postfix MAILDROP_README file for details. # Also specify in main.cf: maildrop_destination_recipient_limit=1 # maildrop unix - n n - - pipe flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient} # # The Cyrus deliver program has changed incompatibly, multiple times. # old-cyrus unix - n n - - pipe flags=R user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -m ${extension} ${user} # Cyrus 2.1.5 (Amos Gouaux) # Also specify in main.cf: cyrus_destination_recipient_limit=1 cyrus unix - n n - - pipe user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -r ${sender} -m ${extension} ${user} # # See the Postfix UUCP_README file for configuration details. # uucp unix - n n - - pipe flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient) # # Other external delivery methods. # ifmail unix - n n - - pipe flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient) bsmtp unix - n n - - pipe flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
- 06-11-2008 #8
thats the master.cf file, we are looking for main.cf
- 06-11-2008 #9Just Joined!
- Join Date
- Apr 2008
- Posts
- 24
My bad I misread
Code:#inet_interfaces = all #inet_interfaces = $myhostname #inet_interfaces = $myhostname, localhost inet_interfaces = localhost
- 06-11-2008 #10Just Joined!
- Join Date
- Apr 2008
- Posts
- 24
so just edit this line for =all?
inet_interfaces = localhost
or just uncomment this line
#inet_interfaces = all
?


Reply With Quote