|
From: Joachim Rosskopf on 5 Sep 2007 07:53 Hello, I have common setup with postfix-2.2.9-10, amavisd-new-2.3.3-17 and cyrus-imapd-2.2.12-27 running quite well. But currently traffic increases and some issues with my setup makes me run into some trouble: I currently use the address-extension: @addr_extension_virus_maps = ('Virus'); @addr_extension_spam_maps = ('Junk'); @addr_extension_banned_maps = ('Banned'); @addr_extension_bad_header_maps = ('Badh'); $recipient_delimiter = '+'; $final_virus_destiny = D_DISCARD; $final_spam_destiny = D_PASS; to have spam mails filed into the Junk folder in the users inbox. That works quite well for well configured mailaccounts. But there is a problem in case the user deletes the mailbox or it simply doesn´t exist (e.g. a public folder). Postfix says then: ..... to=<+public.webmaster+J...(a)my.hostname>, relay=/var/lib/imap/ socket/lmtp[/var/lib/imap/socket/lmtp], delay=0, status=bounced (host / var/lib/imap/socket/lmtp[/var/lib/imap/socket/lmtp] said: 550-Mailbox unknown. Either there is no mailbox associated with this 550-name or you do not have authorization to see it. 550 5.1.1 User unknown (in reply to RCPT TO command)) And tries to bounce that mail back to the possible spam sender. As the host is probably inexistent the mail gets stuck in the mail queue. Is there a way to discard the spam mail, if there is no Junk folder? Suggestions anyone? Regards. --- Joachim
From: Ralf Hildebrandt on 5 Sep 2007 08:04 On 2007-09-05, Joachim Rosskopf <joachim.rosskopf(a)gmail.com> wrote: > Hello, > > I have common setup with postfix-2.2.9-10, amavisd-new-2.3.3-17 and > cyrus-imapd-2.2.12-27 running quite well. But currently traffic > increases and some issues with my setup makes me run into some > trouble: > > I currently use the address-extension: > > @addr_extension_virus_maps = ('Virus'); > @addr_extension_spam_maps = ('Junk'); > @addr_extension_banned_maps = ('Banned'); > @addr_extension_bad_header_maps = ('Badh'); > $recipient_delimiter = '+'; > > $final_virus_destiny = D_DISCARD; > $final_spam_destiny = D_PASS; > > to have spam mails filed into the Junk folder in the users inbox. That > works quite well for well configured mailaccounts. But there is a > problem in case the user deletes the mailbox or it simply doesn´t > exist (e.g. a public folder). > > Postfix says then: > > .... to=<+public.webmaster+J...(a)my.hostname>, relay=/var/lib/imap/ > socket/lmtp[/var/lib/imap/socket/lmtp], delay=0, status=bounced > (host / > var/lib/imap/socket/lmtp[/var/lib/imap/socket/lmtp] said: 550-Mailbox > unknown. Either there is no mailbox associated with this 550-name or > you do not have authorization to see it. 550 5.1.1 User unknown (in > reply to RCPT TO command)) You must of course configure cyrus to actually accept these address extensions as well. -- Ralf Hildebrandt (i.A. des IT-Zentrums) Ralf.Hildebrandt(a)charite.de Charite - Universitätsmedizin Berlin Tel. +49 (0)30-450 570-155 Gemeinsame Einrichtung von FU- und HU-Berlin Fax. +49 (0)30-450 570-962 IT-Zentrum Standort CBF send no mail to plonk(a)charite.de
From: Joachim Rosskopf on 5 Sep 2007 10:44 Hello, thank you for the fast reply. But I´don´t know exactly what you mean. How should I configure cyrus to accept as well, if the mailbox is not existent and if I can´t guarantee that the desired mailbox exists. I thought more or less of a configuration rule, that says postfix to drop ( or as an alternative and more secure way catch all to a single account ) mails routed back from amavis, if user does not exist. But if a solution through cyrus imapd is more elegant, give me a clue! Regars --- Joachim On 5 Sep., 14:04, Ralf Hildebrandt <hil...(a)charite.de> wrote: > On 2007-09-05, Joachim Rosskopf <joachim.rossk...(a)gmail.com> wrote: > > > > > Hello, > > > I have common setup with postfix-2.2.9-10, amavisd-new-2.3.3-17 and > > cyrus-imapd-2.2.12-27 running quite well. But currently traffic > > increases and some issues with my setup makes me run into some > > trouble: > > > I currently use the address-extension: > > > @addr_extension_virus_maps = ('Virus'); > > @addr_extension_spam_maps = ('Junk'); > > @addr_extension_banned_maps = ('Banned'); > > @addr_extension_bad_header_maps = ('Badh'); > > $recipient_delimiter = '+'; > > > $final_virus_destiny = D_DISCARD; > > $final_spam_destiny = D_PASS; > > > to have spam mails filed into the Junk folder in the users inbox. That > > works quite well for well configured mailaccounts. But there is a > > problem in case the user deletes the mailbox or it simply doesn´t > > exist (e.g. a public folder). > > > Postfix says then: > > > .... to=<+public.webmaster+J...(a)my.hostname>, relay=/var/lib/imap/ > > socket/lmtp[/var/lib/imap/socket/lmtp], delay=0, status=bounced > > (host / > > var/lib/imap/socket/lmtp[/var/lib/imap/socket/lmtp] said: 550-Mailbox > > unknown. Either there is no mailbox associated with this 550-name or > > you do not have authorization to see it. 550 5.1.1 User unknown (in > > reply to RCPT TO command)) > > You must of course configure cyrus to actually accept these address > extensions as well. > > -- > Ralf Hildebrandt (i.A. des IT-Zentrums) Ralf.Hildebra...(a)charite.de > Charite - Universitätsmedizin Berlin Tel. +49 (0)30-450 570-155 > Gemeinsame Einrichtung von FU- und HU-Berlin Fax. +49 (0)30-450 570-962 > IT-Zentrum Standort CBF send no mail to pl...(a)charite.de
|
Pages: 1 Prev: host lookup verification of failed Next: MAILER-DAEMON e-mails filter help |