I've done away with the traditional alias files & virtually aliased
everything:
$ postconf -n alias_maps \
alias_database \
virtual_alias_domains \
virtual_alias_maps
alias_maps = $alias_database
alias_database =
virtual_alias_domains = btree:$config_directory/virtual_alias
On 2014-03-17 Mon 14:46 PM |, Viktor Dukhovni wrote:
>
> 20k records may seem like a lot of entries, but it is comparatively
> a tiny Berkeley DB table. You've no reason to care about optimizing
> it.
Thanks.
> If you don't plan incremental updates, I'd like to suggest
> CDB, because the on-dis
On 2014-03-17 Mon 14:08 PM |, Viktor Dukhovni wrote:
>
> > Do btree source files need to be sorted before postmapping?
>
> No, but time to insert millions of records may depend on the order
> of the keys. Do you plan to have enormous btree lookup tables?
>
Not this year ~100, maybe eventua
Do btree source files need to be sorted before postmapping?
DATABASE_README says about btree: "A sorted, balanced tree structure."
http://www.postfix.org/DATABASE_README.html#types
>From the 8/11 year old archives below, I think:-
With an unsorted source file, postmap produces a "sorted" btree
d
On 2013-08-07 Wed 09:03 AM |, Tim Milstead wrote:
>
>I would like to send emails, with a subject that matches a regular
>expression (or wildcard), at the end of the day (e.g. 11pm) instead of
>immediately.
>
>Is this possible and how do I do it?
>
>I'm guessing that queue wou
On 2013-07-15 Mon 16:26 PM |, Kris Deugau wrote:
> Craig R. Skinner wrote:
> >No Apache, PHP or webmail. HTTP was designed to transfer hyperlinked
> >text files, not do dynmaic stuff with root access to the whole box.
> >Beware!
> >
> >IMAP (Thunderbird, Elm,
On 2013-07-13 Sat 20:50 PM |, li...@rhsoft.net wrote:
>
> but what has the protocol HTTP to do with the underlying
> application?
>
OK then, shove every frigging thing down port 80's throat.
Why bother with Postfix, IMAP, ftp, ssh, ping, traceroute,
Just have 1 port on the box that does it
On 2013-07-12 Fri 11:55 AM |, J Gao wrote:
>
> Now I would like your advises on my system so I can improve it more.
> - Postfix 2.6.6
Old.
> - Courier(Support virtual domain)
Dovecot instead of Courier?
> - Mailman maillist
Look at mlmmj instead of Mailman - no web interface needed.
http://m
figuration is not what you claim above, stop wasting the list's
> time with misleading reports.
Viktor, you deleted/ignored the part where I stated that I'd changed it:
On 2013-06-25 Tue 14:53 PM |, Craig R. Skinner wrote:
>
> However, alias expansion does occur when I do the NAUGHT
On 2013-06-25 Tue 13:45 PM |, Wietse Venema wrote:
> > aliases:
> > root: admin-acct
> > deamon: root
>
> That's deamon.
>
> Second, you need admin-acct@localhost, root@localhost here.
>
So the aliases file needs to have the RHS qualified with @localhost when
the machi
On 2013-06-25 Tue 18:27 PM |, Wolfgang Zeikat wrote:
> As you may not have noticed,
> the alias
> deamon is _not_ the same word as
> daemon
No Wolfgang, I hadn't noticed the minor typo in my email.
Thanks,
--
Craig Skinner | http://twitter.com/Craig_Skinner | http://linkd.in/yGqkv7
On 2013-06-25 Tue 16:16 PM |, Viktor Dukhovni wrote:
> >
> > aliases:
> > root: admin-acct
> > deamon: root
>
> Is this the right aliases(5) file?
Yes.
> Some systems use /etc/aliases,
> others /etc/mail/aliases, ... What does "postconf alias_database"
> output? What
On 2013-06-25 Tue 10:14 AM |, Wietse Venema wrote:
>
> You need to show:
>
> 1 - One email address ending in localhost or localhost.$mydomain,
>
aliases:
root: admin-acct
deamon: root
...
...
$ uptime | mail -s uptime daemon@localhost
> 2 - Logfile evidence that this email
On 2013-06-24 Mon 20:24 PM |, Wietse Venema wrote:
> Craig R. Skinner:
> > The default aliases file does not indicate that;-
> >
> > "The aliases(5) table provides a system-wide mechanism to redirect mail for
> > LOCAL recipients."
> >
> >
On 2013-06-25 Tue 14:31 PM |, Dejan Doder wrote:
>
>yes I know that , but how users will change passwords by themselfs ?
>
They ssh to the server & then run 'passwd'
This is a Centos question, not a Postfix one.
Cheers,
--
Craig Skinner | http://twitter.com/Craig_Skinner | http://linkd.in
On 2013-06-24 Mon 12:34 PM |, /dev/rob0 wrote:
> On Mon, Jun 24, 2013 at 03:12:24PM +0100, Craig R. Skinner wrote:
> > main.cf:
> > myorigin = $mydomain # example.com
> > mydestination = localhost, localhost.$mydomain
>
> Here we see that $myorigin (nor $mydomain) is
On 2013-06-22 Sat 16:26 PM |, Viktor Dukhovni wrote:
>
> Use virtual(5) for ALL address -> address mappings, with only
> addresses that represent final mailboxes listed as account@localhost.
>
> The aliases(5) file is a Sendmail compatibility feature, whose
> features are best remapped onto virtu
On 2013-06-21 Fri 22:08 PM |, Jeroen Geilman wrote:
> >
> >main.cf:
> >myorigin = $mydomain
> >mydestination = localhost.$mydomain
>
> No. If the destination you use in virtual_alias_maps is @localhost,
> then THAT must be in mydestination.
> Postfix is quite literal.
>
> mydestination = loca
On 2013-06-19 Wed 21:09 PM |, Viktor Dukhovni wrote:
> >
> > virtual_alias_maps.map:
> > user.n...@example.com user1@localhost
> >
> > status=bounced (mail for localhost.example.com loops back to myself)
>
> You MUST include localhost.$mydomain in mydestination:
>
> mydestination = localh
On 2013-06-20 Thu 04:52 AM |, Stan Hoeppner wrote:
>
> >> smtpd_recipient_restrictions
>
> Note this is an smptd restriction.
> >> ...
> >> check_recipient_access hash:/etc/postfix/reject-local-system
> >> ...
> Thus this only applies to mail arriving via smtpd, not pickup, not pipe,
On 2013-06-19 Wed 18:12 PM |, Jeroen Geilman wrote:
> >hosts a single mail domain IIUC. He's simply wanting to create alias
> >addresses presented to the public for each local UNIX mailbox address.
> >Additionally he wants to reject any inbound mail destined for the actual
> >local UNIX addresses,
On 2013-06-19 Wed 10:55 AM |, Stan Hoeppner wrote:
>
> I'm anything but an expert in this particular area of Postfix, but I
> think the problem is that Craig is trying to use virtual_alias_maps when
> he should probably just be using the local aliases file. His Postfix
> hosts a single mail domai
On 2013-06-19 Wed 06:51 AM |, Stan Hoeppner wrote:
> On 6/19/2013 6:11 AM, Craig R. Skinner wrote:
>
> What happens when you try
>
> mydestination =
>
That's something I didn't think of trying.
Either blank, or with localhost:
status=bounced (User unknown in vi
I'm setting up Postfix for a domain that hosts Dovecot IMAP mail dirs
for real Unix accounts. Postfix needs to accept mail for users' public
aliases, but not their Unix login, and reject mail for daemon accounts.
e.g:
joe.blo...@example.com --> jb4356
jane.blos...@example.com-->
24 matches
Mail list logo