On 11/26/2012 9:19 AM, Mathieu R. wrote:
> 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=<[email protected]>
> Nov 26 16:09:47 curzio postfix/qmgr[21782]: 213D324F0B:
> from=<[email protected]>, size=405, nrcpt=1 (queue active)
> Nov 26 16:09:47 curzio postfix/virtual[28454]: 213D324F0B:
> to=<[email protected]>, orig_to=<root>, relay=virtual, delay=0.13,
> delays=0.1/0.01/0/0.01, dsn=5.1.1, status=bounced (unknown user:
> "[email protected]")

Note the delivery is attempted by postfix/virtual.  That means
postfix thinks this is a virtual mailbox domain, and expects the
recipient to be defined in virtual_mailbox_maps.

Do you really intend for this domain to be virtual?  You mentioned
local.
http://www.postfix.org/ADDRESS_CLASS_README.html

> i tried to edit my local alias_map, with root: [email protected], but
> aliases tell me ther should only be local stuff in that file.

the alias_map only works with local(8) delivery, not with virtual.


> 
> 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.

Please undo random changes.  Documentation here:
http://www.postfix.org/documentation.html
http://www.postfix.org/BASIC_CONFIGURATION_README.html
http://www.postfix.org/STANDARD_CONFIGURATION_README.html

and if you really want virtual domains:
http://www.postfix.org/VIRTUAL_README.html




> 16:16 root@curzio ~ # postconf -n
...
> local_recipient_maps = $virtual_mailbox_maps
> local_transport = virtual

Don't do that.  The above tells postfix to use virtual delivery for
local domains.


> mydestination = $myhostname, localhost.$mydomain, localhost
> mydomain = $myhostname
> myhostname = mx.400iso.net

OK, mx.400iso.net is defined as a local domain.


> postscreen_dnsbl_sites = zen.spamhaus.org bl.spamcop.net
> b.barracudacentral.org bl.mailspike.net
> postscreen_dnsbl_threshold = 2

Most folks consider a listing in either zen or barracuda grounds for
rejection, but that's your decision.

> relay_domains = *

Eh?  "*" is not valid here.  Generally small mail systems will set
this explicitly empty:
relay_domains =


> virtual_transport = dovecot:

Maybe you should reexamine the dovecot wiki on postfix integration.

> 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

Looks as if  you have some unused parameters.






  -- Noel Jones

Reply via email to