[Samba] Samba and sendmail.
Martyn Ranyard
ranyardm at lineone.net
Wed Feb 6 05:35:08 GMT 2002
You might find that sendmail is configured to do expansions on the +
character, I did once look into the sendmail config, but gave up in the end
and now use postfix (much easier to understand.) I believe the +
operator's default behaviour in sendmail is to forward the mail to the
machine before the plus and send it to whatever is after the plus as a user
on that machine i.e. forwards to Piotrek at JEDYNKA in your case. sendmail
probably cannot resolve the hostname JEDYNKA as it isn't a host but a
domain. You may find the easiest answer is to change the winbind char to
something else (although I don't know what!).
Martyn
At 01:26 PM 2/6/02 +0100, Piotr Paszynski wrote:
>Hi All,
>
>Ive working samba with winbind demon. All domain users have home directory
>created with pam_mkhomedir.so.
>All works fine. Only in sendmail not all works.
>For local users sendmail works fine. For domain users, sendmail have
>problem.
>Example.
>I send mail from domain accounts to local accounts:
>
>Return-Path: <JEDYNKA+Piotrek at jedynka.com.pl>
>Received: from shire (localhost.localdomain [127.0.0.1])
> by gandalf.jedynka.com.pl (8.11.6/8.11.6) with SMTP id g16CD1n21533
> for <safon at jedynka.com.pl>; Wed, 6 Feb 2002 13:13:01 +0100
>From: "Domena" <JEDYNKA+Piotrek at jedynka.com.pl>
>To: <safon at jedynka.com.pl>
>
>This mail is send and received.
>Reply:
>
>Sendmail returns:
>
>'550 5.1.1 <JEDYNKA+Piotrek at jedynka.com.pl>... User unknown'. Accounts:
>'gandalf.jedynka.com.pl', server SMTP:'gandalf.jedynka.com.pl'.
>
>What is wrong???? PAM is configured for work with winbindd...
>Any ideas???
>
>--
>Regards
>Piotr Paszynski
>
>
>--
>To unsubscribe from this list go to the following URL and read the
>instructions: http://lists.samba.org/mailman/listinfo/samba
==============
Martyn Ranyard
More information about the samba
mailing list