Hello List,

I have a Postfix 2.11 mail server that receives mail to some of my personal
domains and delivers it via lmtp to dovecot
This is a centos 6.4 server that has a hostname of vrajah-5.localdomain

The myhostname parameter and the myorgin parameter in main.cf is set to the
real domain name rvijay.me

When ever a bounce gets generated, this is the mail it generates.

<snip>
  host
    vrajah5.localdomain[/apps/
mail/var/postfix/dovecot-lmtp] said: 552
    5.2.2 <n...@rvijay.me> Quota exceeded (mailbox for user is full) (in
reply
    to end of DATA command)
</snip>

I was wondering if i could change this without changing the servers'
hostname and also change the sender from MAILER-DAEMON@vrajah5.localdomainto
mailer-dae...@rvijay.me ( I tried using generic maps, it did not work)

Also,  why does the path to dovecot-lmtp get sent to with the undeliverable
domain. How can i change it so that it does not get sent with the mail?

Any help is appreciated

-Thanks
Vijay


---------------------postconf -n---------------------

alias_database = hash:/opt/mail/postfix/2.11/etc/aliases
alias_maps = hash:/opt/mail/postfix/2.11/etc/aliases
command_directory = /opt/mail/postfix/2.11/sbin
config_directory = /etc/postfix
daemon_directory = /opt/mail/postfix/2.11/libexec
data_directory = /opt/mail/postfix/2.11/var/lib
debug_peer_level = 2
debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd
$daemon_directory/$process_name $process_id & sleep 5
disable_vrfy_command = yes
html_directory = no
inet_protocols = ipv4
invalid_hostname_reject_code = 554
lmtp_host_lookup = native
lmtp_lhlo_name = mail1.rvijay.me
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /opt/mail/postfix/2.11/man
message_size_limit = 52428800
multi_recipient_bounce_reject_code = 554
mydestination = localhost, localhost.localdomain
newaliases_path = /usr/bin/newaliases
non_fqdn_reject_code = 554
queue_directory = /opt/mail/postfix/2.11/var/spool
readme_directory = no
relay_domains_reject_code = 554
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtp_generic_maps = hash:/opt/mail/postfix/2.11/etc/generic
smtp_tls_CAfile = /opt/mail/postfix/2.11/etc/ssl/myca.pem
smtp_tls_security_level = may
smtp_tls_session_cache_database =
btree:/opt/mail/var/postfix/smtp_tls_session_cache
smtpd_helo_required = yes
smtpd_recipient_restrictions = reject_invalid_hostname,
reject_unknown_recipient_domain, reject_unknown_sender_domain,
reject_unauth_pipelining, permit_mynetworks, permit_sasl_authenticated,
reject_unauth_destination, check_policy_service inet:localhost:12340
check_client_access hash:/opt/mail/postfix/2.11/etc/client_hash_whitelist
check_reverse_client_hostname_access
pcre:/opt/mail/postfix/2.11/etc/fqrdns.pcre reject_rbl_client
dnsbl.sorbs.net, reject_rbl_client zen.spamhaus.org, reject_rbl_client
truncate.gbudb.net, permit
smtpd_reject_unlisted_sender = yes
smtpd_relay_restrictions =
smtpd_sasl_auth_enable = no
smtpd_sasl_path = /opt/mail/var/postfix/dovecot-auth
smtpd_sender_restrictions = check_sender_access
hash:/opt/mail/postfix/2.11/etc/sender_restrictions,
reject_unknown_sender_domain
smtpd_tls_CAfile = /opt/mail/postfix/2.11/etc/ssl/myca.pem
smtpd_tls_ciphers = high
smtpd_tls_exclude_ciphers = aNULL, MD5, DES
smtpd_tls_mandatory_ciphers = high
smtpd_tls_protocols = TLSv1
smtpd_tls_received_header = yes
smtpd_tls_security_level = may
smtpd_tls_session_cache_database =
btree:/opt/mail/var/postfix/smtpd_tls_session_cache
strict_rfc821_envelopes = yes
tls_random_source = dev:/dev/urandom
unknown_address_reject_code = 554
unknown_client_reject_code = 554
unknown_hostname_reject_code = 554
unknown_local_recipient_reject_code = 554
unknown_relay_recipient_reject_code = 554
unknown_virtual_alias_reject_code = 554
unknown_virtual_mailbox_reject_code = 554
unverified_recipient_reject_code = 554
unverified_sender_reject_code = 554
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/opt/mail/postfix/2.11/etc/mysql/
virtual-alias-maps.cf
virtual_mailbox_domains = proxy:mysql:/opt/mail/postfix/2.11/etc/mysql/
virtual-domain.cf
virtual_mailbox_maps = proxy:mysql:/opt/mail/postfix/2.11/etc/mysql/
virtual-mailbox-maps.cf
virtual_transport = lmtp:unix:/opt/mail/var/postfix/dovecot-lmtp

Reply via email to