Tech Support banner

Status
Not open for further replies.
1 - 4 of 4 Posts

·
Registered
Joined
·
3 Posts
Discussion Starter #1
Hoping that somebody might be able to help me with this.

I have a Red Hat Linux 5.1 (Manhattan) system which is used as the email server.

When an email is addressed to two or more people a random person (so it seems random) will not get the email.

Example:

To: [email protected], [email protected]

When person A connects to the server he may get the email or person B may get the email, but both recipiants will not get copies.

I've never run into anything like this - nor have I had any experience with RHL release 5.1.
 

·
Registered
Joined
·
711 Posts
What mail server software? (ie sendmail, qmail, postfix, exim) And have you checked the mail logs to see if there is anything obvious in them? They should be logging to /var/log/maillog and /var/log/popmail.log or similar.
 

·
Registered
Joined
·
3 Posts
Discussion Starter #3
Thank you for the few helpful tips - here is what I uncovered.

One particular email (BELOW) says that the alias databse (/etc/aliases.db) is out of date. I've since run newaliases - and I'll have to re-test. Does that seem like it would be causing this error?

Many Thanks!

Aug 8 12:20:05 mail sendmail[27469]: alias database /etc/aliases.db out of date
Aug 8 12:20:05 mail sendmail[27471]: alias database /etc/aliases.db out of date
Aug 8 12:20:06 mail sendmail[27471]: MAA27471: from=<[email protected]>, size=2537, class=\
0, pri=32537, nrcpts=1, msgid=<[email protected]\
l>, proto=ESMTP, [email protected] [192.168.1.30]
Aug 8 12:20:06 mail scanmails: execute
Aug 8 12:20:06 mail sendmail[27494]: alias database /etc/aliases.db out of date

Aug 8 12:20:06 mail sendmail[27494]: MAA27494: from=<[email protected]>, size=1025, class=0\
, pri=31025, nrcpts=1, msgid=<[email protected]>, bodytype=7BIT, proto=ESM\
TP, [email protected] [192.168.1.30]
Aug 8 12:20:07 mail scanmails: execute
Aug 8 12:20:10 mail sendmail[27472]: MAA27471: to=<[email protected]>, delay=00:00:05, xdelay=00:0\
0:04, mailer=local, stat=Sent
Aug 8 12:20:11 mail sendmail[27497]: MAA27494: to=<[email protected]>, delay=00:00:05, xdelay=00:00:\
04, mailer=local, stat=Sent
 

·
Registered
Joined
·
711 Posts
Looks like you need to run /usr/sbin/makemap which then creates the database that sendmail reads for aliases and other chores.

I just checked the makemap man page and found that you actually need to run newaliases my bad :) So you might want to read the man page for that and makemap as well ... also remember that aliases must deliver to a live system account, so if you create [email protected] as an alias it must be delivered to [email protected] basically...

Drew
 
1 - 4 of 4 Posts
Status
Not open for further replies.
Top