mail problem:local users can"t receive mail
mail problem:local users can"t receive mail
am 17.02.2004 06:52:14 von vick Julius
Hi
I am using Linux (mandrake 9.1) and sendmail 8-12.8.
in the Mlocal line in sendmail.cf it uses procmail instead of /bin/mail.
When I send mail from my machine to outside users (to another machine) it
works fine. When I send mail to myself with /bin/mail or with a graphical
tool (such as Kmail), the local users receive nothing (whether in Kmail or
using /bin/mail)
Do you have any idea?
I think this is related to procmail. How to use procmail to send and to
receive mail?
Thanks
Vick
____________________________________________________________ _____
Add photos to your messages with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: mail problem:local users can"t receive mail
am 17.02.2004 16:20:09 von Scott Taylor
At 09:52 PM 02/16/2004, vick Julius wrote:
>Hi
>I am using Linux (mandrake 9.1) and sendmail 8-12.8.
>in the Mlocal line in sendmail.cf it uses procmail instead of /bin/mail.
>
>When I send mail from my machine to outside users (to another machine) it
>works fine. When I send mail to myself with /bin/mail or with a graphical
>tool (such as Kmail), the local users receive nothing (whether in Kmail or
>using /bin/mail)
>Do you have any idea?
>
>I think this is related to procmail. How to use procmail to send and to
>receive mail?
Not a huge lot to go on, but check that sendmail knows to send mail to both
localhost and mydomain.blah
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: mail problem:local users can"t receive mail
am 17.02.2004 16:26:33 von Scott Taylor
At 07:20 AM 02/17/2004, Scott Taylor wrote:
>At 09:52 PM 02/16/2004, vick Julius wrote:
>>Hi
>>I am using Linux (mandrake 9.1) and sendmail 8-12.8.
>>in the Mlocal line in sendmail.cf it uses procmail instead of /bin/mail.
>>
>>When I send mail from my machine to outside users (to another machine) it
>>works fine. When I send mail to myself with /bin/mail or with a graphical
>>tool (such as Kmail), the local users receive nothing (whether in Kmail
>>or using /bin/mail)
>>Do you have any idea?
>>
>>I think this is related to procmail. How to use procmail to send and to
>>receive mail?
>
>Not a huge lot to go on, but check that sendmail knows to send mail to
>both localhost and mydomain.blah
Rather, receive mail for...
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: mail problem:local users can"t receive mail
am 17.02.2004 17:15:57 von dmarian
I think you should use the /etc/mail/sendmail.mc macros, it's easier.
There check if you have the following lines:
define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')dnl
FEATURE(local_procmail,`',`procmail -t -Y -a $h -d $u')dnl
MAILER(smtp)dnl
MAILER(procmail)dnl
And then run:
# make -C /etc/mail
and restart sendmail.
Scott Taylor wrote:
> At 09:52 PM 02/16/2004, vick Julius wrote:
>
>> Hi
>> I am using Linux (mandrake 9.1) and sendmail 8-12.8.
>> in the Mlocal line in sendmail.cf it uses procmail instead of /bin/mail.
>>
>> When I send mail from my machine to outside users (to another machine)
>> it works fine. When I send mail to myself with /bin/mail or with a
>> graphical tool (such as Kmail), the local users receive nothing
>> (whether in Kmail or using /bin/mail)
>> Do you have any idea?
>>
>> I think this is related to procmail. How to use procmail to send and
>> to receive mail?
>
>
> Not a huge lot to go on, but check that sendmail knows to send mail to
> both localhost and mydomain.blah
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: mail problem:local users can"t receive mail
am 18.02.2004 02:41:00 von Glynn Clements
Dar=EDo Mariani wrote:
> I think you should use the /etc/mail/sendmail.mc macros, it's easier.=
=20
> There check if you have the following lines:
>=20
> define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')dnl
> FEATURE(local_procmail,`',`procmail -t -Y -a $h -d $u')dnl
> MAILER(smtp)dnl
> MAILER(procmail)dnl
The purpose of FEATURE(local_procmail) is to make the "local" mailer
use procmail; it's just a simple way of setting the
LOCAL_MAILER_{PATH,ARGS,FLAGS} variables.
Consequently, you should also use MAILER(local), otherwise
=46EATURE(local_procmail) has no purpose.
MAILER(procmail) is orthogonal. It adds a separate "procmail" mailer,
but doesn't affect the "local" mailer. The "procmail" mailer won't
actually get used for anything without additional actions, e.g. adding
mailertable entries which use it.
--=20
Glynn Clements
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" =
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html