|
Prev: Postfix with procmail, using a per-user .procmailrc file to forward through gmail
Next: root server installieren root server im ausland in domain registrieren domain name registrierung ubuntu server root domains registrieren guter webspace anbieter root server nl root server sichern webhoster ohne werbung
From: wduffee on 30 Apr 2008 16:25 Hello all, I am having trouble with a virtual alias that is being run through a Postfix (2.2.12) installation that uses MySQL for virtual domain mappings. I get an error in my maillog that says the alias is an unknown user after I send mail to that alias. We'll assume virtual domain of example.com, and the alias is "alias(a)example.com" and the destination is "realmail(a)example.com" I have my main.cf as follows: virtual_alias_maps = mysql:/etc/postfix/sql/virtual_alias_maps.cf When I run a #postmap -q "alias(a)example.com" mysql:/etc/postfix/sql/ virtual_alias_maps.cf I get realmail(a)example.com So the mappings seem to be working correctly. But when I #mail alias(a)example.com and send mail on to the alias(a)example.com address, this shows up in my maillog: Apr 29 15:26:03 example postfix/virtual[17937]: C771D11CC61B: to=<alias(a)example.com>, relay=virtual, delay=1, status=bounced (unknown user: "alias(a)example.com") And then it is, obviously, lost :( I can send mail directly to realmail(a)example.com without any issues so I know that example.com is configured correctly (or at least, correctly enough?) Anyone have any ideas I could try to get aliases working? Thanks, Wesley
From: Ralf Hildebrandt on 1 May 2008 04:00 On 2008-04-30, wduffee <wduffee(a)gmail.com> wrote: > Hello all, > > I am having trouble with a virtual alias that is being run through a > Postfix (2.2.12) installation that uses MySQL for virtual domain > mappings. I get an error in my maillog that says the alias is an > unknown user after I send mail to that alias. > > We'll assume virtual domain of example.com, and the alias is > "alias(a)example.com" and the destination is "realmail(a)example.com" > > I have my main.cf as follows: > > virtual_alias_maps = mysql:/etc/postfix/sql/virtual_alias_maps.cf This is virtual_alias_maps, the thing which REWRITES addresses > Apr 29 15:26:03 example postfix/virtual[17937]: C771D11CC61B: > to=<alias(a)example.com>, relay=virtual, delay=1, status=bounced > (unknown user: "alias(a)example.com") THIS is the virtual delivery agent at work, which uses virtual_MAILBOX_maps -- Ralf Hildebrandt (i.A. des IT-Zentrums) Ralf.Hildebrandt(a)charite.de Charite - Universitätsmedizin Berlin Tel. +49 (0)30-450 570-155 Gemeinsame Einrichtung von FU- und HU-Berlin Fax. +49 (0)30-450 570-962 IT-Zentrum Standort CBF send no mail to snickebo(a)charite.de
From: wduffee on 1 May 2008 09:36 Sounds great - makes sense. Thanks! On May 1, 4:00 am, Ralf Hildebrandt <hil...(a)charite.de> wrote: > On 2008-04-30, wduffee <wduf...(a)gmail.com> wrote: > > > Hello all, > > > I am having trouble with a virtual alias that is being run through a > > Postfix (2.2.12) installation that uses MySQL for virtual domain > > mappings. I get an error in my maillog that says the alias is an > > unknown user after I send mail to that alias. > > > We'll assume virtual domain of example.com, and the alias is > > "al...(a)example.com" and the destination is "realm...(a)example.com" > > > I have my main.cf as follows: > > > virtual_alias_maps = mysql:/etc/postfix/sql/virtual_alias_maps.cf > > This is virtual_alias_maps, the thing which REWRITES addresses > > > Apr 29 15:26:03 example postfix/virtual[17937]: C771D11CC61B: > > to=<al...(a)example.com>, relay=virtual, delay=1, status=bounced > > (unknown user: "al...(a)example.com") > > THIS is the virtual delivery agent at work, which uses > virtual_MAILBOX_maps > > -- > Ralf Hildebrandt (i.A. des IT-Zentrums) Ralf.Hildebra...(a)charite.de > Charite - Universitätsmedizin Berlin Tel. +49 (0)30-450 570-155 > Gemeinsame Einrichtung von FU- und HU-Berlin Fax. +49 (0)30-450 570-962 > IT-Zentrum Standort CBF send no mail to snick...(a)charite.de
From: Mike on 8 May 2008 09:16 On May 1, 4:00 am, Ralf Hildebrandt <hil...(a)charite.de> wrote: > On 2008-04-30, wduffee <wduf...(a)gmail.com> wrote: > > > Hello all, > > > I am having trouble with a virtual alias that is being run through a > > Postfix (2.2.12) installation that uses MySQL for virtual domain > > mappings. I get an error in my maillog that says the alias is an > > unknown user after I send mail to that alias. > > > We'll assume virtual domain of example.com, and the alias is > > "al...(a)example.com" and the destination is "realm...(a)example.com" > > > I have my main.cf as follows: > > > virtual_alias_maps = mysql:/etc/postfix/sql/virtual_alias_maps.cf > > This is virtual_alias_maps, the thing which REWRITES addresses > > > Apr 29 15:26:03 example postfix/virtual[17937]: C771D11CC61B: > > to=<al...(a)example.com>, relay=virtual, delay=1, status=bounced > > (unknown user: "al...(a)example.com") > > THIS is the virtual delivery agent at work, which uses > virtual_MAILBOX_maps > > -- > Ralf Hildebrandt (i.A. des IT-Zentrums) Ralf.Hildebra...(a)charite.de > Charite - Universitätsmedizin Berlin Tel. +49 (0)30-450 570-155 > Gemeinsame Einrichtung von FU- und HU-Berlin Fax. +49 (0)30-450 570-962 > IT-Zentrum Standort CBF send no mail to snick...(a)charite.de I've been having this same issue, and I am a bit lost in your reply. How would one make it so the alias file works? rather then having a box for each address.
From: Chris Babcock on 9 May 2008 14:36 > > > virtual_alias_maps = mysql:/etc/postfix/sql/virtual_alias_maps.cf > > > > This is virtual_alias_maps, the thing which REWRITES addresses > > > > > Apr 29 15:26:03 example postfix/virtual[17937]: C771D11CC61B: > > > to=<al...(a)example.com>, relay=virtual, delay=1, status=bounced > > > (unknown user: "al...(a)example.com") > > > > THIS is the virtual delivery agent at work, which uses > > virtual_MAILBOX_maps The error message is not related to that particular setting. You'll need to take a closer look at the Virtual Address ReadMe to troubleshoot your set up. If you grep your main.cf file for "virtual" then you'll either find virtual *mailbox* settings that conflict with your virtual *alias* settings or that the ultimate destination for the aliased address is not configured properly in virtual mailboxes. Chris
|
Pages: 1 Prev: Postfix with procmail, using a per-user .procmailrc file to forward through gmail Next: root server installieren root server im ausland in domain registrieren domain name registrierung ubuntu server root domains registrieren guter webspace anbieter root server nl root server sichern webhoster ohne werbung |