Sendmail Queues Growing

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

STXRich
Posts: 28
Joined: Wed Dec 07, 2005 9:59 am

Sendmail Queues Growing

Postby STXRich » Tue Nov 06, 2007 2:42 pm

Currently running 11.2 Community edition on Fedora 7.

I've been noticing an increase in the sendmail queues.
About 10 of 200 are valid and what I would expect to see.
ie. > Outbound emails where the server on the other end is too busy to respond.

What I don't like are the other 190 messages sitting in the queues. They are destined for this domain, but their for bogus email address's that don't exist in scalix. Since scalix isn't picking them up, they're sitting in the local sendmail queue.

Two questions:
1.) Why aren't they just being outright expunged if that isn't a valid email address?

2.) Is there a way to make the server do this? The problem being that scalix is a level above the core linux system, so I can't simply block based on username.


Thanks for any help.

-Keith-

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Postby Valerion » Thu Nov 08, 2007 8:20 am

Make sure your domains you accept mail for is in your Scalix server's /etc/mail/local-host-names.

You can selectively apply filters in the Scalix smtpd.cfg file.

JasonWarren
Posts: 52
Joined: Thu Oct 04, 2007 6:06 am
Location: East Retford
Contact:

Postby JasonWarren » Thu Nov 08, 2007 9:27 am

Hi,
When editing the Scalix server's /etc/mail/local-host-names file eg:

mydomain.com
mydomain.co.uk
mydomain.eu
mydomain.org
myotherdomain.com
myotherdomain.eu


etc
Would you specifically add your mail server as well? eg

mail1.mydomain.com
mydomain.com
mydomain.co.uk
mydomain.eu
mydomain.org
myotherdomain.com
myotherdomain.eu

Regards,

Jason

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Postby Valerion » Thu Nov 08, 2007 9:41 am

The local-host-names file lists what domains the machine is authorative for. If it gets a mail for user@domain, with domain in the local-host-names and the user does not exist in Scalix or as a UNIX mailbox, it will be bounced back.

Mailertable is a forwarding list, sending emails to the correct server to handle them, so it requires the domain to be forwarded to and the destination.

JasonWarren
Posts: 52
Joined: Thu Oct 04, 2007 6:06 am
Location: East Retford
Contact:

Postby JasonWarren » Thu Nov 08, 2007 11:10 am

Hi,
OK so a mail servers FQDN shouldnt be listed in Scalix server's /etc/mail/local-host-names file.

Thanks,

Jason

jaime.pinto
Scalix Star
Scalix Star
Posts: 709
Joined: Fri Feb 23, 2007 6:50 pm
Location: Toronto - Canada

Postby jaime.pinto » Fri Nov 09, 2007 1:20 am

Just keep the FQDN as well.
You could have incoming emails of the format user@FQDN
You may also have FQDN in the list of domains inside scalix.
many applications will automatically send emails to entity@FQDN
Image Jaime
||||||||||||||||||||||||||||||||||||||||

JasonWarren
Posts: 52
Joined: Thu Oct 04, 2007 6:06 am
Location: East Retford
Contact:

Postby JasonWarren » Fri Nov 09, 2007 6:47 am

Hi
Sorry, confused now.
I was under the impression from the thread thus far that the Scalix mail servers FQDN wasnt required in Scalix server`s /etc/mail/local-host-names file.
Can anyone expand on this and clarify whether this is or not the case?

Regards,

Jason

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Postby Valerion » Fri Nov 09, 2007 7:56 am

It's not neccesary, but if you change your machine's hostname and/or hosts file you may run into issues. Keeping it in there certainly won't do harm, I prefer to keep it in there for safety sake.

If you're curious what sendmail considers to be local, try looking at class "w" in a running system.

echo '$=w' | sendmail -bt

will do the trick for you.

JasonWarren
Posts: 52
Joined: Thu Oct 04, 2007 6:06 am
Location: East Retford
Contact:

Postby JasonWarren » Fri Nov 09, 2007 8:14 am

Thanks for this...much appreciated.

Best regards,

Jason

STXRich
Posts: 28
Joined: Wed Dec 07, 2005 9:59 am

Postby STXRich » Fri Nov 09, 2007 8:54 am

Most of the times there aren't responses saying when things are fixed, and thought I'd offer my appreciation for all the knowledge on this forum.

Your fix worked great, queues are all empty now. All valid mails bouncing back.

Thanks
-Keith-


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 4 guests