Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [aliases]

The tag has no usage guidance.

0
votes
0answers
14 views

Some changes in /etc/valiases/<domain> files does not apply (setting up mail forwarders in exim)

I've manually tried adding and removing some entries in /etc/valiases/<domain> files in the system as root to configure mail forwarding but unfortunately, some forwarding which I manually ...
3
votes
1answer
74 views

Apache Local virtualhosts not working (502 error) [closed]

My local dev environment consists of a mac with OSX El Capitan 10.11.6. I have Apache 2.4.28 installed. Something seems to have gone wrong with my virtual host configuration as none of my local ...
0
votes
0answers
16 views

Postfix with virtual domains and one linux account - return path is always the linux account

I am trying to set up a mail server with multiple domains and one linux account that receives mails for all of them. I am using postfix+dovecot. Mostly everything works, but no matter what From: is ...
0
votes
0answers
44 views

On Postfix multi-domain email server, when relaying, how do I reject email when sender and recipient are both external, but permit otherwise?

I have mail server, using postfix, dovecot & MySQL on Ubuntu 14.04. Multiple domains, with multiple virutal users and multiple virtual aliases. I want people to be able to email from any domain ...
0
votes
0answers
44 views

aliases.db over 2GB

When I run newaliases it generates an /etc/aliases.db file of more than 2GB: -rw-r--r-- 1 root wheel 2172649472 Jan 4 10:39 aliases.db My aliases file is pretty small: 12KB and has only a few ...
1
vote
1answer
38 views

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, ...
1
vote
0answers
396 views

Firewall aliases mapped on DNS entries in pfsense

Is there a way, in PfSense, to add aliases to the firewall, based on hostnames registered in the DNS server? What I want to achieve is to setup a port forwarding rule, using pure NAT, to PC1.example....
1
vote
0answers
140 views

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 ...
0
votes
1answer
74 views

postfix alias_maps - can it be a directory

Hi I'd like to dynamically add users to postfix, using a php service I am writing, but I'd like to keep the /etc/alias mechanic, and I've decided the best way I can do this is make individual user.cf ...
1
vote
0answers
476 views

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 ...
0
votes
2answers
306 views

How do Email forwarding addresses (a.k.a. aliases) work?

I've been arguing with my registrar and host (1and1.com) about an odd problem with an email forwarding address, and I can't get any further until I know how they work. What I know is that: mydomain....
1
vote
2answers
151 views

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 ...
0
votes
1answer
124 views

postfix local delivery mbox Permission denied

I recently switched from sendmail to postfix. My /etc/aliases says: [...] postmaster: /var/spool/mail/postmaster [...] The permissions are: -rw-rw---- 1 postfix mail 4.9M Aug 9 13:54 /var/spool/...
5
votes
2answers
7k views

Postfix REJECT (not BOUNCE) unknown virtual aliases

We run a small postfix (and dovecot) mail server for a number of hosted domains, using virtual alias maps and with spamassassin configured. Recently it's become apparent that we're generating some ...
0
votes
1answer
74 views

postfix suddenly failed to expand mail aliases

I have used postfix on vine-linux legacy machine names "vine.domain.com (@ 210.251.xx.xx/28)" and have set mailalias on /etc/aliases: mike: xxx_xxxxx@gmail.com for a long time. I have put $...
2
votes
1answer
501 views

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 ...
2
votes
2answers
948 views

ssmtp root alias doesn't work

my ssmtp doesn't change "To" from 'root' to my email. In my ssmtp.conf I have: root=servers@latina.com In debug output I found only one difference between working and not working commands: working ...
1
vote
2answers
705 views

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) ...
4
votes
2answers
6k views

postfix: aliases will be ignored

I have a server which is configured as a postfix MTA and on which runs also a munin node. In /etc/aliases I have add: root: hostmaster@my.domain in the main.cf of postfix is configured: mydomain ...
6
votes
3answers
4k views

/etc/aliases vs virtusertable

I have a mail server running Sendmail that hosts multiple mail domains. So for instance, emails addressed to @aaa.com and @bbb.com are both going to this same server. All this time I am using /etc/...
0
votes
1answer
117 views

SNAT& iptables in Centos

i have a remote server where I have added a new FAILOVER IP in a new interface, ETH0:0. Everything works perfectly; IP is setup. I want the traffic that is coming from ETH0:0 to use the ETH0:0 as the ...
0
votes
0answers
67 views

Can I selectively inhibit alias expansion with postfix?

In a sendmail configuration, I can selectively inhibit alias expansion using a backslash as in foo: \foo, bar@example.com foo-only: \foo The idea here being that email sent to foo will be ...
5
votes
1answer
93 views

Sending email to a pair of users regardless of which one was addressed?

In the old sendmail I used to be able to backslash the usernames to prevent forwarding loops, however postfix 2 doesn't allow this syntax since complying with RFC822. Here is my example sendmail ...
-3
votes
2answers
74 views

postfix not respecting aliases [closed]

I have a small server that is suposed configured to use my gmail account to send emails about the readings the borad takes I can send emails all right but I have noticed something strange - I ...
-1
votes
1answer
209 views

Forwarding emails to external domains - aliases vs mda sieve script?

There are 2 points in the flow of a incoming email where emails can be forwarded: As soon as aliases are expanded (setting the target email as alias target) As soon as mails are handed over to the ...
0
votes
0answers
773 views

apache 2.4.10 error 403 on aliases

I updated my apache server to 2.4.10 from version 2.2.x on debian7 and I have problem with multi virtual hosts. When I try to load page I have forbidden [403] error. If I enable only one alias the ...
1
vote
1answer
177 views

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 ...
0
votes
2answers
3k views

Can I use /etc/aliases for multiple domain mail server?

I have server1.com and server2.com both pointing to the same server. I wish to make all email sending to @server1.com and @server2.com going to the same mailbox in that particular server. I searched ...
2
votes
1answer
124 views

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 ...
2
votes
1answer
1k views

Postfix, hostname and /etc/aliases

After having dig for hours on SF/SO and googled a lot, I still can't figure out how /etc/aliases is used by postfix. I use an Amazon Linux EC2 server (kind of Centos6) My server hostname is set to ...
0
votes
1answer
2k views

How to Redirect Localhost Mail? - “remote host address is the local host” (exim)

I've just setup a VPS using VestaCP on Ubuntu 14.04, and am using the default exim mail server. I would like to be able to forward mail to root@ onto another email address. But I'm getting a ton, ...
3
votes
1answer
103 views

Configuring dynamic e-mail aliases such as “user+keyword”

My Ubuntu server is using Exim4/Courier for emails and I'd like to know if it's possible to create dynamic email aliases for receiving emails like this: client+client1name@domain.com client+...
0
votes
1answer
1k views

Sendmail.mc: alias all incoming e-mails to one account

I need to alias all mail coming from another SMTP server to this one account "myinbox". The system in question is to receive all e-mail on the domain, if that's any help. http://william.shallum.net/...
0
votes
1answer
3k views

CentOS/Redhat: Systemwide aliases when logging in through LDAP/sssd

I've asked this question in the Centos Support forum, but we didn't found a solution for it (https://www.centos.org/forums/viewtopic.php?f=13&t=46101#p196728) When logging in through LDAP/sssd, ...
3
votes
1answer
645 views

Sendmail alias for all mail users in the domain

Is there a way to make a global alias in Sendmail so it would send email to all users? I tried to create an alias and included the list of all my users, but when I try to process it by m4, I receive ...
0
votes
3answers
223 views

Postfix aliases

I have a question. Is it possible to configure postfix aliases to retrieve them from an external script? alias_maps = /path/to/pythons_script.py or alias_maps = /path/to/script.sh EDIT (based on ...
7
votes
2answers
7k views

DNS A record ALIASES, and ANAME record differences

We have a number of groups of servers on AWS that use trios of servers to serve out sites. Each server, or set of servers is within a different availability region, one of which is a redirection ...
1
vote
1answer
46 views

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 ...
1
vote
1answer
109 views

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 ...
1
vote
1answer
125 views

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 ...
-1
votes
1answer
63 views

Aliases in /etc/profile.d not present in bash [closed]

Aliases set in /etc/profile.d are present in a bash shell as expected when I log in to the server using ssh. When starting a new bash shell the aliases are not there. This is a major problem since ...
1
vote
1answer
513 views

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 ...
3
votes
1answer
2k views

How do I use “catchall” in my postfix alias?

I have this in my main.cnf: alias_maps= regexp:/etc/aliases Inside that file, I have: /^reply*$/: jjj Now, when I send it to reply-124233@mydomain.com, postfix bounces it because Recipient ...
1
vote
1answer
3k views

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 <VirtualHost *:80> ...
1
vote
1answer
70 views

What is the correct places to put bash aliases which should be available for everyone?

What is the correct places to put bash aliases which should be available for everyone? I want to set it up in such are a way that if some aliases are not available for somebody, it is because they ...
2
votes
1answer
134 views

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 ...
2
votes
2answers
1k views

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 ...
1
vote
3answers
148 views

Looking for a package that aliases commands on multiple remote hosts using ssh

i would like to find a program that maintains a list of commands that can be aliased for different hosts. for example, we have a database server, and four web servers. a common task is to login to ...
1
vote
1answer
912 views

How to use MS DOS-defined aliases in Powershell

I have some aliases that are defined in MS Dos style, how can I invoke those from Powershell? When I type "alias" from Powershell prompt, I can see my aliases defined there but when I try to call them ...
1
vote
1answer
542 views

forward all emails to gmail email /etc/aliases

I want to forward all emails to my gmail email address. In my aliases file. I have this code: sales: myemail@gmail.com and it's working fine,but I have a hundreds of email addresses, I can not add ...