Maia Mailguard: Message larger than 1000000 bytes rejected

User avatar
lumio
Posts: 46
Joined: 2008-05-24 16:48

Maia Mailguard: Message larger than 1000000 bytes rejected

Post by lumio »

Hi,

ich hab bei mir Maia Mailguard installiert und klappt echt super. Bis auf das, dass ich keine Dateien die grösser als 1MB verschicken kann.

Ich bin bereits nach der Seite vorgegangen: http://www.maiamailguard.com/maia/wiki/SizeLimit
Hab geschaut, dass überall alles höher ist. Aber es klappt nicht (ja ich hab sogar sicherheitshalber rebootet)

Ich bekomm andauernd die Nachricht 534 5.3.4 Message larger than 1000000 bytes rejected, id=01590-01

Ich habe einen vServer mit isp-cp 1.0.7 drauf.

Wär echt super, wenn ihr mir da weiterhelfen könnt
Top

User avatar
lumio
Posts: 46
Joined: 2008-05-24 16:48

Re: Maia Mailguard: Message larger than 1000000 bytes reject

Post by lumio »

okay, also die main.cf (hoffe das meinst mit postconf)

Code: Select all

# Postfix directory settings; These are critical for normal Postfix MTA functionallity
command_directory            = /usr/sbin
daemon_directory             = /usr/lib/postfix

# Some common configuration parameters
inet_interfaces              = all
mynetworks_style             = host

myhostname                   = xyc
mydomain                     = xyc
myorigin                     = $myhostname

smtpd_banner                 = $myhostname ESMTP
setgid_group                 = postdrop

# Receiving messages parameters
mydestination                = $myhostname, $mydomain
append_dot_mydomain          = no
append_at_myorigin           = yes
local_transport              = local
virtual_transport            = virtual
transport_maps               = hash:/etc/postfix/ispcp/transport
alias_maps                   = hash:/etc/aliases
alias_database               = hash:/etc/aliases

# Delivering local messages parameters
mail_spool_directory         = /var/mail

# Mailboxquota
# => 0 for unlimited
# => 104857600 for 100 MB
mailbox_size_limit           = 104857600
mailbox_command              = procmail -a "$EXTENSION"

# Message size limit
# => 0 for unlimited
# => 104857600 for 100 MB
message_size_limit           = 104857600 #das war vorher auf 0, hatte aber nicht geklappt

biff                         = no
recipient_delimiter          = +

local_destination_recipient_limit = 1
local_recipient_maps         = unix:passwd.byname $alias_database

# ispCP Autoresponder parameters
ispcp-arpl_destination_recipient_limit = 1

# Delivering virtual messages parameters
virtual_mailbox_base         = /var/mail/virtual
virtual_mailbox_limit        = 0

virtual_mailbox_domains      = hash:/etc/postfix/ispcp/domains
virtual_mailbox_maps         = hash:/etc/postfix/ispcp/mailboxes

virtual_alias_maps           = hash:/etc/postfix/ispcp/aliases

virtual_minimum_uid          = 1000
virtual_uid_maps             = static:1000
virtual_gid_maps             = static:8

# SASL paramters
smtpd_sasl_auth_enable       = yes
smtpd_sasl_security_options  = noanonymous
smtpd_sasl_local_domain      =
broken_sasl_auth_clients     = yes

smtpd_helo_required          = yes

smtpd_helo_restrictions      = permit_mynetworks,
                               permit_sasl_authenticated,
                               reject_invalid_helo_hostname,
                               reject_non_fqdn_helo_hostname

smtpd_sender_restrictions    = reject_non_fqdn_sender,
                               reject_unknown_sender_domain,
                               permit_mynetworks,
                               permit_sasl_authenticated

smtpd_recipient_restrictions = reject_non_fqdn_recipient,
                               reject_unknown_recipient_domain,
                               permit_mynetworks,
                               permit_sasl_authenticated,
                               reject_unauth_destination,
                               reject_unlisted_recipient,
                               check_policy_service inet:127.0.0.1:12525,
                               check_policy_service inet:127.0.0.1:60000,
                               permit

smtpd_data_restrictions      = reject_multi_recipient_bounce,
                               reject_unauth_pipelining

# TLS parameters; activate, if avaible/used
#smtpd_tls_security_level    = may
smtpd_tls_loglevel          = 2
smtpd_tls_cert_file         = /etc/postfix/ssl.crt
smtpd_tls_key_file          = /etc/postfix/ssl.key
#smtpd_tls_auth_only         = no
smtpd_tls_received_header   = yes

# AMaViS parameters; activate, if available/used
content_filter               = amavis:[127.0.0.1]:10024

smtpd_sasl_authenticated_header = yes
receive_override_options = no_address_mappings


und in amavisd.conf und maia.conf sind die werte jeweils auf 500*1024 - aber da gehts ja eher um was anderes :)
Top

User avatar
lumio
Posts: 46
Joined: 2008-05-24 16:48

Re: Maia Mailguard: Message larger than 1000000 bytes reject

Post by lumio »

Hi,

ja ich wusste allerdings nicht genau, was damit gemeint war. Dachte lediglich an die main.cf

also postconf sagt mir einiges... davon sind vielleicht folgende sachen relevant:

Code: Select all

body_checks_size_limit = 51200
bounce_size_limit = 50000
header_size_limit = 102400
mailbox_size_limit = 104857600 (also 100MB)
message_size_limit = 104857600 (also 100MB)
mime_boundary_length_limit = 2048
virtual_mailbox_limit = 0
Top

User avatar
Joe User
Project Manager
Project Manager
Posts: 11518
Joined: 2003-02-27 01:00
Location: Hamburg

Re: Maia Mailguard: Message larger than 1000000 bytes reject

Post by Joe User »

virtual_mailbox_limit möchte ebenfalls auf 100MB gesetzt werden.

@matze: postmap auf main.cf?
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Top

User avatar
Joe User
Project Manager
Project Manager
Posts: 11518
Joined: 2003-02-27 01:00
Location: Hamburg

Re: Maia Mailguard: Message larger than 1000000 bytes reject

Post by Joe User »

Naja, ich würde alle drei Sizelimits gar nicht setzen, die Defaults reichen im Regelfall und lassen sich ansonsten in der DB (virtual_mailbox_limit_maps) individuell setzen.
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Top

User avatar
lumio
Posts: 46
Joined: 2008-05-24 16:48

Re: Maia Mailguard: Message larger than 1000000 bytes reject

Post by lumio »

Alles klar, hab die Lösung im ISP-CP Forum bekommen:

Als admin bei maia anmelden und das limit erhöhen :)

danke
Top