Home
| Calendar
| Mail Lists
| List Archives
| Desktop SIG
| Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU |
I'm running a RedHat 7.1 box, equipped with sendmail 8.11.2 and a simple firewall... The trouble I ran into this morning is a new one to me... I set up a user in /etc/mail/virtusertable with a pointer to her hotmail account, then ran a basic "sendmail -bv -d27 user at virtualdomain.com" test on it.... and it just hung. So I started with the easy stuff, re-re-built the hash, re-re-started sendmail and tried again, same problem... Checked my firewall, access files, stuff like that... nothing even remotely close that would stop it... Checked some stuff on goggle groups... Apparently I'm not alone... Found these in comp.sendmail: ====================== 1: Jan Albin "rediscovered" (in another thread) problemcaused by blocking tcp queries via tcp by firewall [ it was discussed long time ago in the group ] and suggests that hoymail problem may be caused by it. Some replies are too big to fit in udp packet so DNS server/resolver tries to contact a remote DNS server via tcp which is blocked. 2: Opening up the firewall to allow DNS on port 53 TCP solved the problem. ====================== So I opened up my firewall as suggested ( I started my firewall using pmfirewall): #DNS $IPCHAINS -A input -p tcp -s $REMOTENET -d $OUTERNET 53 -j ACCEPT $IPCHAINS -A input -p udp -s $REMOTENET -d $OUTERNET 53 -j ACCEPT $REMOTENET = 0/0 $OUTERNET = eth0 (outside nic) I mapped a user topoint at my own hotmail account... phil at domain.com guy_nearby at hotmail.com ---makehash --restart sendmail # sendmail -bv -d27.99,28.99,60.99 phil at mydomain.com setalias(/etc/aliases) map implicit:Alias0 /etc/aliases map_lookup(dequote, phil, %0=phil) => NOT FOUND (0) udbmatch(phil, mailname) db_open(/etc/mail/userdb.db): No such file or directory map_lookup(host, mydomain.com, %0=mydomain.com) => mydomain.com. (0) map_lookup(dequote, phil, %0=phil) => NOT FOUND (0) map_lookup(virtuser, phil at mydomain.com, %0=phil at mydomain.com, %1=phil) => guy_nearby at hotmail.com (0) map_lookup(host, hotmail.com, %0=hotmail.com) => .... still hanging ..... Any ideas? TIA, Phil
BLU is a member of BostonUserGroups | |
We also thank MIT for the use of their facilities. |