-   Linux - Newbie (
-   -   Manually Spool into sendmail (

edbravo 02-11-2002 03:55 PM

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 ;)



acid_kewpie 02-11-2002 04:17 PM

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.

finegan 02-11-2002 04:43 PM

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



edbravo 02-11-2002 05:08 PM

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.


finegan 02-11-2002 06:20 PM

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?



edbravo 02-11-2002 08:58 PM

Yeah Kinda...


edbravo 02-15-2002 01:41 PM

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

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

In the /mail/

O DaemonPortOptions= Address=,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 and if I connect to domainb will bind to
That is, so every virtual domain that I manage have the proper headers...

Excuse me if I am too confusing...


All times are GMT -5. The time now is 01:13 AM.