Sendmail help - alias works for install-created users, does not for new users.

Sendmail help - alias works for install-created users, does not for new users.

Post by mnip » Sun, 03 Sep 2000 06:55:06



I have a RH62 system. I upgraded to sendmail 8.11, and am administering it
for the most part with webmin 0.80. The machine hosts several slave DNS, but
is set only as localhost/localdomain presently. For discussion's sake,
"abc.com" is my personal domain, and "cbs.com" is one of several domains I
will host on this machine, but neither are entered in the eth0 host fields,
again its localhost/localdomain only.

The additional (non-root) user I created during install, "hal" will

"sam" I have created with webmin will not receive email. I can't see any
difference between the two types of user, except that "hal" belongs to his
own group, and "sam" belongs to a group "webusers" I created, also with
webmin.

Here's the error message (edited out names and IPs) that sendmail returns

Unable to deliver message to the following address(es).

256.256.256.256 does not like recipient.

Giving up on 256.256.256.256 .

The aliases are set up very simply and consistently in webmin, for both
"hal" and "sam". The mailbox viewer in webmin functions perfectly for hal,
but nothing arrives for sam and other 'webusers'.

Do I need to issue some special rights to webusers to get them to recieve
mail? I have logged in with "sam", the account is functioning perfectly
otherwise.

Thanks.

 
 
 

Sendmail help - alias works for install-created users, does not for new users.

Post by David Efflan » Sun, 03 Sep 2000 10:13:41



>I have a RH62 system. I upgraded to sendmail 8.11, and am administering it
>for the most part with webmin 0.80. The machine hosts several slave DNS, but
>is set only as localhost/localdomain presently. For discussion's sake,
>"abc.com" is my personal domain, and "cbs.com" is one of several domains I
>will host on this machine, but neither are entered in the eth0 host fields,
>again its localhost/localdomain only.

>The additional (non-root) user I created during install, "hal" will

>"sam" I have created with webmin will not receive email. I can't see any
>difference between the two types of user, except that "hal" belongs to his
>own group, and "sam" belongs to a group "webusers" I created, also with
>webmin.

>Here's the error message (edited out names and IPs) that sendmail returns

>Unable to deliver message to the following address(es).

>256.256.256.256 does not like recipient.

>Giving up on 256.256.256.256 .

>The aliases are set up very simply and consistently in webmin, for both
>"hal" and "sam". The mailbox viewer in webmin functions perfectly for hal,
>but nothing arrives for sam and other 'webusers'.

>Do I need to issue some special rights to webusers to get them to recieve
>mail? I have logged in with "sam", the account is functioning perfectly
>otherwise.

Just curious how owner, group and permissions compare for
/var/spool/mail/hal and /var/spool/mail/sam or what is listed for MAIL in
sam's environment when logged in as sam.

--

http://www.autox.chicago.il.us/  http://www.berniesfloral.net/
http://hammer.prohosting.com/~cgi-wiz/  http://cgi-help.virtualave.net/

 
 
 

Sendmail help - alias works for install-created users, does not for new users.

Post by mnip » Sun, 03 Sep 2000 11:23:50


Quote:> Just curious how owner, group and permissions compare for
> /var/spool/mail/hal and /var/spool/mail/sam or what is listed for MAIL in
> sam's environment when logged in as sam.


/var/spool/mail

total 8
drwxrwxr-x    2 root     mail         4096 Sep  1 16:53 .
drwxr-xr-x   13 root     root         4096 Jun 28 14:25 ..
-rw-rw----    1 hal      mail            0 Sep  1 16:58 hal
-rw-------    1 root     root            0 Sep  1 16:36 root

I think you've spotted a possible source of the problem. Even though webmin
shows an 'entry' for a mailbox for sam, only root and hal have ever received
mail, and thus have existing mailbox files. Is a mailbox file only created
when and if a mail message arrives? Is there a tool to condition the mailbox
files to ensure consistency, existence, etc.?

I tried logging in as 'hal' and using commandline mail to send a starter
message to 'sam', but I didn't have any luck.

this is a test
Cc:

/home/hal/dead.letter... Saved message in /home/hal/dead.letter


No mail for sam

And the sam environment bears a further inconsitency:

MAIL=/var/spool/mail/sam

Thanks for your insight. I wonder where this mystery will lead.

BTW, I changed sam from the group 'webusers' to the group 'hal' which was
created at install time. It didn't affect the behavior.

 
 
 

Sendmail help - alias works for install-created users, does not for new users.

Post by mnip » Sun, 03 Sep 2000 23:05:21


Quote:> I think you've spotted a possible source of the problem. Even though
webmin
> shows an 'entry' for a mailbox for sam, only root and hal have ever
received
> mail, and thus have existing mailbox files. Is a mailbox file only created
> when and if a mail message arrives? Is there a tool to condition the
mailbox
> files to ensure consistency, existence, etc.?

I have tested the 'missing mailbox file theory'.



I read said mail from sam's environment, /var/spool/mail/sam file exists.

Failure. restart sendmail, repeat yahoo mail, same error message:

Message from  yahoo.com.
Unable to deliver message to the following address(es).


256.256.256.256does not like recipient.

Giving up on 256.256.256.256.

 
 
 

Sendmail help - alias works for install-created users, does not for new users.

Post by john » Mon, 04 Sep 2000 13:52:16



> > I think you've spotted a possible source of the problem. Even though
> webmin
> > shows an 'entry' for a mailbox for sam, only root and hal have ever
> received
> > mail, and thus have existing mailbox files. Is a mailbox file only created
> > when and if a mail message arrives? Is there a tool to condition the
> mailbox
> > files to ensure consistency, existence, etc.?

> I have tested the 'missing mailbox file theory'.



> I read said mail from sam's environment, /var/spool/mail/sam file exists.

> Failure. restart sendmail, repeat yahoo mail, same error message:

> Message from  yahoo.com.
> Unable to deliver message to the following address(es).


> 256.256.256.256does not like recipient.

> Giving up on 256.256.256.256.

Okay Dude, I am an 8.10 man, but I think they are similar enough to get by
here.  If not, I am sure somebody will correct me <G>

First add all names that your machine is known as to /etc/mail/local-host-names
That includes cbs.com
Then create a entry in your (you do have one, right) virtusertable

more if you wish



etc. etc.

do: makemap hash virtusertable < virtusertable


restart sendmail and I think it just might work.

The virtusertable maps virtual account addresses to 'real' accounts...

--
To send email: Send to John and remove '-the-hobit'.

 
 
 

1. Creating new users - it doesn't work!

Hi All, I'm having trouble adding new users (Red Hat 5.1)

I go

# adduser bob
# passwd bob
New UNIX password: bobcat
Retype new UNIX password: bobcat
passwd: all authentication tokens updated successfully"
# logout

login: bob
Password: bobcat

'Incorrect login'

This is a new installation and I don't want to keep working as root.
I have also tried using the userconfig off the X control-panel.
Everything indicates that user exists - there is a line in both
/etc/passwd and /etc/shadow but log doesn't work!

Can anyone help me with this?

Zach.

2. Creating your own locale

3. Linux installed with UMSDOS - can't create new users

4. mount_nwfs, IPX issue

5. access to users directories (/~user) not working

6. Can't load a module (unresolved kernel symbol)

7. Creating new users not-using root

8. PPPoE problems with SBC

9. On AIX 4.3.3: User password expiry does not work for NISPLUS users.

10. Application installed with root user doesn't work to another users

11. Keyboard works in Single-user mode, not in multi-user

12. Keyboard works in single-user mode; not in multi-user

13. Red Hat 101: Help for new (and not so new) Linux users