Re: delivering mails remotely

Gour <[email protected]> Thu, 16 Sep 2004 18:40:50 +0200
Newsgroups gmane.mail.serialmail
Message-ID <[email protected]>
Payal Rathod ([email protected]) wrote:

Hi Payal!

> Hi,
> I am trying to deliver mails on my local machine in /home/remote/Maildir/
> to staticky.com. All the mails are meant for users at staticky.com.
> But I am unable to get the proper syntax for maildirsmtp.
> The man page says,
> maildirsmtp dir prefix host helohost
> 
> I am not geting what prefix do I use? What is the exact syntax I should
> use?

I deliver emails from my local machine to ISP with:

setlock /var/lock/outspool maildirsmtp /var/qmail/spool alias-isdn- mail.isp.com`hostname`

root@gaura /var/qmail/alias # cat /var/qmail/alias/.qmail-isdn-default
/var/qmail/spool/ (for your case: /home/remote/Maildir)

mail.isp.com replace with your ISP mail-server.

For auth SMTP I have:

setlock /var/lock/outspool maildirsmtp /var/qmail/spool alias-isdn- mail.isp.com`hostname` [email protected] passwd

Hope it helps.

Sincerely,
Gour


> 
> With warm regards,
> -Payal
> 
> 

-- 
Gour			| [email protected]
Registered Linux User	| #278493
GPG Public Key		| 8C44EDCD