Outbound Mail Failure -- New Install

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

maracas
Posts: 12
Joined: Thu Mar 09, 2006 11:48 am
Location: Virginia

Outbound Mail Failure -- New Install

Postby maracas » Sun Apr 16, 2006 9:35 pm

Have Scalix install on FC4. I am able to recieve email ok but when I send it is not getting to external email.

Code: Select all

21:10:17.497805 IP ctrlx05.caribshopper.com.33548 > ctrfw02.caribshopper.com.domain:  58251+ PTR? 0.0.0.0.in-addr.ar pa. (38)
21:10:17.512711 IP ctrfw02.caribshopper.com.domain > ctrlx05.caribshopper.com.33548:  58251 NXDomain 0/1/0 (102)
21:10:17.519785 IP ctrlx05.caribshopper.com.33548 > ctrfw02.caribshopper.com.domain:  6085+ AAAA? yahoo.com. (27)
21:10:17.520300 IP ctrfw02.caribshopper.com.domain > ctrlx05.caribshopper.com.33548:  6085 0/0/0 (27)
21:10:17.520500 IP ctrlx05.caribshopper.com.33548 > ctrfw02.caribshopper.com.domain:  45779+ A? yahoo.com. (27)
21:10:17.521040 IP ctrfw02.caribshopper.com.domain > ctrlx05.caribshopper.com.33548:  45779 2/0/0 A w2.rc.vip.scd.ya hoo.com, (59)
21:10:17.521398 IP ctrlx05.caribshopper.com.33549 > ctrfw02.caribshopper.com.domain:  48379+ PTR? 13.234.94.66.in-ad dr.arpa. (43)
21:10:17.573076 IP ctrlx05.caribshopper.com.33550 > ctrfw02.caribshopper.com.domain:  41087+ PTR? 0.0.0.0.in-addr.ar pa. (38)
21:10:17.573656 IP ctrfw02.caribshopper.com.domain > ctrlx05.caribshopper.com.33550:  41087 NXDomain 0/0/0 (38)
21:10:17.652748 IP ctrlx05.caribshopper.com.33550 > ctrfw02.caribshopper.com.domain:  63207+ PTR? 0.0.0.0.in-addr.ar pa. (38)
21:10:17.653296 IP ctrfw02.caribshopper.com.domain > ctrlx05.caribshopper.com.33550:  63207 NXDomain 0/0/0 (38)
21:10:17.703385 IP ctrlx05.caribshopper.com.33550 > ctrfw02.caribshopper.com.domain:  55544+ PTR? 0.0.0.0.in-addr.ar pa. (38)
21:10:17.703943 IP ctrfw02.caribshopper.com.domain > ctrlx05.caribshopper.com.33550:  55544 NXDomain 0/0/0 (38)
21:10:17.709170 IP ctrlx05.caribshopper.com.33550 > ctrfw02.caribshopper.com.domain:  40102+ MX? yahoo.com. (27)
21:10:17.725455 IP ctrfw02.caribshopper.com.domain > ctrlx05.caribshopper.com.33550:  40102 4/5/19 MX mx4.mail.yahoo .com. 5,[|domain]
21:10:17.726004 IP ctrlx05.caribshopper.com.33550 > ctrfw02.caribshopper.com.domain:  24497+ AAAA? mx2.mail.yahoo.co m. (36)
21:10:17.772676 IP ctrfw02.caribshopper.com.domain > ctrlx05.caribshopper.com.33550:  24497 0/1/0 (97)
21:10:17.772909 IP ctrlx05.caribshopper.com.33550 > ctrfw02.caribshopper.com.domain:  56999+ A? mx2.mail.yahoo.com. (36)
21:10:17.792879 IP ctrfw02.caribshopper.com.domain > ctrlx05.caribshopper.com.33550:  56999 4/5/5 A mta-v6.level3.ma il.vip.mud.yahoo.com,[|domain]
21:10:17.793529 IP ctrlx05.caribshopper.com.55030 > mta-v6.level3.mail.vip.mud.yahoo.com.smtp: S 1060733545:10607335 45(0) win 5840 <mss 1460,sackOK,timestamp 12171865 0,nop,wscale 2>
21:10:17.805758 IP ctrlx05.caribshopper.com.ntp > pindarots.xs4all.nl.ntp: NTPv4, Client, length 48
21:10:17.857838 IP mta-v6.level3.mail.vip.mud.yahoo.com.smtp > ctrlx05.caribshopper.com.55030: S 620064778:620064778 (0) ack 1060733546 win 65535 <mss 1460,nop,wscale 1,nop,nop,timestamp 31580965 12171865>
21:10:17.857911 IP ctrlx05.caribshopper.com.55030 > mta-v6.level3.mail.vip.mud.yahoo.com.smtp: . ack 1 win 1460 <nop ,nop,timestamp 12171929 31580965>
21:10:17.940504 IP pindarots.xs4all.nl.ntp > ctrlx05.caribshopper.com.ntp: NTPv4, Server, length 48
21:10:17.955844 IP mta-v6.level3.mail.vip.mud.yahoo.com.smtp > ctrlx05.caribshopper.com.55030: P 1:58(57) ack 1 win 33304 <nop,nop,timestamp 31580975 12171929>
21:10:17.955909 IP ctrlx05.caribshopper.com.55030 > mta-v6.level3.mail.vip.mud.yahoo.com.smtp: . ack 58 win 1460 <no p,nop,timestamp 12172027 31580975>
21:10:17.956120 IP ctrlx05.caribshopper.com.55030 > mta-v6.level3.mail.vip.mud.yahoo.com.smtp: P 1:32(31) ack 58 win  1460 <nop,nop,timestamp 12172027 31580975>
21:10:18.018493 IP mta-v6.level3.mail.vip.mud.yahoo.com.smtp > ctrlx05.caribshopper.com.55030: P 58:138(80) ack 32 w in 33304 <nop,nop,timestamp 31580981 12172027>
21:10:18.020628 IP ctrlx05.caribshopper.com.55030 > mta-v6.level3.mail.vip.mud.yahoo.com.smtp: P 32:86(54) ack 138 w in 1460 <nop,nop,timestamp 12172092 31580981>
21:10:18.091097 IP mta-v6.level3.mail.vip.mud.yahoo.com.smtp > ctrlx05.caribshopper.com.55030: P 138:186(48) ack 86 win 33304 <nop,nop,timestamp 31580989 12172092>
21:10:18.092192 IP ctrlx05.caribshopper.com.55030 > mta-v6.level3.mail.vip.mud.yahoo.com.smtp: P 86:123(37) ack 186 win 1460 <nop,nop,timestamp 12172163 31580989>
21:10:18.165224 IP mta-v6.level3.mail.vip.mud.yahoo.com.smtp > ctrlx05.caribshopper.com.55030: P 186:226(40) ack 123  win 33304 <nop,nop,timestamp 31580996 12172163>
21:10:18.165552 IP mta-v6.level3.mail.vip.mud.yahoo.com.smtp > ctrlx05.caribshopper.com.55030: P 226:240(14) ack 123  win 33304 <nop,nop,timestamp 31580996 12172163>
21:10:18.166838 IP ctrlx05.caribshopper.com.55030 > mta-v6.level3.mail.vip.mud.yahoo.com.smtp: P 123:1147(1024) ack 240 win 1460 <nop,nop,timestamp 12172238 31580996>
21:10:18.331040 IP mta-v6.level3.mail.vip.mud.yahoo.com.smtp > ctrlx05.caribshopper.com.55030: . ack 1147 win 33304 <nop,nop,timestamp 31581013 12172238>
21:10:18.331134 IP ctrlx05.caribshopper.com.55030 > mta-v6.level3.mail.vip.mud.yahoo.com.smtp: P 1147:2309(1162) ack  240 win 1460 <nop,nop,timestamp 12172402 31581013>
21:10:18.478800 IP mta-v6.level3.mail.vip.mud.yahoo.com.smtp > ctrlx05.caribshopper.com.55030: . ack 2309 win 33304 <nop,nop,timestamp 31581028 12172402>
21:10:18.784074 IP mta-v6.level3.mail.vip.mud.yahoo.com.smtp > ctrlx05.caribshopper.com.55030: P 240:255(15) ack 230 9 win 33304 <nop,nop,timestamp 31581058 12172402>
21:10:18.792820 IP ctrlx05.caribshopper.com.55030 > mta-v6.level3.mail.vip.mud.yahoo.com.smtp: P 2309:2315(6) ack 25 5 win 1460 <nop,nop,timestamp 12172864 31581058>
21:10:18.858045 IP mta-v6.level3.mail.vip.mud.yahoo.com.smtp > ctrlx05.caribshopper.com.55030: P 255:286(31) ack 231 5 win 33304 <nop,nop,timestamp 31581065 12172864>
21:10:18.858215 IP ctrlx05.caribshopper.com.55030 > mta-v6.level3.mail.vip.mud.yahoo.com.smtp: F 2315:2315(0) ack 28 6 win 1460 <nop,nop,timestamp 12172929 31581065>
21:10:18.862197 IP mta-v6.level3.mail.vip.mud.yahoo.com.smtp > ctrlx05.caribshopper.com.55030: F 286:286(0) ack 2315  win 33304 <nop,nop,timestamp 31581066 12172864>
21:10:18.862250 IP ctrlx05.caribshopper.com.55030 > mta-v6.level3.mail.vip.mud.yahoo.com.smtp: . ack 287 win 1460 <n op,nop,timestamp 12172933 31581066>
21:10:18.949300 IP mta-v6.level3.mail.vip.mud.yahoo.com.smtp > ctrlx05.caribshopper.com.55030: F 286:286(0) ack 2316  win 33304 <nop,nop,timestamp 31581075 12172929>
21:10:19.230489 arp who-has ctrlx05.caribshopper.com tell ctrfw02.caribshopper.com
21:10:19.230524 arp reply ctrlx05.caribshopper.com is-at 00:b0:d0:3f:9c:3c
21:10:19.613005 IP ctrfw02.caribshopper.com.domain > ctrlx05.caribshopper.com.33549:  48379 1/5/4 (234)
21:10:19.615259 IP ctrlx05.caribshopper.com.33550 > ctrfw02.caribshopper.com.domain:  39284+ PTR? 135.181.79.4.in-ad dr.arpa. (43)
21:10:19.723246 IP ctrfw02.caribshopper.com.domain > ctrlx05.caribshopper.com.33550:  39284 1/5/4 (247)
21:10:19.723885 IP ctrlx05.caribshopper.com.33550 > ctrfw02.caribshopper.com.domain:  59419+ PTR? 115.197.92.82.in-a ddr.arpa. (44)
21:10:19.905789 IP ctrfw02.caribshopper.com.domain > ctrlx05.caribshopper.com.33550:  59419 1/2/2 (144)


It looks like it is communicating correctly with yahoo but the mail is not getting to the account. I got the same result sending to a hotmail account.

I am pulling my hair out. The DNS looks find since I can so a telnet to a out mail server and it resolves.

HELP.

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Sun Apr 16, 2006 10:51 pm

Sadly, a tcpdump isn't going to help here. We need to see some higher level traces.

Using the sendmail logs, can you see the message leave your server ?

Cheers

Dave

Graham

Postby Graham » Mon Apr 17, 2006 6:47 am

I'm having a problem sending mail outside the domain as well. This is a new install which I am testing on a new Suse install.

I checked sendmail, and there's nothing in the logs there. It logs successful sends of mail inside the domain. I was able to send mail outside using sendmail from the shell.

When I click the send button, I can hear some activity on the server, and then a wee window pops up on my screen and says "Unable to send mail to: blah blah .. " I'm using the webmail interface at present. The mail I am trying to send then goes to the drafts folder.

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Mon Apr 17, 2006 7:11 am

This is probably due to relay accept lines in your smtpd.cfg found in /var/opt/scalix/sys. Add the ip address of your server above the relay reject all line. You'll have to restart the internet gateway with

omoff -d 0 internet
omon internet.

For more details and other possible solutions please use the search feature. This topic has been covered many times. Try using smtpd, relay accept, external, as search terms.

Regards,
Don

maracas
Posts: 12
Joined: Thu Mar 09, 2006 11:48 am
Location: Virginia

Postby maracas » Mon Apr 17, 2006 12:37 pm

Can you give me an example? I added some based on a posting I found on the forum -- I thought it would help, until I saw the log file.

Here is my smtpd.cfg:

Code: Select all

RELAY accept 127.0.0.1
RELAY accept .caribshopper.com
RELAY accept 10.0.0.0/255.0.0.0
RELAY Log_Reject ALL
SUBMIT accept 10.0.0.0/255.0.0.0
AUTH_SUCCESS accept ALL
ANONYMOUS Log_Reject ALL
ANONYMOUS accept 10.0.0.0/255.0.0.0

# extra rules added to prevent open relay usage
RECIPIENT Log_Reject *@*@*
RECIPIENT Log_Reject *%*
RECIPIENT Log_Reject *!*
RECIPIENT Log_Reject *#*@*


ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Mon Apr 17, 2006 4:02 pm

Hi. When you submit the message from SWA, is it accepted? If so, then your smtpd.cfg file is okay. The place to check is your /var/log/maillog files. What is that showing?

Thanks,
Rachel

Graham

Postby Graham » Mon Apr 17, 2006 6:26 pm

I modified my smtpd.cfg to look similar to the one posted by caracas ( I had already allowed 127.0.0.1 ), and outbound mail now works :D

Curiously, I noted that my system date was 12 hours ahead, and when I changed it back, webmail was locked out for an hour. It refused to accept the passwords.


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 11 guests