LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-14-2004, 04:41 PM   #1
m_pahlevanzadeh
Member
 
Registered: Sep 2002
Location: Iran/Tehran
Distribution: Debian
Posts: 94

Rep: Reputation: 28
SendMail(MTA)


Hi.
I have a sendmail(MTA) at sms.sharif.edu
When sendmail receives an email,I want to it delivers a version of same email to another host.
But i don't know to how i do.
Please guide me.....
Yours,Mohsen.
 
Old 02-15-2004, 12:24 PM   #2
linuxxed
Member
 
Registered: Feb 2004
Posts: 273

Rep: Reputation: 30
you can configure the .forward file for each user. Strictly speaking I don't think it is the job of an MTA to forward mails.
 
Old 02-16-2004, 02:56 AM   #3
m_pahlevanzadeh
Member
 
Registered: Sep 2002
Location: Iran/Tehran
Distribution: Debian
Posts: 94

Original Poster
Rep: Reputation: 28
not forwarding

I want to don't use .forward file.
In fact,I want to use more than a host.
This action is possible in qmail.
But i need to execute this action in sendmail.
If possible it,Please tell me.....

Last edited by m_pahlevanzadeh; 02-16-2004 at 03:00 AM.
 
Old 02-16-2004, 07:45 AM   #4
linuxxed
Member
 
Registered: Feb 2004
Posts: 273

Rep: Reputation: 30
The only way that I can think of (there may be others) is make use of /etc/mail/virtusertable and/or /etc/aliases. You can control what sendmail does when it receives a mail. See the virtual hosting section on sendmail.org. Wildcards are allowed.

--virtusertable
@hoho.com local%1

--aliases

localbob bob@moo.com bob
localjoe joe@doo.com joe

something like that. Check sendmail.org to verify syntax.

What it is doing is when a mail arrives at bob@hoho.com then the virtusertable looks for "localbob" and localbob resolves to two addresses - bob on the same host and bob@moo.com.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What is a MTA Jukas Linux - Newbie 3 03-30-2005 01:15 PM
Sendmail to another MTA leonardox Linux - Networking 1 02-03-2005 12:10 PM
How do I turn off the sendmail MTA daemon? zwyrbla Slackware 2 10-09-2004 01:25 AM
sendmail MTA. m_pahlevanzadeh Linux - Networking 1 02-09-2004 03:44 AM
Sendmail MTA daemon Linux~Powered Linux - Software 3 01-25-2004 12:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration