Questions tagged [aliases]
The aliases tag has no usage guidance.
68
questions
0
votes
0
answers
20
views
Internet relay postfix with virtual alias and .forward
In a relay postfix for a domain, I am trying to configure so that each user indicates the e-mail destination address he wants in the .forward but as virtual_alias_maps is configured, it always takes ...
0
votes
1
answer
82
views
After update from Apache 2.2 to 2.4, Aliases no longer work
I'm not a stranger to server configuration but on my local development systems (all of them), some update seems to have broken the Web sites' aliases as none work now. I'm not sure when it happened as ...
0
votes
1
answer
73
views
sendmail and LDAP-based aliases
Environment: CentOS 7.9, Sendmail 8.14, OpenLDAP 2.4
I'm trying to get sendmail to read its aliases from an LDAP database (this has worked with NIS for years, but NIS is fading into the twilight). My ...
0
votes
1
answer
116
views
Setting up sendmail to use aliases without a hostname? [domain name without hostname]
I'm setting up sendmail on a machine with hostname 'foo', and FQDN 'foo.example.com'. My /etc/aliases contains
webmaster: me
me: me@somewhere-else.com
If I now try to send a test email, from 'foo', ...
1
vote
1
answer
384
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@...
0
votes
0
answers
868
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 ...
0
votes
1
answer
348
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 ...
1
vote
1
answer
505
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 ...
0
votes
1
answer
46
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 ...
-1
votes
1
answer
975
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 ...
0
votes
0
answers
430
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 ...
0
votes
1
answer
157
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 ...
1
vote
1
answer
891
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 ...
0
votes
2
answers
683
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. ...
-1
votes
1
answer
181
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 ...
0
votes
1
answer
266
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 ...
4
votes
1
answer
538
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 ...
3
votes
1
answer
226
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 ...
1
vote
1
answer
88
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, ...
2
votes
1
answer
884
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....
2
votes
0
answers
314
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
1
answer
174
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
0
answers
1k
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
2
answers
778
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
2
answers
325
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
1
answer
516
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/...
6
votes
2
answers
13k
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
1
answer
190
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
1
answer
756
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 ...
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 ...
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) ...
7
votes
2
answers
16k
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 ...
7
votes
4
answers
9k
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
1
answer
153
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
0
answers
118
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
2
answers
149
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
2
answers
161
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
1
answer
574
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
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 ...
1
vote
1
answer
673
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
2
answers
6k
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
1
answer
263
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
...
3
votes
1
answer
4k
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
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, ...
3
votes
1
answer
158
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
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/...
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, ...
3
votes
1
answer
1k
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
3
answers
350
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 ...
10
votes
2
answers
10k
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 ...