[relug] dove mette le mie mail procmail??

  • From: Marco Bertolini - Sal <marco.bertolini1@xxxxxxxxxxxxxxxxx>
  • To: relug <relug@xxxxxxxxxxxxx>
  • Date: Mon, 10 May 2004 19:34:59 +0200

Sto provando a mettere su postfix+fetchmail+procmail.
In fase di invio non ci sono problemi. 
Con mutt edito la posta , poi la invio con sendmail e non ci sono
problemi.
I problemi sono in fase di ricezione. Vado a prendere la roba con
fetchmail, che poi se non ho capito male, dovrebbe passarla a procmail.
Procmail non ha regole di filtraggio, quindi dovrebbe porre il tutto in
/var/spool/mail/berto. Il problema è che lì non ci trovo niente!!!
Any hint?

Allego /etc/postfix/main.cf, ~/.fetchmailrc, ~/.procmailrc

#postfix

soft_bounce = yes
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
mail_owner = postfix
default_privs = nobody
myhostname = legolas
mydomain = libero.it
myorigin = libero.it
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain
unknown_local_recipient_reject_code = 450
mynetworks_style = host
mynetworks = 127.0.0.0/8
relay_domains = $mydestination
relayhost = mail.libero.it
canonical_maps = hash:/etc/postfix/canonical
virtual_maps = hash:/etc/postfix/virtual
defer_transports = smtp
disable_dns_lookup = yes
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mail_spool_directory = /var/spool/mail
mailbox_command = /usr/bin/procmail 
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
debugger_command =
         PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
         xxgdb $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq
setgid_group = mail
manpage_directory = /usr/share/doc/manpages
sample_directory = /usr/share/doc/postfix/examples
readme_directory = /usr/share/doc/postfix

#fetchmail

poll posta.studenti.unipr.it proto POP3 timeout 60
user marco.bertolini1@xxxxxxxxxxxxxxxxx there with password 66545631 is
berto here options keep

#procmail

PATH=/usr/local/bin:/usr/bin:/bin
MAILDIR=$HOME/Posta   #you'd better make sure it exists
DEFAULT=Posta/mbox   #completely optional
LOGFILE=$MAILDIR/from   #recommended

grazie mille e scusate per la lunghezza della mail

ciao
        Berto
-- 
Gli avvocati sono le uniche persone la cui ignoranza della legge non 
venga punita
                                         Jeremy Bentham
-----------------------------------------------------------------------
Registered Linux User #342067
Please don't send me documents in M$ Office format.
See http://www.fsf.org/philosophy/no-word-attachments.html
-----------------------------------------------------------------------

Other related posts: