LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-07-2009, 08:25 AM   #1
Dan BadJar
LQ Newbie
 
Registered: Jul 2009
Posts: 1

Rep: Reputation: 0
Procmail doesn't work with alias? Possibly?


Hello!
This is my first post in this forum, sorry for my english that's not so good ;-)Well, the problem is that procmail seems ignoring mailboxes, delivering the message only to the last mailbox found in the alias.
Example:
I use postfix, and I have the alias called alias1. This is the log of postfix:
Jul 7 11:14:03 SLACKSERVER2 postfix/pipe[31603]: 5C358726CB: to=<utente2@slackmail.org>, orig_to=<alias1>, relay=procmail, delay=0.14, delays=0.04/0.02/0/0.08, dsn=2.0.0, status=sent (delivered via procmail service)
Jul 7 11:14:03 SLACKSERVER2 postfix/pipe[31603]: 5C358726CB: to=<utente3@slackmail.org>, orig_to=<alias1>, relay=procmail, delay=0.14, delays=0.04/0.02/0/0.08, dsn=2.0.0, status=sent (delivered via procmail service)
Jul 7 11:14:03 SLACKSERVER2 postfix/pipe[31603]: 5C358726CB: to=<utente4@slackmail.org>, orig_to=<alias1>, relay=procmail, delay=0.14, delays=0.04/0.02/0/0.08, dsn=2.0.0, status=sent (delivered via procmail service)
Jul 7 11:14:03 SLACKSERVER2 postfix/pipe[31603]: 5C358726CB: to=<utente5@slackmail.org>, orig_to=<alias1>, relay=procmail, delay=0.14, delays=0.04/0.02/0/0.08, dsn=2.0.0, status=sent (delivered via procmail service)
Jul 7 11:14:03 SLACKSERVER2 postfix/pipe[31603]: 5C358726CB: to=<utente6@slackmail.org>, orig_to=<alias1>, relay=procmail, delay=0.14, delays=0.04/0.02/0/0.08, dsn=2.0.0, status=sent (delivered via procmail service)

Procmail delivers the message only to the last one: utente6@slackmail.org
My global procmailrc is:

PATH=/usr/bin:/bin:/usr/local/bin:.
DROPPRIVS=yes
MAILDIR=$HOME/$DOMAIN/$USER
DEFAULT=$MAILDIR/
LOGFILE=$MAILDIR/mail.log
LOCKFILE=$MAILDIR/mail.lock
LOG="
Parameter HOME is $HOME
Parameter DOMAIN is $DOMAIN
Parameter USER is $USER
Parameter NEXTHOP is $NEXTHOP
Parameter MAILDIR is $MAILDIR
Parameter DEFAULT is $DEFAULT
"
VERBOSE=yes


So, what happens in mail.log is
Parameter HOME è /home/emails
Parameter DOMAIN è slackmail.org
Parameter USER è utente6
Parameter NEXTHOP è slackmail.org
Parameter MAILDIR è /home/emails/slackmail.org/utente6
Parameter DEFAULT è /home/emails/slackmail.org/utente6/
procmail: [31604] Tue Jul 7 11:14:03 2009
procmail: Assigning "LASTFOLDER=/home/emails/slackmail.org/utente6/new/1246958043.31604_1.SLACKSERVER2"
Subject: Report Stato Server SLACKSERVER2.pinguini.org
Folder: /home/emails/slackmail.org/utente6/new/1246958043.31604_1.SL 1515
procmail: Unlocking "/home/emails/slackmail.org/utente6/mail.lock"

It seems to be everything ok, but the message is delivered only to this mailbox: utente6
Any idea?
Thanks in advice for all possible replies.
 
  


Reply

Tags
mailserver, procmail


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
procmail mailboxes ... some work, some don't Spechal Linux - Newbie 1 01-13-2009 12:23 PM
How Does Procmail Work w/ MTA? carlosinfl Linux - Server 4 01-31-2008 08:28 PM
qmail work with procmail sizzlingdesi Linux - Software 0 11-02-2006 06:44 PM
why printer alias not work coolbud Linux - General 4 08-07-2006 04:29 PM
Printer alias does not work coolbud Linux - General 1 08-01-2006 07:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration