Hello,
i just did set up a small webserver, using postfix+mysql+dovecot, on
Archlinux.
It work well, but i can't deliver local mail :
--------
16:09 root@curzio ~ # echo foobar | mailx root
Nov 26 16:09:47 curzio postfix/cleanup[28448]: 213D324F0B:
message-id=<20121126150947.213d324...@mx.400iso.net>
Nov 26 16:09:47 curzio postfix/qmgr[21782]: 213D324F0B:
from=<r...@mx.400iso.net>, size=405, nrcpt=1 (queue active)
Nov 26 16:09:47 curzio postfix/virtual[28454]: 213D324F0B:
to=<r...@mx.400iso.net>, orig_to=<root>, relay=virtual, delay=0.13,
delays=0.1/0.01/0/0.01, dsn=5.1.1, status=bounced (unknown user:
"r...@mx.400iso.net")
Nov 26 16:09:47 curzio postfix/cleanup[28448]: 3687424F0C:
message-id=<20121126150947.3687424...@mx.400iso.net>
Nov 26 16:09:47 curzio postfix/qmgr[21782]: 3687424F0C: from=<>,
size=2175, nrcpt=1 (queue active)
Nov 26 16:09:47 curzio postfix/bounce[28457]: 213D324F0B: sender
non-delivery notification: 3687424F0C
Nov 26 16:09:47 curzio postfix/qmgr[21782]: 213D324F0B: removed
Nov 26 16:09:47 curzio postfix/virtual[28454]: 3687424F0C:
to=<r...@mx.400iso.net>, relay=virtual, delay=0.03,
delays=0.01/0/0/0.02, dsn=5.1.1, status=bounced (unknown user:
"r...@mx.400iso.net")
Nov 26 16:09:47 curzio postfix/qmgr[21782]: 3687424F0C: removed
---------
i tried to edit my local alias_map, with root: r...@400iso.net, but
aliases tell me ther should only be local stuff in that file.
i also tried some other crappy things, like adding a alias virtual
domain (in postfixadmin) from mx.400iso.net to 400iso.net, but
everithing i tried failed.
can somedy please help me to make local email delivery working ?
thanks a lot in advance
here is my postconf -n :
----------------
1 /etc/postfix/main.cf [pfmain,latin1,unix]
0x23 1,1 Top
16:16 root@curzio ~ # postconf -n
alias_database = $alias_maps
alias_maps = hash:/etc/postfix/aliases
body_checks = regexp:/etc/postfix/body_checks.cf
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
data_directory = /var/lib/postfix
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
dovecot_destination_recipient_limit = 1
header_checks = regexp:/etc/postfix/header_checks.cf
html_directory = no
inet_protocols = ipv4
local_recipient_maps = $virtual_mailbox_maps
local_transport = virtual
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
message_size_limit = 53000000
mime_header_checks = regexp:/etc/postfix/mime_headers_checks.cf
mydestination = $myhostname, localhost.$mydomain, localhost
mydomain = $myhostname
myhostname = mx.400iso.net
newaliases_path = /usr/bin/newaliases
postscreen_dnsbl_action = enforce
postscreen_dnsbl_sites = zen.spamhaus.org bl.spamcop.net
b.barracudacentral.org bl.mailspike.net
postscreen_dnsbl_threshold = 2
postscreen_greet_action = enforce
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix
relay_domains = *
sample_directory = /etc/postfix/sample
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd_recipient_restrictions = reject_non_fqdn_recipient,
reject_unknown_sender_domain, reject_non_fqdn_sender,
reject_unknown_recipient_domain, reject_invalid_helo_hostname,
reject_unlisted_recipient, reject_unlisted_sender, permit_mynetworks,
permit_sasl_authenticated, reject_non_fqdn_helo_hostname,
reject_unauth_destination, permit
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $mydomain
smtpd_sasl_path = /var/run/dovecot/auth-client
smtpd_sasl_security_options = noanonymous
smtpd_sasl_tls_security_options = $smtpd_sasl_security_options
smtpd_sasl_type = dovecot
smtpd_tls_auth_only = yes
smtpd_tls_cert_file = /etc/ssl/private/server.crt
smtpd_tls_key_file = /etc/ssl/private/server.key
smtpd_tls_loglevel = 1
spamassassin_destination_recipient_limit = 1
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 550
virtual_alias_maps = proxy:mysql:/etc/postfix/virtual_alias_maps.cf
virtual_gid_maps = static:5000
virtual_mailbox_base = /srv/vmail
virtual_mailbox_domains =
proxy:mysql:/etc/postfix/virtual_domains_maps.cf
virtual_mailbox_limit = 51200000000000
virtual_mailbox_maps = proxy:mysql:/etc/postfix/virtual_mailbox_maps.cf
virtual_minimum_uid = 5000
virtual_transport = dovecot:
virtual_uid_maps = static:5000
postconf: warning: /etc/postfix/main.cf: unused parameter:
virtual_maildir_limit_message=Mailbox size reached
postconf: warning: /etc/postfix/main.cf: unused parameter:
virtual_mailbox_limit_override=yes
postconf: warning: /etc/postfix/main.cf: unused parameter:
virtual_overquota_bounce=yes
postconf: warning: /etc/postfix/main.cf: unused parameter:
virtual_create_maildirsize=yes
----------------
--
Mathieu Rousseau
http://400iso.net/