linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* mail problem:local users can't receive mail
@ 2004-02-17  5:52 vick Julius
  2004-02-17 15:20 ` Scott Taylor
  0 siblings, 1 reply; 5+ messages in thread
From: vick Julius @ 2004-02-17  5:52 UTC (permalink / raw)
  To: linux-admin

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: mail problem:local users can't receive mail
  2004-02-17  5:52 mail problem:local users can't receive mail vick Julius
@ 2004-02-17 15:20 ` Scott Taylor
  2004-02-17 15:26   ` Scott Taylor
  2004-02-17 16:15   ` Darío Mariani
  0 siblings, 2 replies; 5+ messages in thread
From: Scott Taylor @ 2004-02-17 15:20 UTC (permalink / raw)
  To: linux-admin

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: mail problem:local users can't receive mail
  2004-02-17 15:20 ` Scott Taylor
@ 2004-02-17 15:26   ` Scott Taylor
  2004-02-17 16:15   ` Darío Mariani
  1 sibling, 0 replies; 5+ messages in thread
From: Scott Taylor @ 2004-02-17 15:26 UTC (permalink / raw)
  To: linux-admin

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...



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: mail problem:local users can't receive mail
  2004-02-17 15:20 ` Scott Taylor
  2004-02-17 15:26   ` Scott Taylor
@ 2004-02-17 16:15   ` Darío Mariani
  2004-02-18  1:41     ` Glynn Clements
  1 sibling, 1 reply; 5+ messages in thread
From: Darío Mariani @ 2004-02-17 16:15 UTC (permalink / raw)
  Cc: linux-admin

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
> 


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: mail problem:local users can't receive mail
  2004-02-17 16:15   ` Darío Mariani
@ 2004-02-18  1:41     ` Glynn Clements
  0 siblings, 0 replies; 5+ messages in thread
From: Glynn Clements @ 2004-02-18  1:41 UTC (permalink / raw)
  To: Darío Mariani; +Cc: linux-admin


Darío Mariani wrote:

> 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

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
FEATURE(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.

-- 
Glynn Clements <glynn.clements@virgin.net>
-
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-02-18  1:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-17  5:52 mail problem:local users can't receive mail vick Julius
2004-02-17 15:20 ` Scott Taylor
2004-02-17 15:26   ` Scott Taylor
2004-02-17 16:15   ` Darío Mariani
2004-02-18  1:41     ` Glynn Clements

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).