outgoing mail doesnt run

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

boggi
Posts: 31
Joined: Sun Jul 22, 2007 7:48 am
Contact:

outgoing mail doesnt run

Postby boggi » Sat Aug 04, 2007 2:33 pm

Hello ...

I have a problem with my scalix. If i want to send a mail to a person outside my scalix (to a gmx account for example). The mail will not send !??!

i have setup my sendmail with the WIKI description from scalix.

if i look to /sac with an administrationaccount and switch to server info. than i cange to Messages in Queue (Warteschlange) to Internet mail gateway. Here i see all outgoing messages ...

what happend ... is sendmail work correct ?? ...

kanderson

Postby kanderson » Mon Aug 06, 2007 3:46 pm

on your server, what does

/etc/init.d/sendmail status

return?

Also, what does

telnet localhost 25

return?

Thanks
Kev.

boggi
Posts: 31
Joined: Sun Jul 22, 2007 7:48 am
Contact:

Postby boggi » Wed Aug 08, 2007 11:32 am

here the status:
[root@homer ~]# /etc/init.d/sendmail status
sendmail (PID 1961 1953) wird ausgeführt...
[root@homer ~]# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost (127.0.0.1).
Escape character is '^]'.
220 homer.mail ESMTP Sendmail 8.13.8/8.13.8; Wed, 8 Aug 2007 17:30:49 +0200

kanderson

Postby kanderson » Wed Aug 08, 2007 11:34 am

So sendmail is running, for sure.

What is the output from omstat -s

I assume they're queueing up in the Internet Mail Gateway?

Thanks
Kev.

boggi
Posts: 31
Joined: Sun Jul 22, 2007 7:48 am
Contact:

Postby boggi » Wed Aug 08, 2007 12:02 pm

sorry ... the given output is after restart my Server.

Now when i send a message it came a message back to me with the following
text:
----------------------------- ERROR REPORT -----------------------------
Message could not be delivered to the following recipient:

Micha / internet
DDT1=RFC-822; DDV1=mail@outside-myserver.com;

because: 'X.1.8 Bad sender's system address' [OM 8918]
------------------------------------------------------------------------


the mail-address "mail@outside-myserver.com" was replaced by me. The correct email address exists.

is there another Problem, or the same ?

kanderson

Postby kanderson » Thu Aug 09, 2007 8:40 am

This will be a DNS problem on your server.

Can you please post the contents of /etc/hosts and the results of dig hostname.domain.com for your mail server? Please run that command on the server itself. Is the IP returned to you correct?

Thanks
Kev.

boggi
Posts: 31
Joined: Sun Jul 22, 2007 7:48 am
Contact:

Postby boggi » Thu Aug 09, 2007 12:36 pm

here my hosts

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost
192.168.42.1 homer.mail homer
192.168.42.1 buero.chapati


and here the output from commandline dig
[root@homer ~]# dig mail.chapati

; <<>> DiG 9.3.2 <<>> mail.chapati
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 40456
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;mail.chapati. IN A

;; AUTHORITY SECTION:
. 3510 IN SOA A.ROOT-SERVERS.NET. NSTLD.VERISIGN-GRS.COM. 2007080900 1800 900 604800 86400

;; Query time: 41 msec
;; SERVER: 192.168.42.250#53(192.168.42.250)
;; WHEN: Thu Aug 9 18:34:19 2007
;; MSG SIZE rcvd: 105


is that correct, that i used for example betti@buero.chapati as internal e-mail address?
I think so, because the internal mail run successfully.

kanderson

Postby kanderson » Thu Aug 09, 2007 12:52 pm

So dig isn't returning anything.

But you're also not searching for the name of your server.

I believe your server is named homer.mail.

Can you post the output of:

dig `hostname -f` (those are backticks)

It seems a bit odd to me that you'd have 2 host entries for 192.168.42.1. I assume you're using one as an alias. I don't actually know how Scalix will deal with that, but I suspect that as long as 1 is correct, it'll be fine.

Thanks
Kev

boggi
Posts: 31
Joined: Sun Jul 22, 2007 7:48 am
Contact:

Postby boggi » Thu Aug 09, 2007 1:27 pm


[root@homer ~]# dig 'buero.chapati -f'

; <<>> DiG 9.3.2 <<>> buero.chapati -f
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 46074
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;buero.chapati\032-f. IN A

;; AUTHORITY SECTION:
. 3600 IN SOA A.ROOT-SERVERS.NET. NSTLD.VERISIGN-GRS.COM. 2007080900 1800 900 604800 86400

;; Query time: 166 msec
;; SERVER: 192.168.42.250#53(192.168.42.250)
;; WHEN: Thu Aug 9 19:24:17 2007
;; MSG SIZE rcvd: 109


[root@homer ~]# dig 'homer.mail -f'

; <<>> DiG 9.3.2 <<>> homer.mail -f
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 5933
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;homer.mail\032-f. IN A

;; AUTHORITY SECTION:
. 3600 IN SOA A.ROOT-SERVERS.NET. NSTLD.VERISIGN-GRS.COM. 2007080900 1800 900 604800 86400

;; Query time: 56 msec
;; SERVER: 192.168.42.250#53(192.168.42.250)
;; WHEN: Thu Aug 9 19:28:14 2007
;; MSG SIZE rcvd: 106



is it better that hostname and mail domain the same ? i

kanderson

Postby kanderson » Thu Aug 09, 2007 1:36 pm

do the dig `hostname -f` again, but don't replace the hostname, the backticks will tell it to figure that out for itself.

What happens is that your server will try to verify that the server is legitimate before your message goes out. Part of that verification process is checking that the domain of the sender exists. It would appear that yours does not.

Kev.

boggi
Posts: 31
Joined: Sun Jul 22, 2007 7:48 am
Contact:

Postby boggi » Thu Aug 09, 2007 1:42 pm

sorry for my mistake ... here the output
[root@homer ~]# dig `hostname -f`

; <<>> DiG 9.3.2 <<>> homer.mail
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 2608
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;homer.mail. IN A

;; AUTHORITY SECTION:
. 2905 IN SOA a.root-servers.net. nstld.verisign-grs.com. 2007080900 1800 900 604800 86400

;; Query time: 39 msec
;; SERVER: 192.168.42.250#53(192.168.42.250)
;; WHEN: Thu Aug 9 19:41:38 2007
;; MSG SIZE rcvd: 103

kanderson

Postby kanderson » Thu Aug 09, 2007 1:48 pm

Ok, so your hostname is homer.mail.

That needs to be resolvable on your machine.

Can you show the output from

cat /etc/resolv.conf
and
ping homer.mail

boggi
Posts: 31
Joined: Sun Jul 22, 2007 7:48 am
Contact:

Postby boggi » Sun Aug 12, 2007 9:55 am

[root@homer opt]# cat /etc/resolv.conf
nameserver 192.168.42.250
[root@homer opt]# ping homer.mail
PING homer.mail (192.168.42.1) 56(84) bytes of data.
64 bytes from homer.mail (192.168.42.1): icmp_seq=1 ttl=64 time=0.022 ms
64 bytes from homer.mail (192.168.42.1): icmp_seq=2 ttl=64 time=0.012 ms
64 bytes from homer.mail (192.168.42.1): icmp_seq=3 ttl=64 time=0.007 ms

--- homer.mail ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2000ms
rtt min/avg/max/mdev = 0.007/0.013/0.022/0.007 ms
[root@homer opt]#


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 2 guests