[pfx] Re: Virtual Domains

2023-11-06 Thread Ken Smith via Postfix-users
Scratch this: I've spotted my typo Thanks Ken Ken Smith via Postfix-users wrote: Hi All, I'm sure I'm missing some subtle point in the documentation but could someone kindly clarify for me. This is postfix 3.5.8 on a Rocky Linux system. Delivery is by lmtp to cyrus-imap on another machine.

Re: Virtual domains

2022-04-15 Thread Emmett Culley
On 4/15/22 10:15 AM, Matus UHLAR - fantomas wrote: On 14.04.22 08:26, Emmett Culley wrote: I recently changed the host name of one of the servers from one domain I am hosting to another of the domains the server is serving. Upon verifying the server I noticed that the Received: headers on emai

Re: Virtual domains

2022-04-15 Thread Matus UHLAR - fantomas
On 14.04.22 08:26, Emmett Culley wrote: I recently changed the host name of one of the servers from one domain I am hosting to another of the domains the server is serving. Upon verifying the server I noticed that the Received: headers on email sent via that server now have the new host name

Re: Virtual domains

2022-04-14 Thread Emmett Culley
On 4/14/22 9:58 AM, Wietse Venema wrote: Emmett Culley: Is there anything I can do to specify that the Recieved: headers have the "correct" domain name depending on what domain is sending an email (From:)? The Received: headers contain the value of the "myhostname" parameter, i.e. the identit

Re: Virtual domains

2022-04-14 Thread Wietse Venema
Emmett Culley: > Is there anything I can do to specify that the Recieved: headers > have the "correct" domain name depending on what domain is sending > an email (From:)? The Received: headers contain the value of the "myhostname" parameter, i.e. the identity of this Postfix MTA instance. This na

Re: Virtual domains

2022-04-14 Thread Emmett Culley
On 4/14/22 8:38 AM, Shawn Heisey wrote: On 4/14/22 09:26, Emmett Culley wrote: I would include the output of postconf, but it is very large and I don't know how to narrow it down to what is needed to help resolve this issue. Try "postconf -n".  This should only show settings that are differen

Re: Virtual domains

2022-04-14 Thread Shawn Heisey
On 4/14/22 09:26, Emmett Culley wrote: I would include the output of postconf, but it is very large and I don't know how to narrow it down to what is needed to help resolve this issue. Try "postconf -n".  This should only show settings that are different from default. elyograg@bilbo:~$ po

Re: Virtual Domains/ Users

2017-10-26 Thread cacook
On 10/26/2017 03:36 PM, Ralph Seichter wrote: > On 26.10.17 23:29, cac...@quantum-equities.com wrote: > >> it appears to me that Postfix has evolved organically (Read: >> disorganized) as have many legacy applications like Apache used to be. >> The documentation you refer to is there alright, but i

Re: Virtual Domains/ Users

2017-10-26 Thread Bill Cole
On 26 Oct 2017, at 22:55 (-0400), Viktor Dukhovni wrote: You're wrong of course, Postfix has been designed and implemented with much care. What we've not done is maintained a free book along with the software. Postfix comes with "reference documentation", and topic-specific tutorials:

Re: Virtual Domains/ Users

2017-10-26 Thread Viktor Dukhovni
> On Oct 26, 2017, at 5:29 PM, cac...@quantum-equities.com wrote: > > I am surprised with this sprawl, in the 21st Century. In 30 minutes > I've figured out and implemented DKIM. DKIM is comparatively simple, it does just one thing. And yet, you really should fix your DNS, you may think you h

Re: Virtual Domains/ Users

2017-10-26 Thread Benny Pedersen
you dont add all virtual domains to ptr, who are you being misguiden from ? :( On 26. okt. 2017 21.37.02 cac...@quantum-equities.com wrote: On 10/26/2017 12:21 PM, cac...@quantum-equities.com wrote: the whole fact that mail was SENT by thunderbird has nothing to do with the fact that you need

Re: Virtual Domains/ Users

2017-10-26 Thread Richard
> Date: Thursday, October 26, 2017 12:36:37 -0700 > From: cac...@quantum-equities.com > > On 10/26/2017 12:21 PM, cac...@quantum-equities.com wrote: >>> the whole fact that mail was SENT by thunderbird has nothing to do >>> with the >>> fact that you need mail server on quantum-equities.com if yo

Re: Virtual Domains/ Users

2017-10-26 Thread Ralph Seichter
On 26.10.17 23:29, cac...@quantum-equities.com wrote: > it appears to me that Postfix has evolved organically (Read: > disorganized) as have many legacy applications like Apache used to be. > The documentation you refer to is there alright, but it's all about > bit-twiddling, nothing about concept

Re: Virtual Domains/ Users

2017-10-26 Thread Larry Stone
> On Oct 26, 2017, at 16:29, cac...@quantum-equities.com wrote: > I am surprised with this sprawl, in the 21st Century. In 30 minutes I've > figured out and implemented DKIM. But it appears to me that Postfix has > evolved organically (Read: disorganized) as have many legacy applications >

Re: Virtual Domains/ Users

2017-10-26 Thread cacook
On 10/26/2017 12:21 PM, cac...@quantum-equities.com wrote: >> the whole fact that mail was SENT by thunderbird has nothing to do >> with the >> fact that you need mail server on quantum-equities.com if you want to >> RECEIVE mail for quantum-equities.com. >> >> configure postfix on quantum-equities

Re: Virtual Domains/ Users

2017-10-26 Thread cacook
> the whole fact that mail was SENT by thunderbird has nothing to do > with the > fact that you need mail server on quantum-equities.com if you want to > RECEIVE mail for quantum-equities.com. > > configure postfix on quantum-equities.com that will have > "quantum-equities.com" in mydestination. >

Re: Virtual Domains/ Users

2017-10-26 Thread Richard
> Date: Thursday, October 26, 2017 20:00:44 +0200 > From: Matus UHLAR - fantomas > Here's what delphi-real-estate.com looks like: www 28800  A 72.251.232.102 @   28800  MX  10 mail.delphi-real-estate.com. Do you mean I need to set an A record for delphi-

Re: Virtual Domains/ Users

2017-10-26 Thread Matus UHLAR - fantomas
On 26.10.17 10:32, cac...@quantum-equities.com wrote: The test email I'm sending from quantum-equities.com to delphi-real-estate.com, causes the delphi postfix to try and contact quantum on port 25, for some reason. this is the reason: quantum-equities.com. 300 IN MX 0 quantum-

Re: Virtual Domains/ Users

2017-10-26 Thread Matus UHLAR - fantomas
On 26.10.17 09:36, cac...@quantum-equities.com wrote: Yes I have my smtp server set to mail.delphi-real-estate.com. Maybe I have it now.  I've set my zone file so:         mail                                28800    A    72.251.232.102 Is this correct? On 26.10.17 20:00, Matus UHLAR - f

Re: Virtual Domains/ Users

2017-10-26 Thread Matus UHLAR - fantomas
Here's what delphi-real-estate.com looks like: www 28800  A 72.251.232.102 @   28800  MX  10 mail.delphi-real-estate.com. Do you mean I need to set an A record for delphi-real-estate.com ? On 10/26/2017 09:18 AM, Richard wrote: No, you don't need an A-record for delphi-real-estate.

Re: Virtual Domains/ Users

2017-10-26 Thread cacook
The test email I'm sending from quantum-equities.com to delphi-real-estate.com, causes the delphi postfix to try and contact quantum on port 25, for some reason. Thing is, there is nothing listening there on 25 as the test email was sent by Thunderbird. Oct 26 09:06:33 quantum postfix/smtp[1137]:

Re: Virtual Domains/ Users

2017-10-26 Thread cacook
Thank you Richard. On 10/26/2017 09:18 AM, Richard wrote: > >> Here's what delphi-real-estate.com looks like: >> >> www 28800  A 72.251.232.102 >> @   28800  MX  10 mail.delphi-real-estate.com. >> >> Do you mean I need to set an A record for delphi-real-estate.com ? > No, you don't nee

Re: Virtual Domains/ Users

2017-10-26 Thread Richard
> Date: Thursday, October 26, 2017 08:40:13 -0700 > From: cac...@quantum-equities.com > To: postfix-users@postfix.org > > On 10/25/2017 12:39 PM, Richard wrote: >> >>> Date: Wednesday, October 25, 2017 11:55:13 -0700 >>> From: cac...@quantum-equities.com >>> >>> Sending an email from a remote

Re: Virtual Domains/ Users

2017-10-26 Thread cacook
On 10/25/2017 12:39 PM, Richard wrote: > >> Date: Wednesday, October 25, 2017 11:55:13 -0700 >> From: cac...@quantum-equities.com >> >> Sending an email from a remote machine pretends like it goes out >> just fine.  But it never arrives in the server's mail folder.  >> Zero goes into maillog, even

Re: Virtual Domains/ Users

2017-10-25 Thread Richard
> Date: Wednesday, October 25, 2017 11:55:13 -0700 > From: cac...@quantum-equities.com > > Sending an email from a remote machine pretends like it goes out > just fine.  But it never arrives in the server's mail folder.  > Zero goes into maillog, even with systemctl restart postfix.  TLS > is no

Re: Virtual Domains/ Users

2017-10-25 Thread cacook
On 10/24/2017 10:20 AM, cac...@quantum-equities.com wrote: > > On 10/23/2017 11:55 AM, Wietse Venema wrote: >> cac...@quantum-equities.com: >>> On 10/21/2017 11:25 AM, Wietse Venema wrote: cac...@quantum-equities.com: > How does DNS know where mail.example1.com is? Should I set it in >>

Re: Virtual Domains/ Users

2017-10-24 Thread cacook
On 10/23/2017 11:55 AM, Wietse Venema wrote: > cac...@quantum-equities.com: >> On 10/21/2017 11:25 AM, Wietse Venema wrote: >>> cac...@quantum-equities.com: How does DNS know where mail.example1.com is? Should I set it in my registrar, in the mail system, in Apache as a virtual domain,

Re: Virtual Domains/ Users

2017-10-23 Thread Wietse Venema
cac...@quantum-equities.com: > > On 10/21/2017 11:25 AM, Wietse Venema wrote: > > cac...@quantum-equities.com: > >> How does DNS know where mail.example1.com is? Should I set it in > >> my registrar, in the mail system, in Apache as a virtual domain, > >> or where? > > Normally, someone pays a re

Re: Virtual Domains/ Users

2017-10-23 Thread cacook
On 10/21/2017 11:25 AM, Wietse Venema wrote: > cac...@quantum-equities.com: >> How does DNS know where mail.example1.com is? Should I set it in >> my registrar, in the mail system, in Apache as a virtual domain, >> or where? > Normally, someone pays a registrar, so that the payer can configure >

Re: Virtual Domains/ Users

2017-10-21 Thread Wietse Venema
cac...@quantum-equities.com: > How does DNS know where mail.example1.com is? Should I set it in > my registrar, in the mail system, in Apache as a virtual domain, > or where? Normally, someone pays a registrar, so that the payer can configure the names of DNS servers that hold DNS records for exa

Re: Virtual Domains/ Users

2017-10-21 Thread cacook
How does DNS know where mail.example1.com is? Should I set it in my registrar, in the mail system, in Apache as a virtual domain, or where? In /etc/postfix/virtual ( have     # Redirect system email so it can be picked up     root    r...@quantum-equities.com Will this bypass /var/spool/mail/ro

Re: Virtual Domains/ Users

2017-10-20 Thread Noel Jones
On 10/20/2017 12:42 PM, cac...@quantum-equities.com wrote: > Thanks Noel and Rob, I may be on the right track now.  Good to know > I can trust the docs to be current. > > So my three domains with 6 users are completely independent of one > another;  no aliasing.  Thus I used > *Non-Postfix mailbox

Re: Virtual Domains/ Users

2017-10-20 Thread cacook
Thanks Noel and Rob, I may be on the right track now.  Good to know I can trust the docs to be current. So my three domains with 6 users are completely independent of one another;  no aliasing.  Thus I used *Non-Postfix mailbox store: separate domains, non-UNIX accounts* In main.cf I set mydomain

Re: Virtual Domains/ Users

2017-10-18 Thread /dev/rob0
On Wed, Oct 18, 2017 at 10:42:34AM -0700, cac...@quantum-equities.com wrote: > My mail server will receive mail for 3 domains with 6 users, and > the MUA will be on another machine on The Internets. That is very small. The simplest choice is to add the second and third domains to mydestinati

Re: Virtual Domains/ Users

2017-10-18 Thread Noel Jones
On 10/18/2017 12:42 PM, cac...@quantum-equities.com wrote: > My mail server will receive mail for 3 domains with 6 users, and the > MUA will be on another machine on The Internet> > I'm seeing conflicting info on setting this up.  The simplest recipe > is here: > https://blog.tinned-software.net/se

Re: Virtual domains and mydestination

2016-02-13 Thread Viktor Dukhovni
> On Feb 13, 2016, at 4:33 PM, Dirk Stöcker wrote: > > Am I right that "domains (and subdomains thereof)" is only true for > relay_domains and that for virtual_alias_domains I always need to specify all > the subdomains individually? Yes, but see: http://www.postfix.org/postconf.5.html#paren

Re: Virtual domains and mydestination

2016-02-13 Thread Dirk Stöcker
On Sat, 13 Feb 2016, Viktor Dukhovni wrote: Now I checked the postfix virtual domain documentation and parameter descriptions and I don't understand it much better. Is that intended behaviour, that mydestination includes subdomains and virtual_alias_domains not? Neither includes sub-domains,

Re: Virtual domains and mydestination

2016-02-13 Thread Viktor Dukhovni
> On Feb 13, 2016, at 3:49 PM, Dirk Stöcker wrote: > > Now I checked the postfix virtual domain documentation and parameter > descriptions and I don't understand it much better. Is that intended > behaviour, that mydestination includes subdomains and virtual_alias_domains > not? Neither incl

Re: virtual domains and hosting

2015-03-24 Thread Noel Jones
On 3/23/2015 4:25 PM, Rafał Michalak wrote: > Hello, I have this situation > in one server I have many domains, normally postfix delivers email > direct locally but when user change email hosting, system still sends > emails to old server (don't checks mx and delivers locally). > I read something a

Re: virtual domains and hosting

2015-03-24 Thread Rafał Michalak
OK you have right root@node1:/usr/local/bin# postfinger postfinger - postfix configuration on Tue Mar 24 09:09:14 CET 2015 version: 1.30 --System Parameters-- mail_version = 3.0.0 hostname = node1 uname = Linux node1 3.2.0-4-amd64 #1 SMP Debian 3.2.65-1+deb7u2 x86_64 GNU/Linux --Packaging inform

Re: virtual domains and hosting

2015-03-23 Thread Wietse Venema
Rafa? Michalak: > Hello, I have this situation > in one server I have many domains, normally postfix delivers email > direct locally but when user change email hosting, system still sends > emails to old server (don't checks mx and delivers locally). > I read something about postfix "two instances"

Re: Virtual domains not working for some domain names

2014-04-30 Thread Joe Rhodes
Thank you. I feel like such an idiot! Let’s not talk about how many hours this one has eluded me. On Apr 30, 2014, at 8:43 PM, Sahil Tandon wrote: > On Wed, 2014-04-30 at 20:29:50 -0400, Joe Rhodes wrote: >> I can receive mail for u...@cgdgoalies.com and u...@chdcentre.com just >> fine. T

Re: Virtual domains not working for some domain names

2014-04-30 Thread Sahil Tandon
On Wed, 2014-04-30 at 20:29:50 -0400, Joe Rhodes wrote: > I can receive mail for u...@cgdgoalies.com and u...@chdcentre.com just > fine. They obviously go to the same mailbox, which is exactly what I > want. > > The problem I’m having is that I cannot receive mail for > u...@completeathletics.ca

Re: virtual domains and aliases

2013-11-21 Thread Pol Hallen
Thanks! Very cool! Pol > On Tue, Nov 19, 2013 at 05:33:30PM -0500, Wietse Venema wrote: > >> --8<-snip-here--8<-- >> #!/bin/sh >> >> case $# in >> 0) echo usage: $0 example.com ... 1>&2; exit 1;; >> esac >> >> VIRTUAL_MAP=/etc/postfix/virtual >> VIRTUAL_DOMAINS=/etc/postfix/virtual_domains >> >>

Re: virtual domains and aliases

2013-11-20 Thread John
Or, install postfixadmin and change the associated tables to SQL. Which makes life considerably simpler.

Re: virtual domains and aliases

2013-11-20 Thread Benny Pedersen
Pol Hallen skrev den 2013-11-19 22:54: Instead, use a script that generates explicit postmas...@example.com entries etc. when you host a new domain. thanks for reply. Is there an example of that script? Need I create a virtual domain or only something that redirect (i.e. postmas...@example.org)

Re: virtual domains and aliases

2013-11-20 Thread Benny Pedersen
Pol Hallen skrev den 2013-11-19 22:39: Hi all :-) I've several virtual domains and I looking for how create the aliases for each domains (aliases like postmaster, root, etc.) I found this http://serverfault.com/questions/171616/postfix-how-to-make-aliases-work-for-virtual-domains link is for

Re: virtual domains and aliases

2013-11-19 Thread Viktor Dukhovni
On Tue, Nov 19, 2013 at 05:33:30PM -0500, Wietse Venema wrote: > --8<-snip-here--8<-- > #!/bin/sh > > case $# in > 0) echo usage: $0 example.com ... 1>&2; exit 1;; > esac > > VIRTUAL_MAP=/etc/postfix/virtual > VIRTUAL_DOMAINS=/etc/postfix/virtual_domains > > for domainname > do > echo po

Re: virtual domains and aliases

2013-11-19 Thread Wietse Venema
Pol Hallen: > > Instead, use a script that generates explicit postmas...@example.com > > entries etc. when you host a new domain. > > thanks for reply. Is there an example of that script? Need I create a > virtual domain or only something that redirect (i.e. > postmas...@example.org) to virtual do

Re: virtual domains and aliases

2013-11-19 Thread Pol Hallen
> Instead, use a script that generates explicit postmas...@example.com > entries etc. when you host a new domain. thanks for reply. Is there an example of that script? Need I create a virtual domain or only something that redirect (i.e. postmas...@example.org) to virtual domain? Thanks! Pol

Re: virtual domains and aliases

2013-11-19 Thread Wietse Venema
Pol Hallen: > Hi all :-) I've several virtual domains and I looking for how create the > aliases for each domains (aliases like postmaster, root, etc.) > > I found this > http://serverfault.com/questions/171616/postfix-how-to-make-aliases-work-for-virtual-domains > > that says something like this

Re: virtual domains, cyrus and lmtp integration

2013-05-30 Thread Wietse Venema
Viktor Dukhovni: > > http://www.jmaimon.com/sendmail/anfi.homeunix.net/sendmail/rtcyrus2.html > > Perhaps someone would like to contribute a table driver for the Cyrus > socketmap interface, or you could query it via a "tcp" table. Postfix 2.10 supports sendmail-style socketmap. Wietse

Re: virtual domains, cyrus and lmtp integration

2013-05-30 Thread Carl Brewer
On 30/05/2013 7:47 PM, Stan Hoeppner wrote: If you deliver from Postfix to Cyrus via LMTP it may be possible to target RAV against the Cyrus' LMTP server. http://www.postfix.org/ADDRESS_VERIFICATION_README.html#recipient I don't know if anyone has tried RAV via LMTP, but since RCPTO exists in

Re: virtual domains, cyrus and lmtp integration

2013-05-30 Thread Stan Hoeppner
On 5/29/2013 10:30 PM, Carl Brewer wrote: > On 30/05/2013 1:23 PM, Viktor Dukhovni wrote: ... >> At previous employer Cyrus was used with users defined in LDAP. > > I want to avoid multiple places where user data is stored, at present > it's in cyrus and using sasldb for passwords, I'd like to kee

Re: virtual domains, cyrus and lmtp integration

2013-05-29 Thread Carl Brewer
On 30/05/2013 1:23 PM, Viktor Dukhovni wrote: On Thu, May 30, 2013 at 01:03:04PM +1000, Carl Brewer wrote: Firstly, the doco I've read suggests that every mailbox needs an entry in the virtual_mailbox_maps file, with my current sendmail setup sendmail checks against Cyrus for if a mailbox exist

Re: virtual domains, cyrus and lmtp integration

2013-05-29 Thread Viktor Dukhovni
On Thu, May 30, 2013 at 01:03:04PM +1000, Carl Brewer wrote: > Firstly, the doco I've read suggests that every mailbox needs an > entry in the virtual_mailbox_maps file, with my current sendmail > setup sendmail checks against Cyrus for if a mailbox exists and has > no (or at least not very many,

Re: Virtual Domains

2011-05-23 Thread mouss
Le 23/05/2011 19:01, Des Dougan a écrit : > > On May 2011, at 4:24 AM, Jerry wrote: > >> On Sun, 22 May 2011 19:50:33 -0700 >> Des Dougan articulated: >> >>> Thanks, Sahil. What's the best way of doing that? >> >> Please don't top post. >> >> You might want to start here: >>

Re: Virtual Domains

2011-05-23 Thread Des Dougan
On May 2011, at 4:24 AM, Jerry wrote: > On Sun, 22 May 2011 19:50:33 -0700 > Des Dougan articulated: > >> Thanks, Sahil. What's the best way of doing that? > > Please don't top post. > > You might want to start here: > . That should supply you > wit

Re: Virtual Domains

2011-05-23 Thread mouss
Le 23/05/2011 04:50, Des Dougan a écrit : > Thanks, Sahil. What's the best way of doing that? > go step by step: add a domain in mysql, add users in mysql, ... then tell postfix to use these (virtual_mailbox_domains, virtual_mailbox_maps, ...) then test. #cat main.cf ... mysql=proxy:mysql:/etc/p

Re: Virtual Domains

2011-05-23 Thread Jerry
On Sun, 22 May 2011 19:50:33 -0700 Des Dougan articulated: > Thanks, Sahil. What's the best way of doing that? Please don't top post. You might want to start here: . That should supply you with enough basic knowledge to get started. -- Jerry ✌ postf

Re: Virtual Domains

2011-05-22 Thread Des Dougan
Thanks, Sahil. What's the best way of doing that? Regards, Des On May 2011, at 7:42 PM, Sahil Tandon wrote: > On Sun, 2011-05-22 at 19:33:03 -0700, Des Dougan wrote: > >> I'm changing an active Postfix server (with a single domain) to be >> able to support additional virtual domains (using MyS

Re: Virtual Domains

2011-05-22 Thread Sahil Tandon
On Sun, 2011-05-22 at 19:33:03 -0700, Des Dougan wrote: > I'm changing an active Postfix server (with a single domain) to be > able to support additional virtual domains (using MySQL). I'm slightly > confused and would appreciate some advice: does the existing active > domain need to be migrated i

Re: Virtual Domains, Unix Users and No Aliases

2011-02-20 Thread mouss
Le 20/02/2011 15:58, C. Comren a écrit : > > Well, not exactly. The dovecot-lda takes the argument "-d" which > should be the username associated to the mailbox. Usually, one puts > "-d ${recipient}". However, since Postfix looks up the e-mail address > (via LDAP in this case), I guess it could al

Re: Virtual Domains, Unix Users and No Aliases

2011-02-20 Thread Jerry
On Sun, 20 Feb 2011 08:02:59 -0600 Noel Jones articulated: > So your question: > "How do I get dovecot to deliver > u...@example1.com > to the mailbox > /path/to/some/mailbox?" > > Seems like a question for the dovecot list. Read up on dovecot + sieve. I use it for similar situations. -- Jerr

Re: Virtual Domains, Unix Users and No Aliases

2011-02-20 Thread C. Comren
On 2/20/11, Noel Jones wrote: > On 2/20/2011 6:48 AM, C. Comren wrote: >> On 2/20/11, Jeroen Geilman wrote: >>> On 02/20/2011 11:03 AM, C. Comren wrote: Hi, I unsuccessfully tried to install Postfix with Dovecot as follows: 1. I have three domains with different users, e.

Re: Virtual Domains, Unix Users and No Aliases

2011-02-20 Thread Noel Jones
On 2/20/2011 6:48 AM, C. Comren wrote: On 2/20/11, Jeroen Geilman wrote: On 02/20/2011 11:03 AM, C. Comren wrote: Hi, I unsuccessfully tried to install Postfix with Dovecot as follows: 1. I have three domains with different users, e.g., al...@alice.com, al...@bob.com, b...@

Re: Virtual Domains, Unix Users and No Aliases

2011-02-20 Thread C. Comren
On 2/20/11, Jeroen Geilman wrote: > On 02/20/2011 11:03 AM, C. Comren wrote: >> Hi, >> >> I unsuccessfully tried to install Postfix with Dovecot as follows: >> >> 1. I have three domains with different users, e.g., >> al...@alice.com, >> al...@bob.com, >> b...@alice.com, >> b..

Re: Virtual Domains, Unix Users and No Aliases

2011-02-20 Thread Jeroen Geilman
On 02/20/2011 11:03 AM, C. Comren wrote: Hi, I unsuccessfully tried to install Postfix with Dovecot as follows: 1. I have three domains with different users, e.g., al...@alice.com, al...@bob.com, b...@alice.com, b...@bob.com 2. I have Unix users and corresponding email addr

Re: Virtual Domains

2010-10-11 Thread Jeremy Bowen
On 10/11/2010, "Victor Duchovni" wrote: >Avoid confusing yourself with localpart-only addresses on the RHS of >address lookup tables. Given your myorigin setting, Make that: > >@example.com jer...@example.com >j...@virtual1.com j...@example.com >@virtual1.com f...@

Re: Virtual Domains

2010-10-11 Thread The Doctor
On Tue, Oct 12, 2010 at 10:21:26AM +1300, Jeremy Bowen wrote: > Hi All > > I'm probably missing something really obvious but I can't see what I'm > doing wrong. > > I have a server which I wish to use to host both my primary domain (eg. > example.com) and several virtual domains (virtual1.com, vi

Re: Virtual Domains

2010-10-11 Thread Victor Duchovni
On Tue, Oct 12, 2010 at 10:21:26AM +1300, Jeremy Bowen wrote: > my /etc/postfix/virtual file looks like this: > @example.com jeremy Avoid confusing yourself with localpart-only addresses on the RHS of address lookup tables. Given your myorigin setting, Make that: @example.com

Re: Virtual domains

2010-06-02 Thread Charles Marcus
On 2010-06-02 4:15 PM, Curtis Maurand wrote: > 666 messages blocked by amavis Hopefully you aren't BOUNCING these ('rejecting' *after* you've accepted them, which, once they get to amavisd-new, you've accepted them unless you're using it in a pre-queue filter, which is resource intensive and only

Re: Virtual domains (more)

2010-06-02 Thread mouss
cur...@maurand.com a écrit : > Can I also assume that I would use relay_domains and relay_transport? > > Correct? see the ADDRESS CLASS README. in short, domains/addresses come into many flaours: - if mail is to be delivered to unix accounts, then * list the domain in mydestination * list val

Re: Virtual domains

2010-06-02 Thread Curtis Maurand
On 6/2/2010 1:20 PM, Victor Duchovni wrote: On Wed, Jun 02, 2010 at 08:21:03AM -0400, cur...@maurand.com wrote: defer_code = 550 Why? Why not? I'll look more at the docs. Because it is an incredibly bad idea. Transient errors need to generate *transient* (4XX) er

Re: Virtual domains

2010-06-02 Thread Victor Duchovni
On Wed, Jun 02, 2010 at 08:21:03AM -0400, cur...@maurand.com wrote: > >> defer_code = 550 > > > > Why? > > Why not? I'll look more at the docs. Because it is an incredibly bad idea. Transient errors need to generate *transient* (4XX) error response codes. Setting the defer_code to 5XX is about a

Re: Virtual domains

2010-06-02 Thread /dev/rob0
On Tue, Jun 01, 2010 at 08:48:27PM -0400, cur...@maurand.com wrote: > I have several domains that I have non-unix mailboxes (they are > stored by sql using an alternative lmtp daemon after running them > through amavisd-new. This works under the current configuration, > but I'm not bouncing any

Re: Virtual domains

2010-06-02 Thread Charles Marcus
On 2010-06-02 8:21 AM, cur...@maurand.com wrote: > Probably not a good idea, but I was stabbing at things without > really understanding them. I was working from readme's and examples. > the postfix book that I have is good, but incomplete when it comes to > virtual domains and wasn't any help in w

Re: Virtual domains

2010-06-02 Thread curtis
> On Tue, 01 Jun 2010, cur...@maurand.com wrote: > >> postconf -n follows. > > At first glance, I notice you redefine several parameters to their > default value. Why? I'll point out just a few of them below. > >> access_map_reject_code = 554 > > This is default. > >> bounce_queue_lifetime = 0 >

Re: Virtual domains

2010-06-01 Thread Sahil Tandon
On Tue, 01 Jun 2010, cur...@maurand.com wrote: > > On Tue, 01 Jun 2010, cur...@maurand.com wrote: > > > > [ .. ] > > > >> At Victor's urging, this afternoon, I enabled the > >> relay_recipient_maps and that solved the rejecting unknown before > >> the handoff to the amavisd-new, but broke the doma

Re: Virtual domains

2010-06-01 Thread curtis
> On Tue, 01 Jun 2010, cur...@maurand.com wrote: > > [ .. ] > >> At Victor's urging, this afternoon, I enabled the relay_recipient_maps >> and >> that solved the rejecting unknown before the handoff to the amavisd-new, >> but broke the domains that I need to forward all mail for. > > Explain what y

Re: Virtual domains

2010-06-01 Thread Sahil Tandon
On Tue, 01 Jun 2010, cur...@maurand.com wrote: [ .. ] > At Victor's urging, this afternoon, I enabled the relay_recipient_maps and > that solved the rejecting unknown before the handoff to the amavisd-new, > but broke the domains that I need to forward all mail for. Explain what you mean by 'bro

RE: virtual domains

2010-03-08 Thread motty cruz
@postfix.org Subject: Re: virtual domains motty cruz a écrit : > Thanks Daniel, > Actually postfix was not part of vmail group. I added to the vmail > group My configuration seem to be all wrong, I can't get postfix to > deliver mail to /var/mail/${USER} /var/mail/(all virtual user

Re: virtual domains

2010-03-06 Thread mouss
motty cruz a écrit : > Thanks Daniel, > Actually postfix was not part of vmail group. I added to the vmail group > My configuration seem to be all wrong, I can't get postfix to deliver mail > to /var/mail/${USER} > /var/mail/(all virtual users) > do not use /var/mail/. create another directory,

RE: virtual domains

2010-03-05 Thread motty cruz
stfix-users@postfix.org Subject: Re: virtual domains - Original Message > From: motty cruz > To: Daniel V. Reinhardt > Sent: Fri, March 5, 2010 9:51:46 PM > Subject: RE: virtual domains > > dagan# ls -la /var/mail > total 16 > -r--r--r-- 1 vmail vmail0 Mar

RE: virtual domains

2010-03-05 Thread motty cruz
Please pardon my stupidity! Thanks, -Motty -Original Message- From: Wietse Venema [mailto:wie...@porcupine.org] Sent: Friday, March 05, 2010 1:59 PM To: motty cruz Cc: postfix-users@postfix.org Subject: Re: virtual domains motty cruz: > Mar 5 21:25:18 dagan pipe[4378]: fa

Re: virtual domains

2010-03-05 Thread Daniel V. Reinhardt
- Original Message > From: motty cruz > To: Daniel V. Reinhardt > Sent: Fri, March 5, 2010 9:51:46 PM > Subject: RE: virtual domains > > dagan# ls -la /var/mail > total 16 > -r--r--r-- 1 vmail vmail0 Mar 5 18:36 ,cyrus, > drwxrwxr-x 6 vma

Re: virtual domains

2010-03-05 Thread Wietse Venema
motty cruz: > Mar 5 21:25:18 dagan pipe[4378]: fatal: pipe_command: execvp /var/mail: > Permission denied > and my master.cf > > maildrop unix - n n - - pipe > flags=DRhu user=vmail argv=/var/mail -d ${user} You are trying to EXECUTE a command "/var/m

RE: virtual domains

2010-03-05 Thread motty cruz
Sent: Friday, March 05, 2010 1:35 PM To: motty cruz Cc: postfix-users@postfix.org Subject: Re: virtual domains Hello, I’m having issues with postfix delivering mail to /var/mail/$USER it says permission denied, althougth I gave 755 permission to that dir /var/mail/$USER, Here is my logs Mar

Re: virtual domains

2010-03-05 Thread Daniel V. Reinhardt
> >From: motty cruz >To: postfix-users@postfix.org >Sent: Fri, March 5, 2010 9:18:40 PM >Subject: virtual domains > > >Hello, >I’m having issues with postfix delivering mail to /var/mail/$USER it says >permission denied, althougth I gave 755 permission to that dir >/var/mail/$USER, > >Here is

Re: virtual domains

2010-03-05 Thread David Touzeau
Hello, I’m having issues with postfix delivering mail to /var/mail/$USER it says permission denied, althougth I gave 755 permission to that dir /var/mail/$USER, Here is my logs Mar 5 21:20:18 dagan postfix/postfix-script[4336]: refreshing the Postfix mail system Mar 5 21:20:18 dagan postf

Re: virtual domains for wildcard MX records?

2009-12-31 Thread Bob Eastbrook
On Thu, Dec 31, 2009 at 6:27 AM, Wietse Venema wrote: > APPEND a regular expression map to your virtual_alias_maps > definition. Many thanks. I'm all set now. Bob

Re: virtual domains for wildcard MX records?

2009-12-31 Thread Wietse Venema
Bob Eastbrook: > Forgive me if this is a FAQ, but I've looked all over and I don't see > it addressed. > > I have a wildcard MX record for *.example.com which points to > mail.example.com. I know how to configure postfix to accept > individual virtual domains such as host1.example.com, but how ca

Re: Virtual domains, virtual mailboxes and catch-all

2009-12-24 Thread Wietse Venema
Ralph Johnston: > I also wish there was a way to specify "all subdomains" in the virtual > file. I tried using @.abc.com, but it didn't work. I also tried adding > virtual_alias_maps to parent_domain_matches_subdomains, but that didn't > work either. Virtual alias lookups are documented (man 5

Re: Virtual domains, virtual mailboxes and catch-all

2009-12-24 Thread Ralph Johnston
I'm sorry for taking everyone's time talking to myself. I finally found a pointer to a blog post that said that every valid user needs to be in the virtual file. So I just added: al...@abc.local al...@abc.local b...@abc.local b...@abc.local ca...@abc.local ca...@abc.local along with: @abc.lo

Re: Virtual domains, virtual mailboxes and catch-all

2009-12-24 Thread Thomas Harold
On 12/23/2009 9:05 PM, Ralph Johnston wrote: I am moving our email system to Postfix, but I'm not quite able to get it to do what I want. I would like to "collapse" (alias?) all our domains and subdomains down to one, so email to a name @ any of our domains ends up in one mailbox. I have this wo

Re: Virtual domains, virtual mailboxes and catch-all

2009-12-24 Thread Christoph Anton Mitterer
Hi Ralph. Quoting Ralph Johnston : I would like to "collapse" (alias?) all our domains and subdomains down to one, so email to a name @ any of our domains ends up in one mailbox. I have this working (as best as I can tell) using virtual domains. In principle you could also do this by using

Re: Virtual domains, virtual mailboxes and catch-all

2009-12-23 Thread Ralph Johnston
If it helps, here is what I've tried. With this configuration, it creates new mailboxes, even for invalid users. I tried adding a line to the end of the virtual file (@abc.local j...@abc.local) as a catch-all, and it catches *all* the mail, even if sent to a valid user. /etc/postfix/virtual --

Re: Virtual domains in a maildir ?

2009-09-19 Thread Fabien Penso
Sahil, Thanks for replying, it fixed it. 2009/9/18 Sahil Tandon : > On Fri, 18 Sep 2009, Fabien Penso wrote: > >> I'm looking for having multiple domains, for multiple users, being >> droped in the same maildirectory. >> >> I was using a mysql alias_maps but I guess it's wrong as it is >> normall

Re: Virtual domains in a maildir ?

2009-09-18 Thread Sahil Tandon
On Fri, 18 Sep 2009, Fabien Penso wrote: > I'm looking for having multiple domains, for multiple users, being > droped in the same maildirectory. > > I was using a mysql alias_maps but I guess it's wrong as it is > normally only for local domains. I don't want to have any conflict > with local us

Re: Virtual Domains - creating an alias to a script

2009-03-04 Thread Big Pizzle
Thank you Noel this works perfectly. You rock. On Tue, Mar 3, 2009 at 6:54 PM, Noel Jones wrote: > > Big Pizzle wrote: >> >> On our old server that doesn't do any Virtual Domains, we have lines in our >> /etc/alias which look like the following:  usera: >> "|/export/home/users/usera/blah/scr

  1   2   >