Red Hat / Fedora :: Redirect The Postfix Email Address?
Dec 28, 2010
tell postfix to send email sent to one email address to another email address. What I really need to do is tell postfix that every email sent to [URL] and [URL] be sent to [URL] I tried transport maps like this: [URL] but that did not work. I then tried canonical maps like this:
I have an email server configured with postfix, dovecot, saslauthd and squirrelmail. It works great. In fact I'd even say it works too well: in squirrelmail, I can configure any sender address and my server will accept it. Message will be sent, wether the sender's address is [URL] or [URL]. Is there any way of limiting it in such way that only [URL] is accepted as sender's address?
I'm looking for a way to redirect e-mail with postfix based on sender AND recipient. What I want: Let's say I have 3 users:
and an external address, let`s call it [URL] sends e-mails every day to andy, mark and john Now, MARK and JOHN, need the e-mail sent by [URL], but TOM doesn't need it. Is there a way to redirect ONLY the e-mail sent to TOM from [URL], to some other address, let`s say [URL] without affecting the e-mail received by MARK and JOHN? Unfortunately using SENDER ACCESS redirects ALL e-mail from [URL]
I'm trying to figure out how to access the local part and the domain part of an email address in postfix's main.cf. For example, firstname.lastname@example.org has myname as the local part and mydomain.net as the domain part.I get the whole email address with %s. I want to speed up the lookups by writing better database queries.I've had no luck finding this in the otherwise well documented postfix.
I have an email setup where all of the emails from our email host is downloaded to our Linux server using Fetchmail. Then some of the incoming emails are sent to an MS exchange server (server1.domain.com) using Postfix. What i want to do is to send a copy of all emails to Another server (server2.domain.com) for redundancy.Can postfix be configured to send copies out to both?
I am trying to setup a simple SMTP server to relay scanned documents from a Xerox machine to email addresses. Unfortunately the Xerox machine doesn't support TSL or SSL so sending mail over port 25 on gets blocked. I have setup postfix on a desktop running Fedora 13 and have been able to set it up to forward the mail onto the correct server (gmail for example). My question is, how do I get the server to encrypt the emails (scanned documents) when sending them over the internet?
I have tried adding:
Code: smtpd_use_tls = yes smtpd_tls_cert_file = /etc/postfix/smtpd.cert smtpd_tls_key_file = /etc/postfix/smtpd.key But when I look at the wireshark capture of the sending I can read my test message in plain text.
I have been running an email server on a Red Hat 9 system for 5 years, and wanting to upgrade it to the latest Fedora OS. A few days ago it crashed. The server is running Fedora 11 (up-to-date). Clients are Fedora 11 and Windows XP machines using Thunderbird for accessing email. The server is running Postfix and Dovecot. Within my local network I can send and receive emails. I can also send email to addresses outside of my local network. The only problem is that I cannot receive any email from outside the local network. I cannot think of anything aside from my firewall (iptables) or postfix config that could be causing the problem.
Below are my iptables file, and the postfix main.cf changes that I have made. Iptables (the same file I was using on Red Hat version 9 with one minor deprecated syntax changed): *nat :PREROUTING ACCEPT [22:1894] :POSTROUTING ACCEPT [14:840] :OUTPUT ACCEPT [17:1356] -A POSTROUTING -o eth0 -j MASQUERADE COMMIT *filter .....
Is there a way of allowing only certain domain to send e-mails to certain specific e-mail address. I am using Sendmail, and I have an alias which translate to certain members of staff within my organization. I don't expect e-mails from outside our domain to be sent to this alias e-mail address.
I want to share 3 email addresses and an address book among 2 users on a small network with 3 computers. Emails come from 3 different POP email accounts. There are 2 users.Each user may use any of 3 computers on the network (2 computers are linux, one is Windows XP). The 2 users have separate userids on the linux machines, but share an account on the Windows machine.
Each user should be able to view, reply to, delete, and otherwise deal with emails from any of the 3 POP sources, regardless of which computer the user is logged on to. Also, each user should be able to view and update entries in the address book, regardless of which computer the user is logged on to. What about using a system like courier or egroupware to retrieve and store the email from the 3 POP sources? Then courier or egroupware could make its mail store (maildir?) available via IMAP to the 2 users via email clients on each of the 3 computers.
The mail would be stored in the single, unique, courier or egroupware maildir store, not in the email clients. So if any user deletes a message or replies to a message, the action is visible to the other user from any computer. Also, emails only need be deleted once, not multiple times from each email client. I have looked at the courier and egroupware documentation, but I can't figure out whether either of them can be set up to retrieve email from 3 POP sources? If they can, how do you do it?
They appear to be email servers that collect emails sent to the domain they are configured to serve? could email clients be setup to share a single mailbox and address book (at least on the linux machines. forget about Windows). I guess the mailbox would lock when any client opened it, so only one client at a time could be active.
Recently I need to redirect domain name that is a mobile minisite called m.domain.com/abc to external hosting web server ip with like 126.96.36.199/abc in our apache web server. This website is hosting in external. Our apache is 2.0.53, because I am new in Linux, so I don't know how to work out this. I want to know that how can I achieve this? Is it just use the DNS to map it or need to config our apache to work out this? I really urgent to know what can I do for it?
Location and syntax of named.conf in Ubuntu's version of BIND 9. I already have an HTTP server (in the form of Apache) along with forum software set up on my Acer netbook. However, the only way I can access the forum software is if I type in my IP address. How do I set up my named.conf to get the IP address to redirect to a domain? I already have my resolv.conf configured to allocate a domain to the IP address, but testing the ping of the site returns a "No such domain" error.
how to redirect network traffic to a new IP address using IPtables. I am using Baffalo router and the rtos used is DD-WRT. Basically, I want it so that any connection going through my router to a specific IP (say, 192.168.11.5) will be redirected to another IP (say, 192.168.11.7) so any outgoing connections made by a program that is attempting to connect to192.168.11.5 will instead connect to 192.168.11.7.
I wish to intercept/forward emails that is sent to one user on multi user mail server.I only want email from one specific address or group,to be redirected and it will be redirected to another user on same server.The email should not arrive in original users inbox.".forward" file can not give me such solution,because ".forward" file will forward all mails to another specific mail id,which i don't want. I want only specific users mails onto another local user.Is this possible in sendmail?Anybody have clear idea of "virtusetable" & "aliases" file?
Currently i'm figuring out how to send email notifications to users when services went down in Nagios. I know i need to install and configure Postfix, which i did already. I assume that when i configured to point it to "Satellite mail system" is the correct one instead of other things like "Internet.." etc. So the configurations is when you have installed the Postfix and there would pop a lot of questions right? Other than that, what have i missed?
Oh ya, i remember something. Hmm. I do not have any so-called real smtp server so would that be alright? I heard that installed and getting the Postfix running would be enough as it serves as a MTA (mail transfer agent). So if i do not have any smtp server, the relay host= ' ' what should i put it as?
I have a server with an sms-terminal attached. There I use "gnokii" to send sms. Now I'm searching for a solution with postfix or something else to receive an email and resend the subject of this email as an sms with gnokii. I have already searched a lot. I found that I have to create a special "sms"-user and a .procmail / .forward-file. But I had no success with this solutions.
I don't have idea how could I create a script that will forward my email from postfix to a script automatically to sms gateway right now I can receive a mail from solarwinds and I'm done configuring my kannel sms gateway .Could anyway help me how could I send my email-> sms automatically using script?
recently i was raised my question about external and internal emailing using one domain name.Now i have another question about restriction.I can able to set email account and permit only local and external
now my question this kind of setup external and internal one thing i've noticed is that using email@example.com(local only) was able to receive email from outside.is it possible to block all outside email if the firstname.lastname@example.org is local only?
I have an issue where postfix is setup to use dovecot auth and as far as I know it works, if i login using telnet to the mail server i can authorize myself y providing the base64 encoded user & password. so if i can login, why cant my email clients. have tried thunderbird and evolution. this is the mail.log relavant entries for sucessful login via telnet
Login by pop or imap works flawlessly that what i dont get. From what i see it SHOULD be working. It it changes things, im using postfixadmin, postfix, dovecot. passwords and info stored in mysql tables. passwords are md5 encrypted. I thought that may be the issue, but that dosnt make sence.
For legal reasons, I may soon be required to have the ability to provide a user's emails to authorities as part of a discovery action.Not just a copy of backup.I'm running postfix with dovecot on rhel5.I'd need to be able to produce emails sent and received in a given time frame by a given user.
mailman configured with postfix & dovecot on the same server. Postfix & dovecot configured using iredmail script. This situation is possibly caused by dovecot LDA but I do not know how to configure it to recognize mailman lists I'm using RHEL 5.5
Here's my configs:
alias_database = hash:/etc/postfix/aliases alias_maps = hash:/etc/postfix/aliases, hash:/etc/mailman/aliases allow_min_user = no biff = no