Questions tagged [aliases]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
58 views

after postfix 3.5.6 upgrade, virtual alias maps to multiple recipients are treated as single names containing a comma

Just upgraded to debian bullseye postfix 3.5.6 from debian wheezy postfix 2.9.6. We use virtual alias maps to multiple recipients, like this one: jim@theidsp.net @theidsp-network.inter-realm.net,jim@...
user avatar
0 votes
0 answers
11 views

Multiple domains on google workplace and email should be added as secondary or alias for email outreach?

We are setting up our outreach management for a new startup. The app primary email domain is something like app.com Emails we send out will be via a new domain, something like app-email.com. We use ...
user avatar
  • 877
0 votes
0 answers
118 views

Apache2 alias loading from document root instead of alias directory

I have problem with apache2. I'm new to it and I'm trying to solve some problems. I have a server running debian with apache2.4 installed and 3 web-site running. A Shiny Server, a django website and a ...
user avatar
  • 1
0 votes
1 answer
159 views

I Have a problems with qoutes in my bash script [closed]

how to do so that in this script which searches for something from the database. he searched for it and changed its name in the terminal. I have a problem with the quotes here. Maybe anyone know how ...
user avatar
1 vote
1 answer
252 views

Postfix alias mail receives messages only from local mailboxes

I've installed a Postfix-Dovecot mail server following a guide (How to Set Up an Email Server With Postfix, Dovecot and MySQL) that defines a simple setup with virtual mailboxes and a database that ...
user avatar
  • 11
0 votes
1 answer
30 views

Unable to turn email forwarding off with /etc/aliases file

I was testing forwarding to an external account with this in /etc/aliases: some_user: some_user,me@example.com The email was going to the external address but not to the internal. So I removed the ...
user avatar
  • 412
-2 votes
1 answer
495 views

aliases not working when sending email using 'mail' and 'msmtp' [closed]

I have a Raspberry Pi and installed msmtp, msmtp-mta and mailutils. I send emails via Google SMTP and it works great for specific email addresses. If I try to send emails to "root" it works ...
user avatar
  • 11
0 votes
0 answers
214 views

Nginx alias not working on https but working on http

I hope this is going to be a relatively simple one but I'm stumped and searching through potential solutions haven't helped. I am looking to serve a static (ads.txt) file for my Ghost droplet on ...
user avatar
0 votes
1 answer
52 views

Postfix: processing incoming mail for virtual user

This discussion on Dovecot ML suggests to use for filtering mail for foo user foo: | /path/to/the/external/program in /etc/aliases. But aliases work only for local user. How to filter with script mail ...
user avatar
  • 282
1 vote
1 answer
667 views

dmarc is failing for alias domain hosted in AWS’s DNS-Route 53

We have a problem with _dmarc record for our alias domain. We use AWS’s DNS-Route 53 and Google Apps. When sending an email from the primary domain, _dmarc passes validation. But when sending from the ...
user avatar
0 votes
2 answers
397 views

Postfix mail relay to external address, SPF Check

I have a question which is not about the configuration but about the question what is right and what not. The scenario: Organisation A (OrgA) has a Mailserver which is responsible for example.org. ...
user avatar
  • 35
-1 votes
1 answer
135 views

Is it possible to use Gmail as a postfix relay with virtual domains?

As I'm getting more and more frustrated with attempting to use sendmail to send web app emails that won't be flagged as spam, I've turned my attention to using postfix instead. I've found this Linode ...
user avatar
0 votes
1 answer
200 views

OpenBSD 6.5 /etc/mail/aliases correct format?

What is the correct entry format for an alias? Right now I have root: xxxx@somewebsite.com Running newaliases -f /etc/mail/aliases yields a syntax error. Are there examples in the manual page ...
user avatar
3 votes
1 answer
286 views

sendmail aliases - send to root plus external address?

There are plenty of examples of how to use aliases to send email to multiple addresses, but I'm interested in sending to an internal name and an external address. For example, this doesn't work, but ...
user avatar
3 votes
1 answer
151 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 ...
user avatar
  • 151
1 vote
1 answer
55 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, ...
user avatar
  • 501
1 vote
0 answers
747 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....
user avatar
2 votes
0 answers
267 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 ...
user avatar
  • 673
0 votes
1 answer
126 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 ...
user avatar
  • 123
1 vote
0 answers
940 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 ...
user avatar
  • 121
0 votes
2 answers
667 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....
user avatar
  • 109
1 vote
2 answers
286 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 ...
user avatar
  • 400
0 votes
1 answer
416 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/...
user avatar
  • 267
5 votes
2 answers
12k 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 ...
user avatar
  • 345
0 votes
1 answer
167 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 $...
user avatar
  • 1
2 votes
1 answer
726 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 ...
user avatar
3 votes
2 answers
2k 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 ...
user avatar
1 vote
2 answers
1k 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) ...
user avatar
  • 133
7 votes
2 answers
14k 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 ...
user avatar
  • 929
7 votes
4 answers
8k 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/...
user avatar
  • 241
0 votes
1 answer
148 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 ...
user avatar
0 votes
0 answers
113 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 ...
user avatar
5 votes
2 answers
148 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 ...
user avatar
-3 votes
2 answers
131 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 ...
user avatar
-1 votes
1 answer
481 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 ...
user avatar
  • 3,979
0 votes
0 answers
1k 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 ...
user avatar
  • 1
1 vote
1 answer
527 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 ...
user avatar
0 votes
2 answers
5k 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 ...
user avatar
  • 241
2 votes
1 answer
211 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 ...
user avatar
3 votes
1 answer
3k 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 ...
user avatar
  • 263
0 votes
1 answer
3k 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, ...
user avatar
  • 347
3 votes
1 answer
133 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+...
user avatar
  • 93
0 votes
1 answer
2k 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/...
user avatar
  • 13
0 votes
1 answer
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, ...
user avatar
  • 111
3 votes
1 answer
972 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 ...
user avatar
  • 463
0 votes
3 answers
312 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 ...
user avatar
9 votes
2 answers
9k 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 ...
user avatar
  • 285
1 vote
1 answer
54 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 ...
user avatar
  • 11
1 vote
1 answer
407 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 ...
user avatar
1 vote
1 answer
213 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 ...
user avatar
  • 141