Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Postfix - Alle Mails an einem Linux User weiterleiten

Empfohlene Antworten

Hallo Zusammen,

gibt es eine Möglichkeit alle Mails die von einem Linux-System geschickt werden, an einem dedizierten Unix-User weitergeleitet werden?

Als MTA setzte ich Postfix, sobald eine Mail raus geschickt wird z.B. so:

mail -s testmail vorname.nachname@domain.com

soll diese mail gleich an den Linux User "mailuser" weitergeleitet werden. Derzeit befinden sich alle Mails in der Mail-Queue, da kein Relayhost eingegeben wurde, diese sollen alle an den User "mailuser" gehen.

Das ist in der offiziellen Postfix Dokumentation umfassend beschrieben, daher füge ich das mal kommentarlos an:

Postfix virtual ALIAS example: separate domains, UNIX system accounts

With the approach described in this section, every hosted domain can have its own info etc. email address. However, it still uses UNIX system accounts for local mailbox deliveries.

With virtual alias domains, each hosted address is aliased to a local UNIX system account or to a remote address. The example below shows how to use this mechanism for the example.com domain.

1 /etc/postfix/main.cf:

2 virtual_alias_domains = example.com ...other hosted domains...

3 virtual_alias_maps = hash:/etc/postfix/virtual

4

5 /etc/postfix/virtual:

6 postmaster@example.com postmaster

7 info@example.com joe

8 sales@example.com jane

9 # Uncomment entry below to implement a catch-all address

10 # @example.com jim

11 ...virtual aliases for more domains...

Line 10: the commented out entry (text after #) shows how one would implement a catch-all virtual alias that receives mail for every example.com address not listed in the virtual alias file. This is not without risk. Spammers nowadays try to send mail from (or mail to) every possible name that they can think of. A catch-all mailbox is likely to receive many spam messages, and many bounces for spam messages that were sent in the name of anything@example.com.

http://www.postfix.org/VIRTUAL_README.html

Super danke!

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Konto

Navigation

Suchen

Suchen

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.