procmail
[Top] [All Lists]

Re: External Accounts mails not working

2001-02-03 02:56:05
Please note: the procmail list address has changed. If the list address reported in 'procmail -v' isn't 'procmail-users(_at_)procmail(_dot_)org', you're running an old version of procmail and should probably consider upgrading it (no, not just because the address is old).

At 22:59 2001-02-02 -0800, bal ram wrote:
I just began using procmail . I am able to send mails
like yahoo,hotmail & etc. In my procmail log file
there is no error message.

Uh, what procmail log file would this be, because I do not see any indication that you're specifying a log file, or invoking procmail correctly - if you don't do that, don't expect much logging to take place.

Pleas explain me about how can i send mail using

Procmail isn't a mailer agent. It's an LDA - Local Delivery Agent. Although procmail can send messages as part of it's handling of mail (typically a simple forward, though it can invoke an external program such as sendmail to perform more complete mailings), procmail IS NOT invoked when you SEND messages.

procmail and give some instruction on procmail
formate(with examples).I am able send mail to local

At a shell prompt, type:

        man procmail

        man procmailex

        man procmailrc

        man procmailsc

        man formail

You should get gobs of examples, and good, hearty wholegrain useage info.

user like(eg)
   procmail balu
    test message
it workes fine but in
   procmail balu(_at_)yahoo(_dot_)com
    test message
not working and also its not showing any error

Uh, let me mention again how beneficial reading the manpages is. You can also get a bunch of useful info from the FAQs at <http://www.procmail.org>, but starting with the basics is a better idea. I suspect you have some specific thing you want to accomplish, and rather than becoming familiar with procmail as a whole, you're attempting to jump right to accomplishing your specific goal - a process which generally leads to trouble.

message,
i tryed some thing like
  procmail
  :0:
  * ! ^TO_balu(_at_)yahoo\(_dot_)com\
all the above commands are given in my root

The above clearly demonstrates you haven't read or properly interpreted the procmail manpages. The rules are places in a file called ".procmailrc", and are invoked when new incoming messages are received (although you can manually invoke procmail against a separate rule file as well, but then, you should be piping a message into it, and above you're clearly not doing that -- or specifying a delivery line in the rule for that matter). If procmail isn't configured in your MTA config to be the LDA, then procmail needs to be invoked from a .forward file (info on this is covered in the manpages and oh so many times in the list archives and the FAQs).

Again, check out: <http://www.procmail.org>

After doing some more reading of the provided material, if you're still unclear, then post what your basic recipe is, and how it isn't working under _specific_ conditions. Enable VERBOSE logging when you go to process some test messages.

Start small. DO NOT start with forwards or autoreplies, because people who screw those sorts of things up usually cause mail loops and other unpleasant things. In your .procmailrc, before any other rules, include a backup rule:

        :0c
        backup.mbx

This will help proctect against mistakes where you might be delivering messages to /dev/null or forwarding them to a bad address or whatnot inadvertently, which would normally result in a loss of email. For things you want to trash, start by putting them in a trashbin mailbox and when you're satisfied it works right, THEN start delivering them to /dev/null


---
 Sean B. Straw / Professional Software Engineering

 Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
 Please DO NOT carbon me on list replies.  I'll get my copy from the list.

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>