LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 02-11-2002, 02:55 PM   #1
edbravo
LQ Newbie
 
Registered: Feb 2002
Posts: 14

Rep: Reputation: 0
Manually Spool into sendmail


Hi there...
I'm just moving into Linux (and lemme tell you I'm falling for it).
Though I'm still confused about a lot of stuff...

I have 2 basic Questions about Sendmail.

1) Is my understanding that you can use sendmail to "receive mail" (as an MX) and to "send" mail (as a MAILER MX)... The Q is.. the fact that I have sendmail as a daemon on port 25 doesn't mean that it will be acting as the "Outgoing (Mailer) part" right ?
Where can I select what software I use for "outgoing mail" ?

2) I'm used on IISSMTP to have a "pickup" folder where I drop msgs. and they get sent out... How can I do the same with sendmail ? what folder can I spool them to ?

Thanks in advance.
Excuse my ignorance

Ed.

 
Old 02-11-2002, 03:17 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,397

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
1) well, sendmail will send mail to an external location, as your local sendmail program relays the mail to the smtp server (e.e.g sendmail) at the host address. I guess you know this but it's that you give SMTP your mail, and it then gives it to somewhere else, pushing rather than pulling. there's no real conceptual difference between a local mailbox and a remote server in the way it's working.

2) err.. pass.
 
Old 02-11-2002, 03:43 PM   #3
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57
2) /var/spool/mqueue I think is what you're asking about... but that differs (rarely) from distro to distro.

Cheers,

Finegan
 
Old 02-11-2002, 04:08 PM   #4
edbravo
LQ Newbie
 
Registered: Feb 2002
Posts: 14

Original Poster
Rep: Reputation: 0
Hey guys thanks for the prompt response.

-> finegann

I know the spooler folder is the one you mentioned, but can I just "create a txt file" on that folder and it'll be send out ? If so..what's the format of such file like ?

Thanks in advance.

Ed.
 
Old 02-11-2002, 05:20 PM   #5
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57
I know you can 'cat filename >> /var/spool/mqueue' into the spool... but it takes specific formatting and I haven't ever dealt with that before. Heck... try looking at an incoming spool from /var/spool/mail/user and see if you can just reverse engineer it?

Why the curiosity? Trying to build a client?

Cheers,

Finegan
 
Old 02-11-2002, 07:58 PM   #6
edbravo
LQ Newbie
 
Registered: Feb 2002
Posts: 14

Original Poster
Rep: Reputation: 0
Yeah Kinda...

 
Old 02-15-2002, 12:41 PM   #7
edbravo
LQ Newbie
 
Registered: Feb 2002
Posts: 14

Original Poster
Rep: Reputation: 0
Help Needed ASAP

Hey guys...
I have sendmail running, and I have several domains...
in the /etc/hosts file I have

1.2.3.4 domaina.com
1.2.3.5 domainb.com

in the /etc/mail/local-host-names

domaina.com
domainb.com

In the /mail/sendmail.cf

O DaemonPortOptions= Address=0.0.0.0,Name=MTA, M=hb

What I need to do is that when I connect to port domaina in port 25 (telnet in) it will "bind" to 1.2.3.4 and if I connect to domainb will bind to 1.2.3.5
That is, so every virtual domain that I manage have the proper headers...

Excuse me if I am too confusing...

Ed.
 
  


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
sendmail filling /var/spool/clientmqueue/ on FC4 alesz Linux - Networking 0 10-06-2005 02:50 PM
sendmail error Fetching mail could not lock /var/spool/mail/username sukhdev50 Linux - Networking 0 05-04-2005 03:41 AM
Printing spool... subaruwrx Linux - Software 5 08-27-2004 02:02 AM
spool overflow wedgeworth Linux - Software 1 01-06-2004 11:58 AM
/var/spool/mail Sendmail problem.. chuck77 Linux - General 1 05-31-2002 01:15 AM


All times are GMT -5. The time now is 11:20 PM.

Main Menu
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