Postfix SMTP

From Wiki

(Difference between revisions)
Jump to: navigation, search
Line 31: Line 31:
http://www.debianhelp.co.uk/postfix.htm
http://www.debianhelp.co.uk/postfix.htm
 +
 +
----
'''Delete an Email from the Queue'''
'''Delete an Email from the Queue'''
 +
For Example - sending an email to someone and it bounces. Defauly retry is for 3 days. To remove it manually :
For Example - sending an email to someone and it bounces. Defauly retry is for 3 days. To remove it manually :
  postsuper -d queue_id
  postsuper -d queue_id
Tons more info at: http://www.postfix.org/postsuper.1.html
Tons more info at: http://www.postfix.org/postsuper.1.html

Revision as of 13:47, 1 April 2006

Install as per normal

apt-get install postfix
Choose Internet Site Config.

After Install - Main folder = /etc/postfix
Main file = main.cf

Basic Changes:

Just the name used to identify server
myhostname = mail.domain.com
//disable lookup of usernames disable_vrfy_command = yes Remove hash beside delay_warning_time = 4h

SENDING AN EMAIL VIA TELNET 25 & Testing forwarding

mail from: sri@mara.net
rcpt to: user@lastre.com
data
.
quit

Test and get working Normal - Should be able to send and revieve via pine etc.

Had to adjust /etc/hosts with domain name (this allowed sending emails ok):

127.0.0.1       localhost
136.201.1.250   kartbuilding.net        phidebian

Good URLS

http://www.muine.org/~hoang/postfix.html

http://www.debianhelp.co.uk/postfix.htm


Delete an Email from the Queue

For Example - sending an email to someone and it bounces. Defauly retry is for 3 days. To remove it manually :

postsuper -d queue_id

Tons more info at: http://www.postfix.org/postsuper.1.html

Personal tools