Questions tagged [aliases]
68 questions
2
votes
0 answers
Postfix: after address rewriting (using aliases LDAP) rewrite 'To' header
we want to implement in our LDAP a sort of 'address book' and use Postfix to modify outgoing e-mails to use these aliases.
The idea is that when a user writes to customer1@ourdomain.tld, the LDAP query retrieves e-mails (external or internal) and…

daks
- 673
- 7
- 25
2
votes
1 answer
Routed bridge networking for KVM guests along with eth1 alias interfaces for shared hosting with dedicated IPs for each virtualhost
First question here on serverfault, so kind of a newbie, all feedback is welcome.
I have a dedicated server running Debian GNU/Linux 8.4 (jessie) with one public IP and multiple additional public IPs assigned to it. Server has two NICs, eth0 and…

blackpit
- 21
- 3
2
votes
1 answer
Stop (most) local delivery in Postfix
I'm trying to setup a Postfix (2.11.4) configuration so that it does this:
Sends out mail originating from the local server
Accepts incoming mail for a single alias, which actually points to a script
And nothing else
Here's a partial…

George Adams
- 131
- 4
2
votes
1 answer
Cross forwarding mail between two users in Postfix?
Say I want users A and B to receive each other's mail under Postfix. Is there a way to set this up as root? My first approach hasn't worked. Namely, under /etc/aliases, the following:
A: A, B
B: B, A
causes an understandable forwarding loop.
Thanks…

ezequiel-garzon
- 577
- 2
- 7
- 16
2
votes
2 answers
What should I use for a forwarding only mail server?
I have a VPS running ubuntu 11.10 for a Django app, I want to be able to handle the email for one specific domain (already have the reverse lookup setup with the ISP for that domain), all I'm doing is forwarding email to different addresses, example…

wmbf86
- 155
- 1
- 7
1
vote
1 answer
How to use interface for KVM from ISP?
i have main IP:
1.2.3.4 with mask 255.255.255.0 and gateway 1.2.3.254
It is ok. Also, ISP gave me network /28. List of ip:
from 1.1.1.1 and until 1.1.1.15
I can use these interfaces via aliases, like eth0:1, eth0:2, etc ...
How can i use these 15…

Piduna
- 541
- 4
- 12
- 25
1
vote
0 answers
How to configure nginx for serving subfolder?
I've one folder index.html file and inside that folder, I have another one with own index.html
I am using this config
events {
worker_connections 2048;
}
http {
server {
listen 6666;
server_name 0.0.0.0;
root…

Viktor
- 121
- 5
1
vote
2 answers
Postfix bounces on user unknown alias (`"|exit 67"`) instead of rejecting mail
I have a small postfix server for a few domains of my own (matched with mydestination = pcre:/etc/postfix/mydestinations).
I set some non-virtual aliases
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
In this file I defined…

Calimo
- 410
- 2
- 6
- 15
1
vote
2 answers
Exim: match recipient address against certain regex and conditional email delivery
I need to allow my customers to use e-mails in format of 4ca2bc00-6789-4161-bae7-c11c5b91454e@example.com, where the username part is sort of UUID. Those emails should be delivered to certain (single) e-mail address (for example -…

jdevelop
- 143
- 6
1
vote
1 answer
Postfix aliases only work from local users
I just setup a Postfix instance and added a few names to /etc/aliases.
For example, take this:
root: toor, nobody
foo: root, root@gmail.com
foo2: foo, example@example.com
I ran newaliases successfully and now every time I send an e-mail to foo2…

PseudoPredictable
- 11
- 3
1
vote
1 answer
Postfix doesn't accept pipe
I've tried to configure postfix to execute the script /tmp/test.sh each time the user "bounce" receives a mail. My /etc/postfix/aliases:
...
bounce: "| /tmp/test.sh"
...
If I send an mail to that user, I get back:
<"| /tmp/test.sh"@mydomain>: user…

Flole
- 11
- 2
1
vote
1 answer
User-specific alias for virtual machine
Our systems people are working on getting us all up and running on virtual machines. There will be a certain set of machines for each performance level, and we'll be able to upgrade and downgrade as required. The problem that I'm seeing is that…

DukeBrymin
- 111
- 1
1
vote
1 answer
Postfix- Mapping an email address to two different destinations
I am using "virtual Domains" in Postfix as I don't want to setup a Unix user for each email. In some cases I wanted to forward the email to more than 1 recipient, so I inserted in /etc/postfix/virtual these 2 entries for the same email…

Curri
- 141
- 2
1
vote
1 answer
postfix, spamassassin user_prefs and aliases
I implemented spamassassin mailfiltering in my postfix setup using the
-o content_filter=spamassassin and a transport like this:
spamassassin unix - n n - - pipe
user=spamassassin argv=/usr/bin/spamc -e…

Zulakis
- 4,153
- 14
- 48
- 76
1
vote
1 answer
Best practices setting up Apache2 Virtualhosts with Aliases?
I'm setting my Apache2 Virtual Hosts, in a Debian Squeeze server, in this way:
filename: whatever.mydomain.com
Alias /whatever /var/www/whatever.mydomain.com
ServerAlias whatever.mydomain.com
ServerAdmin…

Vinícius Ferrão
- 5,520
- 11
- 55
- 95