Questions tagged [aliases]

68 questions
1
vote
1 answer

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 overrode it themselves in their own settings.
vfclists
  • 1,632
  • 5
  • 22
  • 37
1
vote
3 answers

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 the admin server and restart mysql using # ssh…
jaymz
  • 29
  • 3
1
vote
1 answer

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 by just typing their names, Powershell complains…
nairdaen
  • 167
  • 4
1
vote
1 answer

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 them all manually I am trying this code: *:…
Emad Ahmed
  • 19
  • 2
1
vote
1 answer

Postfix not properly routing through aliases to php

So I setup everything for postfix/imap properly by going through https://help.ubuntu.com/community/PostfixBasicSetupHowto and i'm able to send emails to fmaster@ME1.com/root@ME1.com however, I'm trying to send an email to test@ME1.com then use…
tester
  • 565
  • 8
  • 18
1
vote
1 answer

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@space-port-pros.com Thereby, mails sent to…
1
vote
1 answer

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 maps virtual domains, virtual users and virtual…
pacquo
  • 11
  • 3
1
vote
1 answer

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 alias domain, it fails. This is the header of an…
0
votes
2 answers

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. The Head of OrgA is also Head of Company B (CompB,…
Nico
  • 135
  • 4
0
votes
1 answer

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 for aliases?
user460340
0
votes
1 answer

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 files each one with aliases in it. I don't want…
Mr Heelis
  • 123
  • 6
0
votes
2 answers

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.com has an MX record listing mx00.1and1.com I can…
feetwet
  • 109
  • 1
  • 7
0
votes
1 answer

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/mail/postmaster before it was g=r, I changed it to…
Alexander
  • 277
  • 2
  • 8
0
votes
1 answer

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 $mydestination entry on /etc/postfix/main.cf mydestination…
Mike_F
  • 1
  • 2
0
votes
1 answer

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 IP source. For example, when I send emails from…