[Grml] Re: Any mail client in grml allows me to relay mail through ISP

T mlist4suntong at yahoo.com
Mon Jul 10 18:31:50 CEST 2006


On Sat, 08 Jul 2006 09:41:57 +0200, Michael Prokop wrote:

> * T <mlist4suntong at yahoo.com> [20060708 05:15]:
> 
>> First of all, let me confess the hidden agenda for me to install grml --
>> to tap into the unbelievable knowledge base of grml users and admin,
>> because I had been trying to setup my Postfix to relay my mails through
>> my ISP with SASL required many times but all failed.
> 
>> I'm been searching and following the document on the net (eg, the
>> following two), but all attempts failed.
> [...]
> 
> Did you run 'dpkg-reconfigure postfix'?

Yes, but it is not very helpful. 

Here is the log if I do it again right after grml2hd:

cp /etc/postfix/main.cf /etc/postfix/main.cf.org

% dpkg-reconfigure postfix
Local delivery only - You are not on a network.  Mail for local users is 
delivered.

  1. No configuration  3. Internet with smarthost  5. Local only
  2. Internet Site     4. Satellite system

General type of configuration? 3

[...]

The relayhost parameter specifies the default host to send mail to when no entry
is matched in the optional transport(5) table. When no relayhost is given, mail 
is routed directly to the destination.

SMTP relay host? (blank for none) [smtphm.sympatico.ca]

[...]

Postfix is now set up with the changes above.  If you need to make changes, edit
/etc/postfix/main.cf (and others) as needed.  To view Postfix configuration
values, see postconf(1).

$ diff -wu2 /etc/postfix/main.cf.org /etc/postfix/main.cf  
--- /etc/postfix/main.cf.org    2006-07-10 18:16:39.000000000 +0200
+++ /etc/postfix/main.cf        2006-07-10 18:22:42.000000000 +0200
@@ -14,8 +14,9 @@
 alias_database = hash:/etc/aliases
 mydestination = grml User, localhost, localhost.localdomain, localhost
-relayhost = 
+relayhost = [smtphm.sympatico.ca]
 mynetworks = 127.0.0.0/8
 mailbox_command = procmail -a "$EXTENSION"
 mailbox_size_limit = 0
 recipient_delimiter = +
-inet_interfaces = loopback-only
+inet_interfaces = all
+inet_protocols = ipv4

It doesn't touch anything on setting Postfix to relay my mails through my
ISP with SASL required, ie, all the smtp_tls_ setting are not there.
That's where I'm having difficulties at. 

please help

thank








More information about the Grml mailing list