Skip to contentSkip to conversation

mail problem:local users can't receive mail

DISCUSSION vick Julius 4 participants 5 messages Feb 17, 2004 – Feb 18, 2004

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 8 lines · 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?

Not a huge lot to go on, but check that sendmail knows to send mail to both localhost and mydomain.blah

#2 lore raw
Quoted 11 lines · Scott Taylor
Quoted 8 lines · 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?

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

#3 lore raw
In reply to Scott Taylor

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.

Quoted 20 lines · Scott Taylor
Quoted 8 lines · 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?

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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#4 lore raw
Quoted 7 lines · Darío Mariani

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.

Signature · 5 lines
Glynn Clements <[email protected]>
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html