From: M. F. <mfi...@ne...> - 2007-08-16 13:39:51
|
Hello, I have on my home computer the working fetchmail rc file shown below, to download all the messages from my ISP pop3 server to my home box. Now I want to reuse that file on a Centos server, separate from my home desktop, running postfix, dovecot and fetchmail-6.2.5-6.0.1.el4 On that server there is no user "marco". There are only virtual email users, and I'd rather not add other Unix users there. On the server there is ad-hoc user without shell which is only used by postfix and dovecot to deliver messages to mailboxes: # grep mail_only_account /etc/passwd: mail_only_account:x:2000:2000::/home/mail_only_account:/bin/false However, if I run as user mail_only_account: /usr/bin/fetchmail -vv -f /usr/local/etc/Fetchmail/always fetchmail always gets from postfix: Helo command rejected: need fully-qualified hostname no matter what I write in place of "marco": root, this complete address mfi...@ne..., whatever. More in detail: fetchmail: SMTP< 220 the.server.com ESMTP Postfix fetchmail: SMTP> EHLO localhost fetchmail: SMTP< 250-the.server.com fetchmail: SMTP< 250-PIPELINING fetchmail: SMTP< 250-SIZE 10240000 fetchmail: SMTP< 250-ETRN fetchmail: SMTP< 250-STARTTLS fetchmail: SMTP< 250-ENHANCEDSTATUSCODES fetchmail: SMTP< 250-8BITMIME fetchmail: SMTP< 250 DSN fetchmail: forwarding to localhost fetchmail: SMTP> MAIL FROM:<test_address> BODY=8BITMIME SIZE=1471 fetchmail: SMTP< 250 2.1.0 Ok fetchmail: SMTP> RCPT TO:<mfi...@ne...> fetchmail: SMTP< 504 5.5.2 <localhost>: Helo command rejected: need fully-qualified hostname Why does the rc file which works fine at home fail on the server? OK, if I understand correctly, the problem is that _postfix_ is configured differently, and it's not a fetchmail problem. However, I am not sure if I can (ask to) change the postfix configuration right now, so I'd be very grateful if somebody could let me know if there is any possibility to "patch" it by passing some other option to fetchmail. Alternatively, pointers to the specific postfix setting causing this are also welcome. Thank you in advance for any feedback, Marco ################################################## content of /usr/local/etc/Fetchmail/always: set logfile "/var/log/procmail_logs/log_fetch_mail" #set postmaster "root" set nobouncemail set properties "" #set daemon 60 set no syslog poll pop3.my_isp.com with proto POP3 tracepolls user mycustomer_login there with pass "thepassword" is marco here keep -- Help *everybody* love Free Standards and Software: http://digifreedom.net |