Valerion wrote: mito wrote:My problem is when I'm sending to the list, the email is getting stuck in the outbound queue saying "Deferred: Connection refused by domain.com."
Mmm ... weird. We will have to debug this step-by-step, then. It definatedly works for me on the same machine.
Run the following for me:
That should return something looking like the following. Check the hostnames are correct:
Code: Select all
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
sendmail 3572 root 4u IPv4 8236 TCP localhost.localdomain:smtp (LISTEN)
omsmtpd 3774 root 4u IPv4 8599 TCP <your-host-name>:smtp (LISTEN)
When you say "outbound queue" I assume you mean the sendmail mail spool, accessible via mailq. Also, is "domain.com" your domain or a user you're trying to send to's domain?
Try running
where <ID> is the ID in the mailq command, and post the sendmail logs here for me.
mito wrote:PS. Also of note, I've always had a problem where all my mail is being received from 127.0.0.1 and I believe it is also due to this setting. If you know how to fix that as well, I'd love to hear it!
Can you post an example log of this as well?
Thanks :)
First of all, thank you for replying and trying to help me out!!!
I'll start off with this, because it's easy:
mito wrote:PS. Also of note, I've always had a problem where all my mail is being received from 127.0.0.1 and I believe it is also due to this setting. If you know how to fix that as well, I'd love to hear it!
After I posted this, I decided to do some more searches for this problem, now with the thought that it is related to the SMTPFILTER=TRUE option (previously I hadn't connected the two in my searches). This brought up this result, which helps to prove my theory, but the resolution isn't something that is really acceptable, where each message gives and error but is delivered anyways.
http://www.scalix.com/community/viewtop ... 7305#17305Which logs are you wanting output from for this so I can show you those? (I'm still rather new at this whole email admin thing)
Next up, output of lsof -i:25 :
Code: Select all
[root@mail ~]# lsof -i:25
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
sendmail 2863 root 4u IPv4 7533 TCP localhost.localdomain:smtp (LISTEN)
omsmtpd 3267 root 3u IPv4 4478426 TCP mail.mydomain.com:smtp->62.24.101.35:54260 (ESTABLISHED)
omsmtpd 3267 root 4u IPv4 9015 TCP 192.168.21.31:smtp (LISTEN)
omsmtpd 3267 root 5u IPv4 9016 TCP mail.mydomain.com:smtp (LISTEN)
There were also a ton of established connections after this. The 192.168.21.31 is a 2nd NIC I have in the server connected to my internal network. Yes I changed the hostname to mydomain but it did show the correct hostname of the server (email goes to mydomain.com and the hostname of the server is mail.mydomain.com).
Valerion wrote:When you say "outbound queue" I assume you mean the sendmail mail spool, accessible via mailq. Also, is "domain.com" your domain or a user you're trying to send to's domain?!
When I say outbound queue, I do mean the sendmail queue, I believe... (as I said, still kinda new). Its the outbound mail queue as reported by MailWatcher, the web-interface to MailScanner that I am using (which I believe is the sendmail outbound mail spool/queue). Also, it is my domain, so in this message instead of domain.com I changed to using mydomain.com to help alleviate some confusion.
Code: Select all
[root@mail ~]# sendmail -qIk9RIDhsV009130 -v
Running /var/spool/mqueue/k9RIDhsV009130 (sequence 1 of 1)
<maillist@mydomain.com>... Connecting to mydomain.com. via esmtp...
<maillist@mydomain.com>... Deferred: Connection refused by mydomain.com.
You said you have this running on the same machine. Does that mean you just have Scalix and Mailman on the same machine, or Scalix, MailScanner, and Mailman all on the same machine? I ask because I think the problem is that I'm throwing MailScanner into the mix as well, which is requiring that SMTPFILTER=TRUE option, which I think is causing my problems. Again, I'm new to this though, and that could be totally off-base...
Thanks again for your help!!!
Mito