LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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, 05:41 PM   #1
m_pahlevanzadeh
Member
 
Registered: Sep 2002
Location: Iran/Tehran
Distribution: Debian
Posts: 94

Rep: Reputation: 26
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, 01: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, 03:56 AM   #3
m_pahlevanzadeh
Member
 
Registered: Sep 2002
Location: Iran/Tehran
Distribution: Debian
Posts: 94

Original Poster
Rep: Reputation: 26
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 04:00 AM.
 
Old 02-16-2004, 08: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 02:15 PM
Sendmail to another MTA leonardox Linux - Networking 1 02-03-2005 01:10 PM
How do I turn off the sendmail MTA daemon? zwyrbla Slackware 2 10-09-2004 02:25 AM
sendmail MTA. m_pahlevanzadeh Linux - Networking 1 02-09-2004 04:44 AM
Sendmail MTA daemon Linux~Powered Linux - Software 3 01-25-2004 01:39 PM


All times are GMT -5. The time now is 03:07 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration