Networking Forums

Networking Forums > Computer Networking > Linux Networking > Mail Relay through ISP by Postfix

Reply
Thread Tools Display Modes

Mail Relay through ISP by Postfix

 
 
* Tong *
Guest
Posts: n/a

 
      06-20-2006, 05:07 AM
Hi

I'm trying to setup my Postfix to relay my mails through my ISP.

I found one instruction at
http://www.k2.on.lk/fourm/viewtopic.php?t=30

but it is too vague for me to follow. Anywau, I've done my best guess
configuring my Postfix. Now,

- how can I proof if my configuration is correct?
- I sent a test mail via sendmail, but I didn't received it at the other
end, how can I debug the mail sending process? Any way to see the whole
smtp negotiation process?
- Is there better doc to show me how to setup / debug the Postfix
relaying through ISP?

thanks a lot

--
Tong (remove underscore(s) to reply)
*niX Power Tools Project: http://xpt.sourceforge.net/
- All free contribution & collection
 
Reply With Quote
 
 
 
 
Bit Twister
Guest
Posts: n/a

 
      06-20-2006, 05:30 AM
On Tue, 20 Jun 2006 01:07:34 -0400, * Tong * wrote:
> Hi
>
> I'm trying to setup my Postfix to relay my mails through my ISP.


should be an easy relayhost setting.

> I found one instruction at
> http://www.k2.on.lk/fourm/viewtopic.php?t=30
>
> but it is too vague for me to follow. Anywau, I've done my best guess
> configuring my Postfix. Now,


http://www.postfix.org may help.

>
> - how can I proof if my configuration is correct?


I sent mail to myself on my node,

mail -s "user test" bittwister < /dev/null

to prove alias was set right I sent
root a mail message logged in as root.

mail -s "user test" root < /dev/null
and verified it showed up in bittwister's mail box.

Then sent mail to my ISP email account.

> - I sent a test mail via sendmail, but I didn't received it at the other
> end, how can I debug the mail sending process? Any way to see the whole
> smtp negotiation process?


I looked in /var/log/mail/* files to see errors.

For my settings, you can put
mail.cf+alias in the first box, asterisk linux asterisk in the
newsgroup box and bit twister in the author box at
http://groups.google.com/advanced_group_search
 
Reply With Quote
 
Dan N
Guest
Posts: n/a

 
      06-20-2006, 08:20 AM
On Tue, 20 Jun 2006 01:07:34 -0400, * Tong * wrote:

> Hi
>
> I'm trying to setup my Postfix to relay my mails through my ISP.


All you need is this in your main.cf:

relayhost = your-isp-smtp-server.com

Dan


 
Reply With Quote
 
* Tong *
Guest
Posts: n/a

 
      06-20-2006, 01:44 PM
On Tue, 20 Jun 2006 00:30:02 -0500, Bit Twister wrote:

> For my settings, you can put
> mail.cf+alias in the first box, asterisk linux asterisk in the newsgroup
> box and bit twister in the author box at
> http://groups.google.com/advanced_group_search


Thanks Bit Twister.

It took me a while to decipher the above paragraph.

When I did the actual search, the only hit that came back is this thread.
Have you double checked it?

This is my actual search:

http://groups.google.com/groups?as_q...=2006&safe=off

Thanks

--
Tong (remove underscore(s) to reply)
*niX Power Tools Project: http://xpt.sourceforge.net/
- All free contribution & collection
 
Reply With Quote
 
* Tong *
Guest
Posts: n/a

 
      06-20-2006, 01:47 PM
On Tue, 20 Jun 2006 16:20:23 +0800, Dan N wrote:

>> I'm trying to setup my Postfix to relay my mails through my ISP.

>
> All you need is this in your main.cf:
>
> relayhost = your-isp-smtp-server.com


That's it? Your ISP doesn't need SMTP SSL authentication?

--
Tong (remove underscore(s) to reply)
*niX Power Tools Project: http://xpt.sourceforge.net/
- All free contribution & collection
 
Reply With Quote
 
Dan N
Guest
Posts: n/a

 
      06-20-2006, 01:53 PM
On Tue, 20 Jun 2006 09:47:43 -0400, * Tong * wrote:

> That's it? Your ISP doesn't need SMTP SSL authentication?


Not generally. Mine doesn't.

Dan

 
Reply With Quote
 
Bit Twister
Guest
Posts: n/a

 
      06-20-2006, 03:10 PM
On Tue, 20 Jun 2006 09:44:54 -0400, * Tong * wrote:
> On Tue, 20 Jun 2006 00:30:02 -0500, Bit Twister wrote:
>
>> For my settings, you can put
>> mail.cf+alias in the first box, asterisk linux asterisk in the newsgroup
>> box and bit twister in the author box at
>> http://groups.google.com/advanced_group_search

>
> Thanks Bit Twister.
>
> It took me a while to decipher the above paragraph.
>
> When I did the actual search, the only hit that came back is this thread.
> Have you double checked it?


Frap, My mistake, should have been main.cf not mail.cf

Run the search again with main.cf+relayhost, *linux* and bit twister.

here is a starter article. Just use the message id box.

http://groups.google.com/advanced_group_search
(E-Mail Removed)lid <==== in the message id box.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Mail relay program that TRASHES ALL INCOMING MAIL? [for what purpose?] Andrzej Adam Filip Linux Networking 3 05-08-2010 09:03 PM
Hosting Own Postfix Mail Server John Tilly Linux Networking 8 09-14-2007 03:35 AM
verizon dsl mail gateway and postfix on my linux box dongarbage@hotmail.com Linux Networking 3 10-07-2006 06:35 PM
Mail relay through NTLWorld Gareth Edmondson Broadband 2 04-01-2005 11:48 PM
Maildir/ in /var/spool/mail/$user? (postfix) Nick E. Linux Networking 1 01-30-2004 03:11 AM



1 2 3 4 5 6 7 8 9 10 11