Current time: 04-20-2024, 06:30 PM Hello There, Guest! (LoginRegister)


Post Reply 
[SOLVED] maia and mail duplicates
Author Message
Kris Offline
Newbie
*

Posts: 5
Joined: Dec 2008
Reputation: 0
Post: #1
[SOLVED] maia and mail duplicates
Hi,

after installing maia on rc6/rc7 (debian etch) all mails are send twice.
(Installed following this walk-through: http://www.isp-control.net/documentation...omega_rc3)

Commenting out:
content_filter = amavis:[127.0.0.1]:10024
from postfix' main.cf fixes the problem, but disables the filter.

I've attached postfix logs. A mail sent to the server when amavis is enabled and one where its disabled:

With amavis:
Code:
Dec 17 15:37:07 itoc-hosting01 amavis[16473]: (16473-07) Passed CLEAN, [10.10.3.30] [10.10.3.30] <Sender> -> <remote_recipient>,<local_recipient>,<mailinglistaddress>, Message-ID: <20081217143707.7A98A35117D@puppet>, Hits: -, 134 ms
Dec 17 15:37:07 itoc-hosting01 postfix/smtp[28769]: 929F5900C1: to=<remote_recipient>, orig_to=<mailinglistaddress>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.16, delays=0.01/0.01/0/0.14, dsn=2.6.0, status=sent (250 2.6.0 Ok, id=16473-07, from MTA: 250 2.0.0 Ok: queued as A959390125)
Dec 17 15:37:07 itoc-hosting01 postfix/smtp[28769]: 929F5900C1: to=<local_recipient>, orig_to=<mailinglistaddress>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.16, delays=0.01/0.01/0/0.14, dsn=2.6.0, status=sent (250 2.6.0 Ok, id=16473-07, from MTA: 250 2.0.0 Ok: queued as A959390125)
Dec 17 15:37:07 itoc-hosting01 postfix/smtp[28769]: 929F5900C1: to=<mailinglistaddress>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.16, delays=0.01/0.01/0/0.14, dsn=2.6.0, status=sent (250 2.6.0 Ok, id=16473-07, from MTA: 250 2.0.0 Ok: queued as A959390125)
Dec 17 15:37:07 itoc-hosting01 postfix/virtual[28933]: A959390125: to=<local_recipient>, relay=virtual, delay=0.07, delays=0.05/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to maildir)
Dec 17 15:37:07 itoc-hosting01 postfix/virtual[28933]: A959390125: to=<local_recipient>, orig_to=<mailinglistaddress>, relay=virtual, delay=0.07, delays=0.05/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to maildir)
Dec 17 15:37:07 itoc-hosting01 postfix/virtual[28934]: A959390125: to=<mailinglistaddress>, relay=virtual, delay=0.07, delays=0.05/0.02/0/0.01, dsn=2.0.0, status=sent (delivered to maildir)
Dec 17 15:37:08 itoc-hosting01 postfix/smtp[28932]: A959390125: to=<remote_recipient>, relay=gmail-smtp-in.l.google.com[64.233.183.114]:25, delay=0.67, delays=0.05/0.01/0.07/0.54, dsn=2.0.0, status=sent (250 2.0.0 OK 1229524628 6si23446321nfv.55)
Dec 17 15:37:08 itoc-hosting01 postfix/smtp[28932]: A959390125: to=<remote_recipient>, orig_to=<mailinglistaddress>, relay=gmail-smtp-in.l.google.com[64.233.183.114]:25, delay=0.67, delays=0.05/0.01/0.07/0.54, dsn=2.0.0, status=sent (250 2.0.0 OK 1229524628 6si23446321nfv.55)

Without amavis:
Code:
Dec 17 16:45:39 itoc-hosting01 postfix/virtual[27434]: 0808290150: to=<local_recipient>, orig_to=<mailinglistaddress>, relay=virtual, delay=0.04, delays=0.02/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to maildir)
Dec 17 16:45:39 itoc-hosting01 postfix/virtual[27444]: 0808290150: to=<mailinglistaddress>, relay=virtual, delay=0.04, delays=0.02/0.02/0/0, dsn=2.0.0, status=sent (delivered to maildir)
Dec 17 16:45:39 itoc-hosting01 postfix/smtp[27432]: 0808290150: to=<remote_recipient>, orig_to=<mailinglistaddress>, relay=gmail-smtp-in.l.google.com[64.233.183.114]:25, delay=0.49, delays=0.02/0.01/0.06/0.39, dsn=2.0.0, status=sent (250 2.0.0 OK 1229528739 c9si2457480nfi.5)
Dec 17 16:45:41 itoc-hosting01 postfix/virtual[27434]: 54FD990150: to=<local_recipient>, relay=virtual, delay=0.06, delays=0.05/0/0/0, dsn=2.0.0, status=sent (delivered to maildir)
(This post was last modified: 12-22-2008 03:38 AM by BeNe.)
12-19-2008 06:49 PM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #2
RE: maia and mail duplicates
Can you please post your config with
Code:
postconf -n

Greez BeNe
12-20-2008 01:25 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Kris Offline
Newbie
*

Posts: 5
Joined: Dec 2008
Reputation: 0
Post: #3
RE: maia and mail duplicates
Sure, here it is:

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_at_myorigin = yes
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = amavis:[127.0.0.1]:10024
daemon_directory = /usr/lib/postfix
inet_interfaces = all
inet_protocols = ipv4
local_destination_recipient_limit = 1
local_recipient_maps = unix:passwd.byname $alias_database
local_transport = local
mail_spool_directory = /var/mail
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
mydestination = $myhostname, $mydomain
mydomain = host.domain.com.local
myhostname = host.domain.com
mynetworks = 127.0.0.1, 10.10.0.0/16
mynetworks_style = host
myorigin = $myhostname
notify_classes = resource, software, protocol
recipient_delimiter = +
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP ispCP 1.0.0 RC7 OMEGA Managed
smtpd_data_restrictions = reject_multi_recipient_bounce, reject_unauth_pipelining
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks, permit_sasl_authenticated
smtpd_recipient_restrictions = reject_non_fqdn_recipient, reject_unknown_recipient_domain, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, permit
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_sender_restrictions = permit_mynetworks, permit_sasl_authenticated
transport_maps = hash:/etc/postfix/ispcp/transport
virtual_alias_maps = hash:/etc/postfix/ispcp/aliases
virtual_gid_maps = static:8
virtual_mailbox_base = /var/mail/virtual
virtual_mailbox_domains = hash:/etc/postfix/ispcp/domains
virtual_mailbox_limit = 0
virtual_mailbox_maps = hash:/etc/postfix/ispcp/mailboxes
virtual_minimum_uid = 2002
virtual_transport = virtual
virtual_uid_maps = static:2002
12-20-2008 01:32 AM
Find all posts by this user Quote this message in a reply
Kris Offline
Newbie
*

Posts: 5
Joined: Dec 2008
Reputation: 0
Post: #4
RE: maia and mail duplicates
Hi again,

This only happens with mailadresses that are forwarded AND normal mail, created like this:
In iscpcp:
add mail user
check normal mail
check forward mail

Standard user accounts or forwards, that does not have "normal mail" checked, works...

Thanks for your help :-)

Regards
Kris
12-20-2008 11:25 PM
Find all posts by this user Quote this message in a reply
Kris Offline
Newbie
*

Posts: 5
Joined: Dec 2008
Reputation: 0
Post: #5
RE: [SOLVED] maia and mail duplicates
How come this thread has been marked solved?
I still have this problem... Sad

Any pointers are greatly appreciated.
12-26-2008 10:30 PM
Find all posts by this user Quote this message in a reply
lschafroth Offline
Junior Member
*

Posts: 149
Joined: Oct 2008
Reputation: 0
Post: #6
RE: [SOLVED] maia and mail duplicates
I agree, this must be reported as a bug.

You should be able to have a normal email address set to forward and not get duplicates. You should not be forced to delete the account, losing all emails, then recreate it as a forward only account.

Needs fixed.

Lannie
12-27-2008 02:01 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Kris Offline
Newbie
*

Posts: 5
Joined: Dec 2008
Reputation: 0
Post: #7
RE: [SOLVED] maia and mail duplicates
Unfortunately I need the "real" mailbox... Sad

Should I report this a bug or is that already done?
Is it a maia or ispcp bug?

Kristoffer
12-30-2008 10:11 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)