Sending through an external e-mail account

Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Sending through an external e-mail account
# 1  
Old 08-10-2011
Sending through an external e-mail account

Hi guys.

After several Google hours, i've failed to find a solution to my problem, maybe my google skills arent that good - but i hope someone could help me figure this out.

I'm running a ubuntu server 11.04 with postfix installed.
I have installed Request tracker 4 and configured it to read e-mails from my external email-account.

When i send a email to the email address it creates a ticket in RT and now to the problem. It sends a auto reply, but the email adress is instead of the And when you reply to the auto reply in order to update your ticket, then you're sending it to a wrong alias.

Can't i get postfix to send mails through an email account on my external smtp? So the senders address is the correct one ( As of now it's just getting relayed.

I hope you are able to understand my problem and what i wish to do, otherwise please do ask so i can try to clarify it.

Best Regards

---------- Post updated 10-08-11 at 01:23 AM ---------- Previous update was 09-08-11 at 03:57 AM ----------

Any idea's on how to send the mail directly through an email-account, instead of relaying?

---------- Post updated at 02:57 AM ---------- Previous update was at 01:23 AM ----------

Problem solved by using the smtp_generic_maps feature under postfix.
# 2  
Old 08-10-2011
I think you'd be better off if you use the address mapping feature of Postfix: Postfix Address Rewriting
# 3  
Old 08-10-2011
Yup, that was the solution i went for aswell.. It was straight forward and works as desired. Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Red Hat

Problems sending mail: Difference between Mail and Mailx?

Whats the difference between mail and mailx? I'm trying to troubleshoot a problem where I can send mail from server A with this `echo $MESSAGE | mail -s "$SUBJECT" -r $FROM $RECIPIENTS` command but executing the same command from server B throws me this error (Both servers are RHEL) ... (1 Reply)
Discussion started by: RedSpyder
1 Replies

2. UNIX for Advanced & Expert Users

Mutt to use external mail server

Hi, Using mutt im triggering a mail with attachment to 2 different recipient. How can i use gmail/official mail server to send mails using mutt service only. kindly shed some idea Script which i use now SUBJECT="Mail from myserver" EMAIL=","... (0 Replies)
Discussion started by: Paulwintech
0 Replies

3. Shell Programming and Scripting

cron not sending external mails

This script is to send a email if the IP adress is active when i run this script it is working and sending emails to external users in different domains, but when this script is scheduled in a cron it is unable to send the emails #/bin/sh ifconfig -a | grep if ; then mail -s... (10 Replies)
Discussion started by: robo
10 Replies

4. Shell Programming and Scripting

php code - Sending mail with external SMTP server

Here is the code: <?php //new function function loadini($path) { $fp = fopen($path, "r"); $fpcontents = fread($fp, filesize($path)); fclose($fp); return $fpcontents; } $to = ""; $nameto = "notme"; $from = "test"; $namefrom = "Who From"; ... (0 Replies)
Discussion started by: galford
0 Replies

5. Shell Programming and Scripting

Stop sending mail after certain number of mail

Hi guys... I am busy writing a script to notify me via an mail if my application is down. I have done that. Now I want this script to stop sending mails after five mails were sent but the script should keep on checking the application. When the application is up again that count should be... (5 Replies)
Discussion started by: Phuti
5 Replies

6. Solaris

how to forward mail in /var/mail/username to external mail

Dear All, Now I use solaris 10 and I try to forward mail from /var/mail/username to their external mail so what should I do? thank u in advance (2 Replies)
Discussion started by: unitipon
2 Replies

7. UNIX for Dummies Questions & Answers

Sending cronjob log to external email

Hi All, I would like to know if there away to send cronjob log to external email (such as instead of to /var/spool/mail/root . If so, can we attach a file in the mail (e.g. test.log) ? Need guidance from you guys! (1 Reply)
Discussion started by: nazri76
1 Replies

8. AIX

Problem sending mail to an external domain

On one of our AIX servers, I'm having problems sending email to an external domain. I'm not a SYSADM and not sure how to troubleshoot this issue. Any help will be greatly appreciated. The following mail components are installed on the server $ lslpp -l Fileset ... (2 Replies)
Discussion started by: voorkey
2 Replies

9. UNIX for Dummies Questions & Answers

sending a mail to a mail client

Hi everyone! I'm trying to create a database monitoring script that reads an alert file and sends an error message if it can 'grep' a particular string. Is there a way to send this message to a mail client using SMTP? Even better, is there any place on this site that has these kinds of... (5 Replies)
Discussion started by: solaris73
5 Replies
Login or Register to Ask a Question