got it! the problem was that postfix maintains its own copy of passwd in /var/spool/postfix/etc and since the two files are not yet synchronized at the time of the creation, the username is definitely not yet known <to postfix, at least>.
Thanks to all of you. > > -----Original Message----- > > From: Richard Barrett [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, November 15, 2001 6:41 PM > > To: [EMAIL PROTECTED] > > Subject: Re: [Mailman-Users] ERROR: User unknown > > > > > > At 10:33 15/11/2001 +0800, you wrote: > > >I created a new user on the mail server to test the command-line > > adding of > > >members. The username created is julianh > > > > Did you add the user to /etc/passwd but fail to add a mail > alias for them > > to your MTAs aliases file/database? > > > > >I used the commands: > > > > > >echo [EMAIL PROTECTED] > /root/newuser > > >/home/mailman/bin/add_members -n /root/newuser > --welcome-mesg=y apc-staff > > > > > >The user is added to the list alright. But when I looked at > the logs, it > > >gave me this error message: > > > > > >Nov 15 10:17:54 cerveza postfix/smtpd[13257]: reject: RCPT from > > >localhost[127.0.0.1]: 550 <[EMAIL PROTECTED]>: User unknown; > > >from=<[EMAIL PROTECTED]> to=<[EMAIL PROTECTED]> > > > > the 550 return is you MTA saying that it cannot resolve the mail alias > > > > >What do this mean? Can you help me please? You see, i am > > creating a script > > >that when you add a user to the box, it will automatically add > > the user to a > > >mailing list and send a welcome message to that user so that > > when the user > > >logs in for the first time, he will already have a message from > > me. If this > > >was done through the web, everything is alright. But i really > need to do > > >this at the console... > > > > > >Thanks! > > > > > > > > >----------------------- > > >Spawn - The Scourge of the Damned > > > > > >Chris G Haravata > > >IT Resource Officer-Magallanes > > >Asia Pacific College (http://www.apc.edu.ph) > > >#3 Humabon Place, Magallanes Subd., > > >Makati City > > >Tel No 8529232 loc 402 > > >Cell No 0916.3500465 > > >--- > > >Outgoing mail is certified Virus Free. > > >Checked by AVG anti-virus system (http://www.grisoft.com). > > >Version: 6.0.295 / Virus Database: 159 - Release Date: 11/1/2001 > > > > > > > > >------------------------------------------------------ > > >Mailman-Users maillist - [EMAIL PROTECTED] > > >http://mail.python.org/mailman/listinfo/mailman-users > > > > > > --- > > Incoming mail is certified Virus Free. > > Checked by AVG anti-virus system (http://www.grisoft.com). > > Version: 6.0.295 / Virus Database: 159 - Release Date: 11/1/2001 > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.295 / Virus Database: 159 - Release Date: 11/1/2001 > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.295 / Virus Database: 159 - Release Date: 11/1/2001 ------------------------------------------------------ Mailman-Users maillist - [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users