Koozali.org: home of the SME Server

Cant get or send mail, please help

msm3333

Cant get or send mail, please help
« on: November 15, 2004, 05:45:01 PM »
Hi there!

I have installed the current version of sme with the clam av and cd-utils. everything works fine except sending and receiving mails.
I disabled the smpt proxy as told in the readme. I can ping my pop and smtp servers from the sme console directly but not from a workstation. Outlook says in cannot connect to the servers. But it works fine when the workstation is connected directliy over modem to the internet. Internet always works fine.

any ideas?

Thanks a lot

guest22

Cant get or send mail, please help
« Reply #1 on: November 15, 2004, 11:34:26 PM »
Hi,

Does the how-to says who the author is. Maybe you can contact him/her for specific problems on that specific contrib / how-to. Next to the info you probably will get in return, I'm sure the author would appreciate your feedback!

RequestedDeletion

msm3333

Cant get or send mail, please help
« Reply #2 on: November 16, 2004, 09:30:44 AM »
Thanks for the answer, but I do not think this is an specific problem of the clam how-to or the cd-utils how-to. I also had these problems before.

In the meantime I discovered that I cannot access FTP either. So if someone could just check my iptables? Perhaps the problem is in there....

Thanks

Code: [Select]
Chain INPUT (policy DROP)
target     prot opt source               destination
state_chk  all  --  anywhere             anywhere
local_chk  all  --  anywhere             anywhere
PPPconn    all  --  anywhere             anywhere
DROP       all  --  BASE-ADDRESS.MCAST.NET/4  anywhere
DROP       all  --  anywhere             BASE-ADDRESS.MCAST.NET/4
InboundICMP  icmp --  anywhere             anywhere
denylog    icmp --  anywhere             anywhere
InboundTCP  tcp  --  anywhere             anywhere           tcp flags:SYN,RST,ACK/SYN
denylog    tcp  --  anywhere             anywhere           tcp flags:SYN,RST,ACK/SYN
InboundUDP  udp  --  anywhere             anywhere
denylog    udp  --  anywhere             anywhere
gre-in     gre  --  anywhere             anywhere
denylog    gre  --  anywhere             anywhere
denylog    all  --  anywhere             anywhere

Chain FORWARD (policy DROP)
target     prot opt source               destination
state_chk  all  --  anywhere             anywhere
local_chk  all  --  anywhere             anywhere
ForwardedTCP  tcp  --  anywhere             anywhere           tcp flags:SYN,RST,ACK/SYN
ForwardedUDP  udp  --  anywhere             anywhere
denylog    all  --  anywhere             anywhere

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
PPPconn    all  --  anywhere             anywhere
DROP       all  --  BASE-ADDRESS.MCAST.NET/4  anywhere
DROP       all  --  anywhere             BASE-ADDRESS.MCAST.NET/4
OutboundICMP  icmp --  anywhere             anywhere
denylog    icmp --  anywhere             anywhere
ACCEPT     all  --  anywhere             anywhere

Chain ForwardedTCP (1 references)
target     prot opt source               destination
ForwardedTCP_6516  all  --  anywhere             anywhere
denylog    tcp  --  anywhere             anywhere           tcp flags:SYN,RST,ACK/SYN

Chain ForwardedTCP_6516 (1 references)
target     prot opt source               destination

Chain ForwardedUDP (1 references)
target     prot opt source               destination
ForwardedUDP_6516  all  --  anywhere             anywhere
denylog    udp  --  anywhere             anywhere

Chain ForwardedUDP_6516 (1 references)
target     prot opt source               destination

Chain InboundICMP (1 references)
target     prot opt source               destination
InboundICMP_6516  all  --  anywhere             anywhere
denylog    icmp --  anywhere             anywhere

Chain InboundICMP_6516 (1 references)
target     prot opt source               destination
denylog    icmp --  anywhere             anywhere           icmp echo-request
ACCEPT     icmp --  anywhere             anywhere           icmp echo-request
ACCEPT     icmp --  anywhere             anywhere           icmp echo-reply
ACCEPT     icmp --  anywhere             anywhere           icmp destination-unreachable
ACCEPT     icmp --  anywhere             anywhere           icmp source-quench
ACCEPT     icmp --  anywhere             anywhere           icmp time-exceeded
ACCEPT     icmp --  anywhere             anywhere           icmp parameter-problem
denylog    all  --  anywhere             anywhere

Chain InboundTCP (1 references)
target     prot opt source               destination
InboundTCP_6516  all  --  anywhere             anywhere
denylog    tcp  --  anywhere             anywhere           tcp flags:SYN,RST,ACK/SYN

Chain InboundTCP_6516 (1 references)
target     prot opt source               destination
denylog    all  --  anywhere            !pD9F9E190.dip0.t-ipconnect.de
ACCEPT     tcp  --  anywhere             anywhere           tcp dpt:auth
denylog    tcp  --  anywhere             anywhere           tcp dpt:ftp
ACCEPT     tcp  --  anywhere             anywhere           tcp dpt:www
ACCEPT     tcp  --  anywhere             anywhere           tcp dpt:https
denylog    tcp  --  anywhere             anywhere           tcp dpt:imap2
denylog    tcp  --  anywhere             anywhere           tcp dpt:ldap
denylog    tcp  --  anywhere             anywhere           tcp dpt:pop3
denylog    tcp  --  anywhere             anywhere           tcp dpt:1723
ACCEPT     tcp  --  anywhere             anywhere           tcp dpt:smtp
denylog    tcp  --  anywhere             anywhere           tcp dpt:ssh
denylog    tcp  --  anywhere             anywhere           tcp dpt:telnet

Chain InboundUDP (1 references)
target     prot opt source               destination
InboundUDP_6516  all  --  anywhere             anywhere
denylog    udp  --  anywhere             anywhere

Chain InboundUDP_6516 (1 references)
target     prot opt source               destination
denylog    all  --  anywhere            !pD9F9E190.dip0.t-ipconnect.de

Chain OutboundICMP (1 references)
target     prot opt source               destination
OutboundICMP_6516  all  --  anywhere             anywhere
denylog    icmp --  anywhere             anywhere

Chain OutboundICMP_6516 (1 references)
target     prot opt source               destination
ACCEPT     icmp --  anywhere             anywhere           icmp echo-request
ACCEPT     icmp --  anywhere             anywhere           icmp echo-reply
ACCEPT     icmp --  anywhere             anywhere           icmp destination-unreachable
ACCEPT     icmp --  anywhere             anywhere           icmp source-quench
ACCEPT     icmp --  anywhere             anywhere           icmp time-exceeded
ACCEPT     icmp --  anywhere             anywhere           icmp parameter-problem
denylog    all  --  anywhere             anywhere

Chain PPPconn (2 references)
target     prot opt source               destination
PPPconn_1  all  --  anywhere             anywhere

Chain PPPconn_1 (1 references)
target     prot opt source               destination

Chain denylog (27 references)
target     prot opt source               destination
DROP       udp  --  anywhere             anywhere           udp dpt:route
DROP       udp  --  anywhere             anywhere           udp dpts:netbios-ns:netbios-ssn
DROP       tcp  --  anywhere             anywhere           tcp dpts:netbios-ns:netbios-ssn
LOG        all  --  anywhere             anywhere           LOG level warning prefix denylog:'
DROP       all  --  anywhere             anywhere

Chain gre-in (1 references)
target     prot opt source               destination
denylog    all  --  anywhere            !pD9F9E190.dip0.t-ipconnect.de
denylog    all  --  anywhere             anywhere

Chain local_chk (2 references)
target     prot opt source               destination
local_chk_6516  all  --  anywhere             anywhere

Chain local_chk_6516 (1 references)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere
ACCEPT     all  --  192.168.7.0/24       anywhere

Chain state_chk (2 references)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere           state RELATED,ESTABLISHED

guest22

Cant get or send mail, please help
« Reply #3 on: November 16, 2004, 09:40:19 AM »
Hi,

Are there any custom template/fragments in '/etc/e-smith/custom-templates/etc/rc.d/init.d/masq/' ?

RequestedDeletion

msm3333

Cant get or send mail, please help
« Reply #4 on: November 16, 2004, 10:46:16 AM »
Hi!

directory does not exist. there ist nothing in 'templates-custom' folder.

A summary what works and what not.
Internet works from workstation also from sme (currently posting from workstation)
Ping only from sme direct to all servers and workstations. But absolutely no ping possible from workstation to any external ip or domain.
No ftp access from workstation
No smtp or pop access from workstation...

SMEmike

Cant get or send mail, please help
« Reply #5 on: November 16, 2004, 07:45:39 PM »
Hi.

It sounds like your LAN interface may not be working.  What does ifconfig report when logged in as root?

SMEmike.

guest22

Cant get or send mail, please help
« Reply #6 on: November 16, 2004, 07:57:02 PM »
Quote from: "msm3333"

directory does not exist. there ist nothing in 'templates-custom' folder.


try custom-templates, not templates-custom ;-)

msm3333

Cant get or send mail, please help
« Reply #7 on: November 17, 2004, 10:40:46 AM »
@SMEmike
Quote from: "SMEmike"
What does ifconfig report when logged in as root?SMEmike.


Here is the result of ifconfig:
Code: [Select]
[root@scserver root]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:04:75:7A:98:9F
          inet addr:192.168.7.11  Bcast:192.168.7.255  Mask:255.255.255.0
          EtherTalk Phase 2 addr:65280/252
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:13521 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5808 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0
          RX bytes:3021581 (2.8 Mb)  TX bytes:2788189 (2.6 Mb)

ippp0     Link encap:Point-to-Point Protocol
          inet addr:217.249.229.13  P-t-P:193.158.132.105  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1
          RX packets:1588 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1037 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0
          RX bytes:524843 (512.5 Kb)  TX bytes:72468 (70.7 Kb)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          EtherTalk Phase 2 addr:0/0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:2367 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2367 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0
          RX bytes:154449 (150.8 Kb)  TX bytes:154449 (150.8 Kb)

sl0       Link encap:Serial Line IP
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:35 errors:0 dropped:0 overruns:0 frame:0
          TX packets:37 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0
          RX bytes:1906 (1.8 Kb)  TX bytes:2092 (2.0 Kb)

[root@scserver root]#


I hope you can find something....
Interesting ist, that LAN ist working everywhere. I can also send pings from server to workstation and back.

@RequestedDeletion

I tried both. custom-templates does not exist, templates-custom and templates-user-custom ist empty.

guest22

Cant get or send mail, please help
« Reply #8 on: November 17, 2004, 10:49:07 AM »
SME Server in server/gateway mode connected through ISDN-2 right?

msm3333

Cant get or send mail, please help
« Reply #9 on: November 17, 2004, 10:59:45 AM »
yes, private server and gateway mode, dialup over internal pci isdn card.