OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: Return message to sender when message size limit exceed

From: 2S3I - COMPAIN Eric (e.compain2s3i.com)
Date: Tue Jul 31 2007 - 05:12:12 CDT


Here is the postconf-n output :
alias_maps = hash:/etc/aliases,ldap:/etc/postfix/ldapaliases.cf
append_at_myorigin = no
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = no
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 3
debug_peer_list =
defer_transports =
disable_dns_lookups = no
html_directory = no
inet_interfaces = all
local_recipient_maps =
mail_owner = postfix
mailbox_size_limit = 0
mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
masquerade_classes = envelope_sender, header_sender, header_recipient
masquerade_exceptions = root
message_size_limit = 5242880
mydestination = $myhostname, localhost, localhost.xxxxx.xx,
localhost.xxxx.xxxxx
myhostname = xxxx.xxxx.xx
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.1.5/README_FILES
recipient_delimiter = +
relay_domains = $mydestination
relayhost =
sample_directory = /usr/share/doc/postfix-2.1.5/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_banner = $myhostname
smtpd_sasl_auth_enable = no
smtpd_sasl_security_options = noanonymous
strict_rfc821_envelopes = no
transport_maps = ldap:/etc/postfix/ldaptrans.cf
unknown_local_recipient_reject_code = 450
virtual_alias_domains = ldap:/etc/postfix/ldapvdom.cf
virtual_alias_maps =
ldap:/etc/postfix/ldapcoloc.cf,ldap:/etc/postfix/ldapaliases

PS : I read english very well, but when I'm writing something in
english, I'm not Shakespeare ;-))))

Eric

2S3I - COMPAIN Eric wrote:
> Hi,
>
> I work on Postfix 2.0, Cyrus-Imap and Sieve.
>
> I've fix a limit for the message size : when I test, the message is
not
> delivered to the recipient, BUT the sender didn't receive an error
> message.
>

show logs and config ('postconf -n').
> Does anyone know how to activate this ?
>
> Thanks for your answers,
>
> Best regards,
>
> Eric
>
> PS : sorry for my english.
>

postconf -n output and logs are in english :)
>
>