OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
RE: aliases as mailinglists

From: Philippe Trolliet (p.trollietnovatec-gmbh.de)
Date: Tue Mar 06 2007 - 02:44:42 CST


>
> Philippe Trolliet wrote:
> >> hi,
> >> i´m using postfix on fc4 with virtual users and domains stored
> in a mysql
> >> db.
> >> on my former mailserver i used aliases as mailingslists. a mail sent to
> >> department-1domain.com has been delivered to all the mail
> >> addresses defined
> >> in a seperate file for that alias.
> >>
> >> now i tried the same and defined an alias
> department-1domain.com in the
> >> appropriate mysql-table. for that alias i defined 2 test mail
> >> accounts. each
> >> account on a seperate line. the mail is delivered to the
> accounts but the
> >> sender gets a "undelivered mail returned to sender" with
> >> following content:
> >>
> >> This is the Postfix program at host mail.novaware.de.
> >>
> >> I'm sorry to have to inform you that your message could not
> >> be delivered to one or more recipients. It's attached below.
> >>
> >> For further assistance, please send mail to <postmaster>
> >>
> >> If you do so, please include this problem report. You can
> >> delete your own text from the attached returned message.
> >>
> >> The Postfix program
> >>
> >> <account1domain1.com>: data format error. Command output: :
> Mailbox does
> >> not exist
> >>
> >> <account2domain1.com>: data format error. Command output: :
> Mailbox does
> >> not exist
> >>
> >>
> >> the mail is delivered to the accounts but the sender gets the
> above mail.
> >> what´s the problem here? how can i solve this problem?
> >>
> >>
> >> regards
> >> philippe
> >>
> >>
> >
> > here is some additional information:
> > i´m using postfix with cyrus-imapd. in the log i see following message:
> >
> > Mar 5 15:02:39 mail postfix/smtp[23219]: DFEAD5E44E0:
> > to=<lulunovaware.de>, orig_to=<everyonenovaware.de>,
> > relay=127.0.0.1[127.0.0.1], delay=6, status=sent (250 2.6.0 Ok,
> id=23181-01,
> > from MTA([127.0.0.1]:10025): 250 Ok: queued as B0AAD5E44E1)
> > Mar 5 14:02:39 mail postfix/smtp[23219]: DFEAD5E44E0:
> > to=<p.trollietnovaware.de>, orig_to=<everyonenovaware.de>,
> > relay=127.0.0.1[127.0.0.1], delay=6, status=sent (250 2.6.0 Ok,
> id=23181-01,
> > from MTA([127.0.0.1]:10025): 250 Ok: queued as B0AAD5E44E1)
> > Mar 5 15:02:39 mail amavis[23181]: (23181-01)
> post_process_request_hook:
> > timer was not running
> > Mar 5 15:02:39 mail amavis[23181]: (23181-01) idle_proc, bye:
> was busy, 4.2
> > ms, total idle 0.002 s, busy 5.875 s
> > Mar 5 15:02:39 mail amavis[23181]: (23181-01) load: 100 %,
> total idle 0.002
> > s, busy 5.875 s
> > Mar 5 15:02:39 mail postfix/qmgr[23152]: DFEAD5E44E0: removed
> > Mar 5 15:02:39 mail lmtpunix[22221]: accepted connection
> > Mar 5 15:02:39 mail lmtpunix[22221]: lmtp connection preauth'd
> as postman
> > Mar 5 15:02:39 mail master[23229]: about to exec
> /usr/lib/cyrus-imapd/lmtpd
> > Mar 5 15:02:39 mail lmtpunix[23229]: executed
> > Mar 5 15:02:39 mail lmtpunix[22221]: verify_user() failed:
> Mailbox does not
> > exist
> > Mar 5 15:02:39 mail lmtpunix[22221]: IOERROR: fstating sieve script
> > /var/lib/imap/sieve/domain/n/novaware.de/l/lulu/defaultbc: No
> such file or
> > directory
> > Mar 5 15:02:39 mail lmtpunix[22221]: duplicate_check:
> > <IFEMJJOBPCHGAFECGKEBEEAICHAA.p.trollietnovatec-gmbh.de>
> > novaware.de!user.lulu 0
> > Mar 5 15:02:39 mail lmtpunix[22221]: mystore: starting txn 2147483971
> > Mar 5 15:02:39 mail lmtpunix[22221]: mystore: committing txn 2147483971
> > Mar 5 15:02:39 mail lmtpunix[22221]: duplicate_mark:
> > <IFEMJJOBPCHGAFECGKEBEEAICHAA.p.trollietnovatec-gmbh.de>
> > novaware.de!user.lulu 1173103359 5
> > Mar 5 15:02:39 mail lmtpunix[22221]: duplicate_check:
> > <IFEMJJOBPCHGAFECGKEBEEAICHAA.p.trollietnovatec-gmbh.de>
> > novaware.de!user.p^trolliet 0
> > Mar 5 15:02:39 mail lmtpunix[22221]: mystore: starting txn 2147483972
> > Mar 5 15:02:39 mail lmtpunix[22221]: mystore: committing txn 2147483972
> > Mar 5 15:02:39 mail lmtpunix[22221]: duplicate_mark:
> > <IFEMJJOBPCHGAFECGKEBEEAICHAA.p.trollietnovatec-gmbh.de>
> > novaware.de!user.p^trolliet 1173103359 49
> > Mar 5 15:02:39 mail lmtpunix[22221]: mystore: starting txn 2147483973
> > Mar 5 15:02:39 mail lmtpunix[22221]: mystore: committing txn 2147483973
> > Mar 5 15:02:39 mail lmtpunix[22221]: duplicate_mark:
> > <IFEMJJOBPCHGAFECGKEBEEAICHAA.p.trollietnovatec-gmbh.de>
> > .p^trolliet+novaware.de.sieve. 1173103359 0
> > Mar 5 15:02:39 mail postfix/pipe[23227]: B0AAD5E44E1:
> > to=<lulunovaware.de>, relay=cyrus, delay=0, status=bounced (data format
> > error. Command output: : Mailbox does not exist )
> > Mar 5 15:02:39 mail postfix/pipe[23227]: B0AAD5E44E1:
> > to=<p.trollietnovaware.de>, relay=cyrus, delay=0, status=bounced (data
> > format error. Command output: : Mailbox does not exist )
> >
>
> cyrus doesn't like the recipient address (can't find the corresponding
> mailbox). so fix your cyrus...
>

it works if i have a single destination address for an alias. but if i enter
more, which should be possible, i get the sender-notification that the
mailboxes doesn´t exist. but the mail is delivered to the users.

--
I am using the free version of SPAMfighter for private users.
It has removed 3928 spam emails to date.
Paying users do not have this message in their emails.
Get the free SPAMfighter here: http://www.spamfighter.com/len