The 03.10.08 at 12:05, Giulio F. wrote:
I've just configured email with yast2. 1. I can get the emails but I can't send them... Maybe is this:I saw in yast2 help an option with: 'sendmail -q' to send the email. Is there a way I can automate the process? (above all because I have to be root to exec 'sendmail -q')
Script '/etc/ppp/poll.tcpip' does it automatically. It is called from '/etc/ppp/ip-up', which in turn, is started from the 'pppd' daemon. Notice that this script also calls fetchmail. I disabled it, I use my own script (ip-up.local).
2. procmail doesn't work(or isn'properly setted), maybe I put some mistakes in ~/.procmailrc that is:
Is this your user file, or root's? The second will not work under postfix.
MAILDIR=$HOME/Mail DEFAULT=$MAILDIR/inbox :0: * ^(To|cc|Cc):.*suse-linux-e* $HOME/Mail/suse-linux-e
I have: VERBOSE=off LOGFILE=$HOME/procmail.log # antispam :0fw | /usr/bin/spamc :0 a: * ^X-Spam-Status: Yes $HOME/Mail/in_spam :0 * ^Original-Recipient: rfc822;robin1.listas@tiscali.es { # Add a Reply-To to this mail list, and move to the correct file. :0f * ^X-Mailinglist: suse-linux-e | /usr/bin/formail -bfi "Reply-To:suse-linux-e@suse.com" :0 a: $HOME/Mail/lists/suse-linux-e # more suse lists here # everything else :0 $HOME/Mail/lists/in_elresto }
when I use fetchmail all the messages remain in /var/mail/ is this correct? 'fetchmail -m /usr/bin/procmail' (to activate procmail)
I use fetchmail with no options, and allow postfix to handle it (so I can reject some headers). It ends up going to procmail. -- Cheers, Carlos Robinson